/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | reproto.sh | 50 \$idx = 0; 53 \$text[\$idx - 1] .= ';'; 54 for (\$i = 0; \$i < \$idx; \$i++) { 61 \$text[\$idx++] = \$_;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_flow.c | 114 int idx; local 115 for (idx = 0; idx < 32; idx += IPFLOW_HASHBITS) 116 hash += (dst.s_addr >> (32 - idx)) + (src.s_addr >> idx); 249 int idx; 251 for (idx = 0; idx < IPFLOW_HASHSIZE; idx 248 int idx; local 291 int idx; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/ |
H A D | MMtest.c | 292 int idx; local 310 for (idx = 0; idx < totalmsg; idx++) { 312 printf("server awaiting message %d\n", idx); 328 printf("server received message %d\n", idx); 337 printf("server sending reply %d\n", idx); 387 int idx; local 408 for (idx = 0; idx < num_msg [all...] |
H A D | MPMMtest.c | 341 int idx; local 350 for (idx = 0; idx < totalmsg; idx++) { 352 printf("server awaiting message %d\n", idx); 372 printf("server received message %d\n", idx); 381 printf("server sending reply %d\n", idx); 485 int idx; local 524 for (idx = 0; idx < num_msg [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | aurp_zi.c | 368 int i, j, idx, nets_cnt; local 469 if ((idx = zt_ent_zindex(entry->ZoneBitMap)) == 0) 471 idx--; /* index in the zone table */ 472 zname_len = ZT_table[idx].Zone.len; 477 if (idx == idx_sav) { 488 bcopy(ZT_table[idx].Zone.str, buf, zname_len); 493 idx_sav = idx; 506 idx = i*8 + j; /* index in the zone table */ 507 zname_len = ZT_table[idx].Zone.len; 518 if (idx [all...] |
H A D | ddp_rtmptable.c | 938 static int idx=0; local 945 idx=0; 947 for (i=idx; i<ZT_maxentry; i++) { 952 idx = i+1; 972 static int idx=0; local 978 idx=0; 980 for (i=idx; i<RT_maxentry; i++) { 985 idx = i+1;
|
H A D | adsp_Packet.c | 392 byte idx; /* Index into state tables */ member in struct:__anon241 418 m->t = &tbl[sp->openState - O_STATE_LISTEN + m->idx]; 590 m.idx = ((f->descriptor & ADSP_CONTROL_MASK) - 1) * 4;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOHibernateRestoreKernel.c | 275 uint32_t idx = 0; local 277 while (idx < len) 279 d[idx] = s[idx]; 280 idx++; 291 uint32_t idx; local 479 for (idx = 0; idx < ((compressedSize + 3) >> 2); idx++) 480 dst[idx] [all...] |
H A D | IOCatalogue.cpp | 571 for (SInt32 idx = OSReadBigInt32(prelink, 8); idx < lastDep; idx += sizeof(UInt32)) 573 UInt32 depIdx = OSReadBigInt32(prelink, idx) - 1; 611 for (SInt32 idx = OSReadBigInt32(prelink, 8); idx < lastDep; idx += sizeof(UInt32)) 616 depDict = (OSDictionary *) prelinkedModules->getObject(OSReadBigInt32(prelink, idx) - 1); 648 UInt32 idx; local 653 for (idx 766 UInt32 idx; local [all...] |
H A D | IOHibernateIO.cpp | 378 int32_t idx; local 381 for (idx = vars->pollers->getCount() - 1; idx >= 0; idx--) 383 poller = (IOPolledInterface *) vars->pollers->getObject(idx); 387 HIBLOG("IOPolledInterface::probe[%d] 0x%x\n", idx, err); 399 int32_t idx; local 402 for (idx = vars->pollers->getCount() - 1; idx >= 0; idx 420 int32_t idx; local 474 int32_t idx = 0; local 510 int32_t idx; local [all...] |
H A D | IOCPU.cpp | 108 unsigned int idx; 110 for (idx = 0; idx < kNumQuiesceActions; idx++) 111 iocpu_add_platform_action(quiesce_queue, &quiesce_actions[idx]);
|
H A D | IOUserClient.cpp | 834 for (unsigned int idx = 0; 835 (user = OSDynamicCast(OSDictionary, array->getObject(idx))); 836 idx++) { 1102 unsigned int idx; local 1107 for (idx = 0; idx < kOSAsyncRef64Count; idx++) 1108 reference64[idx] = REF64(reference[idx]); 1110 for (idx 1173 unsigned int idx; local [all...] |
H A D | IODMACommand.cpp | 366 for (IOItemCount idx = 0; idx < numPages; idx++) 367 gIOCopyMapper->iovmInsert(atop_64(remapAddr), idx, atop_64(address) + idx); local
|
H A D | IOService.cpp | 1930 unsigned int idx; local 2014 for( idx = 0; 2015 (!doPhase3) && (client = (IOService *) gIOStopList->getObject(idx)); ) { 2017 provider = (IOService *) gIOStopProviderList->getObject(idx); 2027 idx++; 2043 gIOStopList->removeObject( idx ); 2044 gIOStopProviderList->removeObject( idx ); 2045 idx = 0; 3573 for( unsigned int idx = 0; 3574 (notify = (_IOServiceNotifier *) willSend->getObject(idx)); 4574 unsigned int idx; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/device/ |
H A D | iokit_rpc.c | 546 unsigned int idx; local 549 for (idx = 0; idx < pmap_mem_regions_count; idx++) 551 lastPage = pmap_mem_regions[idx].mrEnd; 553 for (idx = 0; idx < pmap_memory_region_count; idx++) 555 lastPage = pmap_memory_regions[idx].end - 1;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | vmachmon.c | 137 uint32_t idx; local 169 for (idx = 0; idx < pages; idx++) { 172 ret = kmem_alloc_wired(kernel_map, &ext->vmxHashPgList[idx], PAGE_SIZE); 175 bzero((char *)ext->vmxHashPgList[idx], PAGE_SIZE); /* Zero the page */ 176 ext->vmxHashPgIdx[idx] = ptoa_64(pmap_find_phys(kernel_pmap, (addr64_t)ext->vmxHashPgList[idx])); 178 if (!ext->vmxHashPgIdx[idx]) { /* Hash-table page's LRA failed */ 179 panic("vmm_build_shadow_hash: could not translate hash-table vaddr %08X\n", ext->vmxHashPgList[idx]); 209 uint32_t idx; local [all...] |
H A D | mappings.c | 251 unsigned int idx; local 252 phys_entry_t *physent = mapping_phys_lookup(pgaddr, &idx);
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_base.c | 585 u_int idx, mle_free, mll_free; local 608 for (idx = 0; idx < mpc->mpc_labelname_count; idx++) 609 MALLOC(new_mles[idx], struct mac_label_element *, 616 for (idx = 0; idx < mpc->mpc_labelname_count; idx++) 617 MALLOC(new_mlls[idx], struct mac_label_listener *, 623 for (idx [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ipcomp_core.c | 100 int idx 102 __unused int idx 107 if (idx == SADB_X_CALG_DEFLATE) {
|
H A D | esp_core.c | 185 esp_algorithm_lookup(idx) 186 int idx; 189 switch (idx) { 212 int idx; local 216 for (idx = 0; idx < sizeof(esp_algorithms)/sizeof(esp_algorithms[0]); 217 idx++) { 218 if (esp_algorithms[idx]->ivlenval > ivlen) 219 ivlen = esp_algorithms[idx]->ivlenval;
|
H A D | in6.c | 320 in6_ifindex2scopeid(idx) 321 int idx; 327 if (idx < 0 || if_index < idx) 331 ifp = ifindex2ifnet[idx];
|
H A D | ah_core.c | 133 ah_algorithm_lookup(idx) 134 int idx; 174 switch (idx) {
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | load.c | 529 unsigned long idx, ncmds; local 546 for (idx = 0; 547 idx < ncmds; 548 idx++, seg = (struct segment_command *)(((vm_offset_t)seg) + seg->cmdsize)) 553 if (idx >= ncmds) 597 for (idx = 0; idx < symcmd->nsyms; idx++, sym++) 639 unsigned long idx, ncmds; local 658 for (idx [all...] |
H A D | catalogue.cpp | 1548 for( unsigned int idx = 0; 1549 (propertyDict = OSDynamicCast(OSDictionary, gIOPrelinkedModules->getObject(idx))); 1550 idx++)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/ |
H A D | key.c | 366 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, idx) \ 368 bzero((idx), sizeof(struct secpolicyindex)); \ 369 (idx)->dir = (_dir); \ 370 (idx)->prefs = (ps); \ 371 (idx)->prefd = (pd); \ 372 (idx)->ul_proto = (ulp); \ 373 bcopy((s), &(idx)->src, ((struct sockaddr *)(s))->sa_len); \ 374 bcopy((d), &(idx)->dst, ((struct sockaddr *)(d))->sa_len); \ 381 #define KEY_SETSECASIDX(p, m, r, s, d, idx) \ 383 bzero((idx), sizeo 1894 int idx; local [all...] |