type os/user._Ctype_int
26 uses
os/user (current package)
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L34: type _Ctype_int int32
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L113: func _Cfunc_mygetgrgid_r(p0 _Ctype_int, p1 *_Ctype_struct_group, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_group) (r1 _Ctype_int) {
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L130: func _Cfunc_mygetgrnam_r(p0 *_Ctype_char, p1 *_Ctype_struct_group, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_group) (r1 _Ctype_int) {
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L147: func _Cfunc_mygetgrouplist(p0 *_Ctype_char, p1 _Ctype_gid_t, p2 *_Ctype_gid_t, p3 *_Ctype_int) (r1 _Ctype_int) {
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L163: func _Cfunc_mygetpwnam_r(p0 *_Ctype_char, p1 *_Ctype_struct_passwd, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_passwd) (r1 _Ctype_int) {
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L180: func _Cfunc_mygetpwuid_r(p0 _Ctype_int, p1 *_Ctype_struct_passwd, p2 *_Ctype_char, p3 _Ctype_size_t, p4 **_Ctype_struct_passwd) (r1 _Ctype_int) {
f944835971175ae02f5a15dd71fd940ec4b08d0430844caacc17edcfd010b48b-d#L211: func _Cfunc_sysconf(p0 _Ctype_int) (r1 _Ctype_long) {
cgo_lookup_unix.go#L69: return syscall.Errno(func() _Ctype_int{ var _cgo0 *_Ctype_char = /*line :66:39*/(*_Ctype_char)(unsafe.Pointer(&nameC[0])); _cgoBase1 := /*line :67:4*/&pwd; _cgo1 := _cgoBase1; var _cgo2 *_Ctype_char = /*line :68:4*/(*_Ctype_char)(buf.ptr); var _cgo3 _Ctype_size_t = _Ctype_size_t(buf.size); _cgoBase4 := /*line :70:4*/&result; _cgo4 := _cgoBase4; _cgoCheckPointer(_cgoBase1, 0 == 0); _cgoCheckPointer(_cgoBase4, 0 == 0); return _Cfunc_mygetpwnam_r(_cgo0, _cgo1, _cgo2, _cgo3, _cgo4); }())
cgo_lookup_unix.go#L98: return syscall.Errno(func() _Ctype_int{ var _cgo0 _Ctype_int = _Ctype_int(uid); _cgoBase1 := /*line :100:4*/&pwd; _cgo1 := _cgoBase1; var _cgo2 *_Ctype_char = /*line :101:4*/(*_Ctype_char)(buf.ptr); var _cgo3 _Ctype_size_t = _Ctype_size_t(buf.size); _cgoBase4 := /*line :103:4*/&result; _cgo4 := _cgoBase4; _cgoCheckPointer(_cgoBase1, 0 == 0); _cgoCheckPointer(_cgoBase4, 0 == 0); return _Cfunc_mygetpwuid_r(_cgo0, _cgo1, _cgo2, _cgo3, _cgo4); }())
cgo_lookup_unix.go#L137: return syscall.Errno(func() _Ctype_int{ var _cgo0 *_Ctype_char = /*line :142:39*/(*_Ctype_char)(unsafe.Pointer(&cname[0])); _cgoBase1 := /*line :143:4*/&grp; _cgo1 := _cgoBase1; var _cgo2 *_Ctype_char = /*line :144:4*/(*_Ctype_char)(buf.ptr); var _cgo3 _Ctype_size_t = _Ctype_size_t(buf.size); _cgoBase4 := /*line :146:4*/&result; _cgo4 := _cgoBase4; _cgoCheckPointer(_cgoBase1, 0 == 0); _cgoCheckPointer(_cgoBase4, 0 == 0); return _Cfunc_mygetgrnam_r(_cgo0, _cgo1, _cgo2, _cgo3, _cgo4); }())
cgo_lookup_unix.go#L166: return syscall.Errno(func() _Ctype_int{ var _cgo0 _Ctype_int = _Ctype_int(gid); _cgoBase1 := /*line :176:4*/&grp; _cgo1 := _cgoBase1; var _cgo2 *_Ctype_char = /*line :177:4*/(*_Ctype_char)(buf.ptr); var _cgo3 _Ctype_size_t = _Ctype_size_t(buf.size); _cgoBase4 := /*line :179:4*/&result; _cgo4 := _cgoBase4; _cgoCheckPointer(_cgoBase1, 0 == 0); _cgoCheckPointer(_cgoBase4, 0 == 0); return _Cfunc_mygetgrgid_r(_cgo0, _cgo1, _cgo2, _cgo3, _cgo4); }())
cgo_lookup_unix.go#L185: type bufferKind /*line :198:17*/_Ctype_int /*line :198:22*/
cgo_lookup_unix.go#L193: sz := ( /*line :206:8*/_Cfunc_sysconf /*line :206:16*/)( /*line :206:18*/_Ctype_int /*line :206:23*/(k))
getgrouplist_darwin.go#L36: func getGroupList(name * /*line :33:25*/_Ctype_char /*line :33:31*/, userGID /*line :33:41*/_Ctype_gid_t /*line :33:48*/, gids * /*line :33:56*/_Ctype_gid_t /*line :33:63*/, n * /*line :33:68*/_Ctype_int /*line :33:73*/) /*line :33:75*/_Ctype_int /*line :33:80*/ {
getgrouplist_darwin.go#L42: func groupRetry(username string, name []byte, userGID /*line :39:55*/_Ctype_gid_t /*line :39:62*/, gids *[] /*line :39:72*/_Ctype_gid_t /*line :39:79*/, n * /*line :39:84*/_Ctype_int /*line :39:89*/) error {
getgrouplist_darwin.go#L43: *n = /*line :40:7*/_Ctype_int /*line :40:12*/(256 * 2)
getgrouplist_darwin.go#L54: *n = *n * /*line :51:13*/_Ctype_int /*line :51:18*/(2)
listgroups_unix.go#L36: n := /*line :33:7*/_Ctype_int /*line :33:12*/(256)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |