/third_party/libunwind/libunwind/src/ |
H A D | os-freebsd.c | 55 int mib[3], error; in get_pid_by_tid() local 62 mib[0] = CTL_KERN; in get_pid_by_tid() 63 mib[1] = KERN_PROC; in get_pid_by_tid() 64 mib[2] = KERN_PROC_ALL; in get_pid_by_tid() 66 error = sysctl(mib, 3, NULL, &len, NULL, 0); in get_pid_by_tid() 74 error = sysctl(mib, 3, buf, &len, NULL, 0); in get_pid_by_tid() 95 int mib[4], error, ret; in tdep_get_elf_image() local 101 mib[0] = CTL_KERN; in tdep_get_elf_image() 102 mib[1] = KERN_PROC; in tdep_get_elf_image() 103 mib[ in tdep_get_elf_image() 152 int mib[4], error; tdep_get_exe_image_path() local [all...] |
/third_party/libuv/src/unix/ |
H A D | openbsd.c | 62 int mib[4]; in uv_exepath() local 78 mib[0] = CTL_KERN; in uv_exepath() 79 mib[1] = KERN_PROC_ARGS; in uv_exepath() 80 mib[2] = mypid; in uv_exepath() 81 mib[3] = KERN_PROC_ARGV; in uv_exepath() 82 if (sysctl(mib, ARRAY_SIZE(mib), argsbuf, &argsbuf_size, NULL, 0) == 0) { in uv_exepath() 151 int mib[6]; in uv_resident_set_memory() local 153 mib[0] = CTL_KERN; in uv_resident_set_memory() 154 mib[ in uv_resident_set_memory() [all...] |
H A D | freebsd.c | 61 int mib[4]; in uv_exepath() local 67 mib[0] = CTL_KERN; in uv_exepath() 68 mib[1] = KERN_PROC; in uv_exepath() 69 mib[2] = KERN_PROC_PATHNAME; in uv_exepath() 70 mib[3] = -1; in uv_exepath() 73 if (sysctl(mib, ARRAY_SIZE(mib), abspath, &abspath_size, NULL, 0)) in uv_exepath() 141 int mib[4]; in uv_resident_set_memory() local 143 mib[0] = CTL_KERN; in uv_resident_set_memory() 144 mib[ in uv_resident_set_memory() [all...] |
H A D | netbsd.c | 73 int mib[4]; in uv_exepath() local 78 mib[0] = CTL_KERN; in uv_exepath() 79 mib[1] = KERN_PROC_ARGS; in uv_exepath() 80 mib[2] = -1; in uv_exepath() 81 mib[3] = KERN_PROC_PATHNAME; in uv_exepath() 84 if (sysctl(mib, 4, int_buf, &int_size, NULL, 0)) in uv_exepath()
|
/third_party/node/deps/uv/src/unix/ |
H A D | openbsd.c | 62 int mib[4]; in uv_exepath() local 78 mib[0] = CTL_KERN; in uv_exepath() 79 mib[1] = KERN_PROC_ARGS; in uv_exepath() 80 mib[2] = mypid; in uv_exepath() 81 mib[3] = KERN_PROC_ARGV; in uv_exepath() 82 if (sysctl(mib, ARRAY_SIZE(mib), argsbuf, &argsbuf_size, NULL, 0) == 0) { in uv_exepath() 146 int mib[6]; in uv_resident_set_memory() local 148 mib[0] = CTL_KERN; in uv_resident_set_memory() 149 mib[ in uv_resident_set_memory() [all...] |
H A D | freebsd.c | 61 int mib[4]; in uv_exepath() local 67 mib[0] = CTL_KERN; in uv_exepath() 68 mib[1] = KERN_PROC; in uv_exepath() 69 mib[2] = KERN_PROC_PATHNAME; in uv_exepath() 70 mib[3] = -1; in uv_exepath() 73 if (sysctl(mib, ARRAY_SIZE(mib), abspath, &abspath_size, NULL, 0)) in uv_exepath() 136 int mib[4]; in uv_resident_set_memory() local 138 mib[0] = CTL_KERN; in uv_resident_set_memory() 139 mib[ in uv_resident_set_memory() [all...] |
H A D | netbsd.c | 73 int mib[4]; in uv_exepath() local 78 mib[0] = CTL_KERN; in uv_exepath() 79 mib[1] = KERN_PROC_ARGS; in uv_exepath() 80 mib[2] = -1; in uv_exepath() 81 mib[3] = KERN_PROC_PATHNAME; in uv_exepath() 84 if (sysctl(mib, 4, int_buf, &int_size, NULL, 0)) in uv_exepath()
|
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_core.c | 108 * Most mib-2 objects are not writable except: 739 /* check if mib is located behind starting point */ in snmp_get_next_mib() 774 const struct snmp_mib *mib; in snmp_get_node_instance_from_oid() local 777 mib = snmp_get_mib_from_oid(oid, oid_len); in snmp_get_node_instance_from_oid() 778 if (mib != NULL) { in snmp_get_node_instance_from_oid() 781 mn = snmp_mib_tree_resolve_exact(mib, oid, oid_len, &oid_instance_len); in snmp_get_node_instance_from_oid() 813 const struct snmp_mib *mib; in snmp_get_next_node_instance_from_oid() local 819 mib = snmp_get_mib_from_oid(oid, oid_len); in snmp_get_next_node_instance_from_oid() 820 if (mib == NULL) { in snmp_get_next_node_instance_from_oid() 822 mib in snmp_get_next_node_instance_from_oid() 983 snmp_mib_tree_resolve_exact(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, u8_t *oid_instance_len) snmp_mib_tree_resolve_exact() argument 1017 snmp_mib_tree_resolve_next(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, struct snmp_obj_id *oidret) snmp_mib_tree_resolve_next() argument [all...] |
/third_party/mesa3d/src/util/ |
H A D | os_misc.c | 237 int mib[2]; in os_get_total_physical_memory() 239 mib[0] = CTL_HW; in os_get_total_physical_memory() 241 mib[1] = HW_MEMSIZE; in os_get_total_physical_memory() 243 mib[1] = HW_PHYSMEM64; in os_get_total_physical_memory() 245 mib[1] = HW_REALMEM; in os_get_total_physical_memory() 247 mib[1] = HW_PHYSMEM; in os_get_total_physical_memory() 252 return (sysctl(mib, 2, size, &len, NULL, 0) == 0); in os_get_total_physical_memory() 303 int mib[] = { CTL_HW, HW_USERMEM64 }; in os_get_available_system_memory() 305 int mib[] = { CTL_HW, HW_USERMEM }; in os_get_available_system_memory() 311 if (sysctl(mib, in os_get_available_system_memory() [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | ia64cpuid.S | 20 { .mib; br.ret.sptk.many b0 };; 26 { .mib; mov r8=ar.itc 44 { .mib; cmp.ne p6,p0=r2,r3 47 { .mib; nop.m 0 67 { .mib; alloc r2=ar.pfs,0,96,0,96 137 { .mib; mov r8=sp 145 { .mib; cmp.eq p6,p0=0,r33 // len==0 148 { .mib; and r2=7,r32 153 { .mib; st1 [r32]=r0,1 160 { .mib; cm [all...] |
/third_party/openssl/crypto/ |
H A D | ia64cpuid.S | 20 { .mib; br.ret.sptk.many b0 };; 26 { .mib; mov r8=ar.itc 44 { .mib; cmp.ne p6,p0=r2,r3 47 { .mib; nop.m 0 67 { .mib; alloc r2=ar.pfs,0,96,0,96 137 { .mib; mov r8=sp 145 { .mib; cmp.eq p6,p0=0,r33 // len==0 148 { .mib; and r2=7,r32 153 { .mib; st1 [r32]=r0,1 160 { .mib; cm [all...] |
/third_party/libunwind/libunwind/tests/ |
H A D | crasher.c | 50 int mib[4], error; in write_maps() local 58 mib[0] = CTL_KERN; in write_maps() 59 mib[1] = KERN_PROC; in write_maps() 60 mib[2] = KERN_PROC_VMMAP; in write_maps() 61 mib[3] = getpid(); in write_maps() 62 error = sysctl(mib, 4, NULL, &len, NULL, 0); in write_maps() 69 error = sysctl(mib, 4, buf, &len, NULL, 0); in write_maps()
|
H A D | ia64-dyn-asm.S | 4 {.mib; add r8 = 1, r32 30 {.mib; nop 0 43 {.mib; st8 [sp] = in0 // trash rp save location 65 {.mib; mov r16 = r2 78 {.mib; mov r8 = 10 92 {.mib; nop 0
|
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | sha512-ia64.pl | 160 { .mib; add r8=0*$SZ,ctx 162 { .mib; add r10=2*$SZ,ctx 207 { .mib; mov r8=0 239 { .mib; mov r8=0 273 { .mib; shrp X[ 0]=X[ 0],T1,56 } 274 { .mib; mov r8=0 307 { .mib; mov r8=0 337 { .mib; shrp X[ 0]=X[ 0],T1,40 } 338 { .mib; mov r8=0 367 { .mib; mo [all...] |
H A D | sha1-ia64.pl | 131 { .mib; add $e=$e,$K_00_19 // e+=K_00_19 133 { .mib; andcm tmp1=$d,$b 162 { .mib; add $e=$e,$Konst // e+=K_XX_XX 164 { .mib; xor tmp0=$c,$b 166 { .mib; add $e=$e,$X[$i%16] // e+=Xupdate 168 { .mib; xor tmp0=tmp0,$d // F_20_39(b,c,d)=b^c^d 183 { .mib; add $e=$e,$Konst // e+=K_60_79 185 { .mib; xor tmp0=$c,$b 187 { .mib; add $e=$e,$X[$i%16] // e+=Xupdate 189 { .mib; xo [all...] |
/third_party/openssl/crypto/sha/asm/ |
H A D | sha512-ia64.pl | 160 { .mib; add r8=0*$SZ,ctx 162 { .mib; add r10=2*$SZ,ctx 207 { .mib; mov r8=0 239 { .mib; mov r8=0 273 { .mib; shrp X[ 0]=X[ 0],T1,56 } 274 { .mib; mov r8=0 307 { .mib; mov r8=0 337 { .mib; shrp X[ 0]=X[ 0],T1,40 } 338 { .mib; mov r8=0 367 { .mib; mo [all...] |
H A D | sha1-ia64.pl | 131 { .mib; add $e=$e,$K_00_19 // e+=K_00_19 133 { .mib; andcm tmp1=$d,$b 162 { .mib; add $e=$e,$Konst // e+=K_XX_XX 164 { .mib; xor tmp0=$c,$b 166 { .mib; add $e=$e,$X[$i%16] // e+=Xupdate 168 { .mib; xor tmp0=tmp0,$d // F_20_39(b,c,d)=b^c^d 183 { .mib; add $e=$e,$Konst // e+=K_60_79 185 { .mib; xor tmp0=$c,$b 187 { .mib; add $e=$e,$X[$i%16] // e+=Xupdate 189 { .mib; xo [all...] |
/third_party/ltp/testcases/open_posix_testsuite/include/ |
H A D | ncpu.h | 44 int mib[2]; in get_ncpu() local 46 mib[0] = CTL_HW; in get_ncpu() 47 mib[1] = HW_NCPU; in get_ncpu() 48 sysctl(mib, 2, &ncpu, &len, NULL, 0); in get_ncpu()
|
/third_party/node/deps/v8/src/base/ |
H A D | sys-info.cc | 41 int mib[2] = {CTL_HW, HW_NCPU}; in NumberOfProcessors() local 44 if (sysctl(mib, arraysize(mib), &ncpu, &len, nullptr, 0) != 0) { in NumberOfProcessors() 67 int mib[2] = {CTL_HW, HW_MEMSIZE}; in AmountOfPhysicalMemory() local 70 if (sysctl(mib, arraysize(mib), &memsize, &len, nullptr, 0) != 0) { in AmountOfPhysicalMemory()
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_cpu.c | 114 int mib[] = { CTL_KERN, KERN_CP_TIME }; in get_cpu_stats() local 116 if (sysctl(mib, ARRAY_SIZE(mib), cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 119 int mib[] = { CTL_KERN, KERN_CPTIME }; in get_cpu_stats() 123 if (sysctl(mib, ARRAY_SIZE(mib), sum_cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 134 int mib[] = { CTL_KERN, KERN_CP_TIME, cpu_index }; in get_cpu_stats() local 137 if (sysctl(mib, ARRAY_SIZE(mib), cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 140 int mib[] in get_cpu_stats() [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-freebsd.cc | 52 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, getpid()}; in GetSharedLibraryAddresses() local 53 size_t miblen = sizeof(mib) / sizeof(mib[0]); in GetSharedLibraryAddresses() 55 if (sysctl(mib, miblen, nullptr, &buffer_size, nullptr, 0) == 0) { in GetSharedLibraryAddresses() 61 int ret = sysctl(mib, miblen, buffer.data(), &buffer_size, nullptr, 0); in GetSharedLibraryAddresses()
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.c | 248 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; in pa_get_binary_name() local 250 if (sysctl(mib, 4, &path, &len, NULL, 0) == 0) { in pa_get_binary_name() 291 int mib[] = { CTL_KERN, KERN_PROCARGS, getpid(), 0 }; in pa_get_binary_name() local 292 size_t len, nmib = (sizeof(mib) / sizeof(mib[0])) - 1; in pa_get_binary_name() 295 sysctl(mib, nmib, NULL, &len, NULL, 0); in pa_get_binary_name() 298 if (sysctl(mib, nmib, buf, &len, NULL, 0) == 0) { in pa_get_binary_name()
|
/third_party/gn/src/util/ |
H A D | exe_path.cc | 63 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1}; in GetExePath() local 66 if (sysctl(mib, 4, buf, &buf_size, nullptr, 0) == -1) { in GetExePath() 75 int mib[] = {CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_PATHNAME}; in GetExePath() local 78 if (sysctl(mib, 4, buf, &buf_size, nullptr, 0) == -1) { in GetExePath()
|
/third_party/lzma/CPP/Windows/ |
H A D | System.cpp | 194 int mib[2] = { CTL_HW, HW_MEMSIZE };
in GetRamSize() local 197 int mib[2] = { CTL_HW, HW_PHYSMEM64 };
in GetRamSize() local 200 int mib[2] = { CTL_HW, HW_PHYSMEM };
in GetRamSize() local 204 sysctl(mib, 2, &val, &size_sys, NULL, 0);
in GetRamSize()
|
/third_party/googletest/googletest/src/ |
H A D | gtest-port.cc | 154 int mib[] = { 164 u_int miblen = sizeof(mib) / sizeof(mib[0]); 167 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { 177 int mib[] = { 185 u_int miblen = sizeof(mib) / sizeof(mib[0]); 189 if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { 193 mib[5] = static_cast<int>(size / static_cast<size_t>(mib[ [all...] |