Searched refs:item (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/libkern/kxld/tests/ |
H A D | kxld_array_test.c | 46 u_int *item = 0; local 65 kxld_log(0, 0, "%d: Get item", ++test_num); 67 item = kxld_array_get_item(&array, idx); 68 assert(item); 69 assert(item == kxld_array_get_slot(&array, idx)); 72 item = kxld_array_get_item(&array, idx); 73 assert(item); 74 assert(item == kxld_array_get_slot(&array, idx)); 77 item = kxld_array_get_item(&array, idx); 78 assert(!item); [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOPMPowerSourceList.cpp | 110 // Find the item in the list, unlink it, and free it. 115 IOPMPowerSource * item = firstItem; local 118 if ( NULL == item) goto exit; 120 if ( item == theItem ) { 121 firstItem = item->nextInList; 123 item->release(); 126 while ( item->nextInList != NULL ) { 127 if ( item->nextInList == theItem ) { 128 temp = item->nextInList; 129 item [all...] |
H A D | IOPMinformeeList.cpp | 135 // Find the item in the list, unlink it, and free it. 140 IOPMinformee * item = firstItem; local 144 if ( NULL == item ) 151 if ( item->whatObject == theItem ) 153 firstItem = item->nextInList; 155 item->release(); 159 while ( item->nextInList != NULL ) 161 if ( item->nextInList->whatObject == theItem ) 163 temp = item->nextInList; 164 item [all...] |
H A D | IOServicePM.cpp | 845 IOPMinformee * item; local 848 while ((item = list->firstInList())) 850 list->removeFromList(item->whatObject); 1396 IOPMinformee * item; local 1416 item = list->findItem(driver); 1417 if (item && item->active) 1419 item->active = false;
|
/darwin-on-arm/xnu/osfmk/console/panic_ui/ |
H A D | setupdialog.c | 217 int row, col, item, line=0, currWidth; local 238 for( item=0; item<17; item++) 239 pixmap[item] = (int *) malloc( 2*width[item]*height*sizeof(int) ); 247 for( item=0; item < numbers; item++) { 250 for( col=0; col < width[item]; co [all...] |
/darwin-on-arm/xnu/security/ |
H A D | mac_alloc.h | 65 void mac_zone_change (zone_t zone, unsigned int item, boolean_t value);
|
H A D | mac_alloc.c | 139 mac_zone_change(zone_t zone, unsigned int item, boolean_t value) argument 142 zone_change(zone, item, value);
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_array.c | 301 void *item = NULL; local 309 item = (void *) (pool->buffer + (array->itemsize * idx)); 317 return item; 326 void *item = NULL; local 334 item = (void *) (pool->buffer + (array->itemsize * idx)); 342 return item; 348 kxld_array_get_index(const KXLDArray *array, const void *item, u_int *_idx) argument 358 check(item); 361 it = item; 457 /* We only support removing an item i [all...] |
H A D | kxld_array.h | 128 /* Returns the item at the specified index, or NULL if idx > nitems */ 132 /* Returns the item at the specified index, or NULL if idx > maxitems */ 136 /* Returns the index of a specified item in the array */ 137 kern_return_t kxld_array_get_index(const KXLDArray *array, const void *item,
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | zalloc.h | 254 unsigned int item,
|
H A D | zalloc.c | 2275 unsigned int item, 2281 switch(item){ 2273 zone_change( zone_t zone, unsigned int item, boolean_t value) argument
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 612 ddi_soft_state_zalloc(void *state, int item) argument 615 if (item < NSOFT_STATES) 622 ddi_get_soft_state(void *state, int item) argument 625 ASSERT(item < NSOFT_STATES); 626 return soft[item]; 630 ddi_soft_state_free(void *state, int item) argument 632 ASSERT(item < NSOFT_STATES); 633 bzero( soft[item], (size_t)state );
|
Completed in 155 milliseconds