Searched refs:index (Results 26 - 50 of 139) sorted by relevance

123456

/xnu-2422.115.4/bsd/hfs/hfscommon/BTree/
H A DBTreeMiscOps.c326 u_int16_t leftIndex, index, rightIndex; local
332 // assume index points to u_int16_t
371 foundIt = SearchNode (btreePtr, middle->buffer, &iterator->key, &index);
379 if (index == 0)
414 index = leftIndex;
427 PanicIf (index != 0, "FindIteratorPosition: index != 0"); //�� just checking...
435 index = leftIndex;
440 else if (index >= ((NodeDescPtr) middle->buffer)->numRecords)
468 index
586 u_int16_t index; local
[all...]
/xnu-2422.115.4/osfmk/ipc/
H A Dipc_entry.h93 * The first entry in the table (index 0) is always free.
104 } index; member in struct:ipc_entry
107 #define ie_request index.request
108 #define ie_next index.next
H A Dmach_debug.c181 mach_port_index_t index; local
235 for (index = 0; index < tsize; index++) {
236 ipc_info_name_t *iin = &table_info[index];
237 ipc_entry_t entry = &table[index];
241 iin->iin_name = MACH_PORT_MAKE(index, IE_BITS_GEN(bits));
343 ipc_port_request_index_t index; local
347 for (index = 1, used = 0;
348 index < tota
[all...]
/xnu-2422.115.4/bsd/hfs/hfscommon/headers/
H A DBTreesPrivate.h72 sized index keys.
258 u_int16_t index; member in struct:__anon98
345 u_int16_t *index,
422 u_int16_t index,
428 u_int16_t index,
436 u_int16_t index );
442 u_int16_t *index );
446 u_int16_t index,
453 u_int16_t index );
455 #define GetRecordAddress(btreePtr,node,index) ((u_int8_
[all...]
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dgetaddrinfo_host.c197 int i, index, err; local
206 index = HOSTNAME_LEN * (random() % host_range);
208 err = getaddrinfo( &hostname_list[index], NULL, NULL, &addi);
211 debug("%s: error: %s", &hostname_list[index], gai_strerror(err));
215 debug("host %s done", &hostname_list[index]);
H A Dmbr_check_membership.c191 int i, index, gindex, err, isMember=0; local
205 index = random() % (uid_range+1);
207 err = mbr_check_membership(u_uuid_list[index], g_uuid_list[gindex], &isMember);
210 //mbr_uuid_to_id(u_uuid_list[index], &uid, &id_type);
/xnu-2422.115.4/osfmk/console/panic_ui/
H A Dqtif2kraw.c332 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth ) argument
343 if ( (*index+*depth) > max )
350 nextP = (union RunData *) &data[*index];
387 if ( (*index+6) <= max )
391 nextP = (union RunData *) &data[*index+3];
407 if (debug>2) printf("Found 4 at %x\n", *index);
410 *index += 3;
414 nextP = (union RunData *) &data[*index+2];
428 if (debug>2) printf("Found 3 at %x\n", *index);
431 *index
831 unsigned char index; local
862 unsigned int * new_clut, index, i; local
[all...]
H A Dgenimage.c720 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth ) argument
722 unsigned int i = *index;
732 if ( (*index+*depth) > max )
739 nextP = (union RunData *) &data[*index];
776 if ( (*index+6) <= max )
780 nextP = (union RunData *) &data[*index+3];
796 if (debug>2) printf("Found 4 at %x\n", *index);
799 *index += 3;
803 nextP = (union RunData *) &data[*index+2];
817 if (debug>2) printf("Found 3 at %x\n", *index);
1307 unsigned char index; local
1341 unsigned char index; local
1375 unsigned char index; local
1408 unsigned int * new_clut, index, i; local
1423 unsigned int * new_clut, index, i; local
[all...]
/xnu-2422.115.4/osfmk/console/
H A Dvideo_console.c490 uint32_t index = (yy * gc_buffer_columns) + xx; local
491 unsigned char attribute = gc_buffer_attributes[index];
492 unsigned char character = gc_buffer_characters[index];
493 unsigned char colorcode = gc_buffer_colorcodes[index];
532 uint32_t index = (yy * gc_buffer_columns) + xx; local
534 gc_buffer_attributes[index] = attrs;
535 gc_buffer_characters[index] = ch;
536 gc_buffer_colorcodes[index] = gc_color_code;
1042 uint32_t index, jump; local
1048 index
1151 uint32_t index, jump; local
1256 uint32_t index = (yy * gc_buffer_columns) + xx; local
2363 unsigned int index; local
2807 long index; local
[all...]
/xnu-2422.115.4/osfmk/vm/
H A Ddefault_freezer.c110 uint32_t index; local
118 if (table->index >= MAX_FREEZE_TABLE_ENTRIES) {
129 index = (table)->index++;
130 entry = &(table)->entry[index];
150 uint32_t index = 0; local
159 if (index >= table->index) {
162 index = 0;
170 entry = &table->entry[index];
306 uint32_t index = 0; local
427 uint32_t index = 0; local
[all...]
/xnu-2422.115.4/libkern/c++/
H A DOSString.cpp181 bool OSString::setChar(char aChar, unsigned int index) argument
183 if ( !(flags & kOSStringNoCopy) && index < length - 1) {
184 string[index] = aChar;
192 char OSString::getChar(unsigned int index) const
194 if (index < length)
195 return string[index];
H A DOSOrderedSet.cpp167 bool OSOrderedSet::setObject(unsigned int index, const OSMetaClassBase *anObject) argument
172 if ((index > count) || !anObject)
183 if (index != count) {
184 for (i = count; i > index; i--)
187 array[index].obj = anObject;
188 // array[index].pri = pri;
259 OSObject *OSOrderedSet::getObject( unsigned int index ) const
261 if (index >= count)
265 // *pri = array[index].pri;
267 return( const_cast<OSObject *>((const OSObject *) array[index]
342 unsigned int index = (*iteratorP)++; local
[all...]
/xnu-2422.115.4/osfmk/i386/
H A Dlock.h255 int index,
259 int index,
263 int index,
267 int index,
/xnu-2422.115.4/tools/tests/libMicro/
H A Dcascade_fcntl.c131 block(int index) argument
137 fl.l_start = index;
143 unblock(int index) argument
149 fl.l_start = index;
177 /* lock index asignment for us and them */
H A Dcascade_flock.c139 block(int index) argument
141 return (flock(files[index], LOCK_EX) == -1);
145 unblock(int index) argument
147 return (flock(files[index], LOCK_UN) == -1);
173 /* lock index asignment for us and them */
H A Dcascade_lockf.c134 block(int index) argument
136 return (lockf(files[index], F_LOCK, 0) == -1);
140 unblock(int index) argument
142 return (lockf(files[index], F_ULOCK, 0) == -1);
168 /* lock index asignment for us and them */
H A Dcascade_mutex.c138 block(int index) argument
140 return (pthread_mutex_lock(&locks[index]) == -1);
144 unblock(int index) argument
146 return (pthread_mutex_unlock(&locks[index]) == -1);
172 /* lock index asignment for us and them */
/xnu-2422.115.4/osfmk/kern/
H A Dsched_grrr.c664 grrr_group_index_t index; local
668 for (index = 0; index < NUM_GRRR_GROUPS; index++) {
674 if (grrr_group_mapping[prisearch] == index) {
675 runq->groups[index].minpriority = (grrr_proportional_priority_t)prisearch;
680 runq->groups[index].index = index;
682 queue_init(&runq->groups[index]
697 grrr_group_index_t index; local
[all...]
/xnu-2422.115.4/libkern/libkern/c++/
H A DOSString.h284 * Returns the character at a given index in the string object.
286 * @param index The index into the string.
289 * The character at <code>index</code> within the string,
290 * or <code>'\0'</code> if index is past the end of the string.
292 virtual char getChar(unsigned int index) const;
299 * Replaces a character at a given index in the string object.
302 * @param index The index into the string.
307 * or <code>index</cod
[all...]
H A DOSMetaClass.h1952 * @param index The numeric index of the vtable slot,
1974 #define OSMetaClassDeclareReservedUnused(className, index) \
1976 virtual void _RESERVED ## className ## index ()
1978 #define OSMetaClassDeclareReservedUnused(className, index)
1992 * @param index The numeric index of the vtable slot,
2002 #define OSMetaClassDeclareReservedUsed(className, index)
2014 * @param index The numeric index o
[all...]
H A DOSOrderedSet.h64 * <li>Get the object stored at a particular index.</li>
393 * It then inserts <code>anObject</code> at the index of the existing object.
395 * If there is no order function, the object is inserted at index 0.
413 * Adds an object to the OSOrderedSet at index 0
421 * (including if it was already in the ordered set at any index).
455 * (including if it was already in the ordered set at any index).
542 * Returns the object at index 0 in the ordered set if there is one.
545 * The object at index 0 in the ordered set if there is one,
605 * Adds an object to an OSOrderedSet at a specified index
608 * @param index Th
[all...]
/xnu-2422.115.4/iokit/IOKit/
H A DIORangeAllocator.h64 virtual bool allocElement( UInt32 index );
66 virtual void deallocElement( UInt32 index );
/xnu-2422.115.4/tools/
H A Dremote_build.sh27 index=0
65 ARGS[$index]="$arg"
66 REMOTEARGS[$index]="\"$arg\""
67 index=$(($index+1))
71 ARGS[$index]="REMOTEBUILD="
72 REMOTEARGS[$index]="\"REMOTEBUILD=\""
/xnu-2422.115.4/osfmk/mach/
H A Dport.h201 * comprised of two parts: a generation number and an index.
217 #define MACH_PORT_MAKE(index, gen) \
218 (((index) << 8) | (gen) >> 24)
224 #define MACH_PORT_MAKE(index, gen) (index)
/xnu-2422.115.4/bsd/vm/
H A Dvnode_pager.h82 int pf_index; /* index into the pager_file array */
105 unsigned int index:8; /* paging file this block is in */ member in struct:__anon47

Completed in 159 milliseconds

123456