Searched refs:idx (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Dreproto.sh50 \$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 Dip_flow.c114 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 DMMtest.c292 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 DMPMMtest.c341 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 Daurp_zi.c368 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 Dddp_rtmptable.c938 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 Dadsp_Packet.c392 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 DIOHibernateRestoreKernel.c275 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 DIOCatalogue.cpp571 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 DIOHibernateIO.cpp378 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 DIOCPU.cpp108 unsigned int idx;
110 for (idx = 0; idx < kNumQuiesceActions; idx++)
111 iocpu_add_platform_action(quiesce_queue, &quiesce_actions[idx]);
H A DIOUserClient.cpp834 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 DIODMACommand.cpp366 for (IOItemCount idx = 0; idx < numPages; idx++)
367 gIOCopyMapper->iovmInsert(atop_64(remapAddr), idx, atop_64(address) + idx); local
H A DIOService.cpp1930 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 Diokit_rpc.c546 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 Dvmachmon.c137 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 Dmappings.c251 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 Dmac_base.c585 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 Dipcomp_core.c100 int idx
102 __unused int idx
107 if (idx == SADB_X_CALG_DEFLATE) {
H A Desp_core.c185 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 Din6.c320 in6_ifindex2scopeid(idx)
321 int idx;
327 if (idx < 0 || if_index < idx)
331 ifp = ifindex2ifnet[idx];
H A Dah_core.c133 ah_algorithm_lookup(idx)
134 int idx;
174 switch (idx) {
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dload.c529 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 Dcatalogue.cpp1548 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 Dkey.c366 #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...]

Completed in 164 milliseconds

12