/macosx-10.10/libpthread-105.1.4/src/ |
H A D | pthread.c | 78 extern int __sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, 921 pthread_setname_np(const char *name) argument 927 if (name != NULL) { 928 len = strlen(name); 932 res = __proc_info(5, getpid(), 2, (uint64_t)0, (void*)name, (int)len); 935 strlcpy(self->pthread_name, name, MAXTHREADNAMESIZE);
|
/macosx-10.10/kext_tools-384.1.4/ |
H A D | security.c | 447 archNameCString = archList[index]->name; 740 * subjectCN: the subject common name of the leaf certificate 741 * issuerCN: the issuer common name of the leaf certificate
|
/macosx-10.10/xnu-2782.1.97/osfmk/i386/ |
H A D | i386_lock.s | 52 #define LEAF_ENTRY(name) \ 53 Entry(name) 64 #define NONLEAF_ENTRY(name) \ 65 Entry(name); \
|
H A D | cpuid.c | 848 const char *name; member in struct:table 950 len = min(strlen(map[i].name), (size_t)((buf_len-1)-(p-buf))); 953 bcopy(map[i].name, p, len);
|
/macosx-10.10/xnu-2782.1.97/ |
H A D | Makefile | 67 $(_v)$(FIND) -x . \! \( \( -name BUILD -o -name .svn -o -name .git -o -name cscope.\* -o -name \*~ \) -prune \) -print0 | $(PAX) -rw -p a -d0 $(SRCROOT) 81 $(_v)$(FIND) -x . \! \( \( -name BUILD -o -name .svn -o -name .git -o -name cscope.\* -o -name \*~ \) [all...] |
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/ |
H A D | main.c | 166 sranddev( ); /* set up seed for our random name generator */ 483 printf( "target path plus our test directory name is too long: \n" ); 485 printf( "test directory name - \"%s\" \n", &my_name[0] ); 489 /* append generated directory name onto our path */ 531 /* skip past full path and just show the tool name */ 620 return arch->name;
|
H A D | tests.c | 662 /* now create a name for the link file */ 1151 /* get a test file name for the link */ 1863 /* get a unique name for our test file */ 2764 printf( "getlogin returned NULL name pointer \n" ); 2784 /* set new name */ 2787 printf( "When setting new login name, setlogin failed with error %d - \"%s\" \n", errno, strerror( errno) ); 2792 /* make sure we set new name */ 2795 printf( "getlogin returned NULL name pointer \n" ); 2801 printf( "setlogin failed to set the new name \n" ); 2806 /* reset to original name */ 4468 char name[ PATH_MAX ]; member in struct:packed_name_attr [all...] |
/macosx-10.10/xnu-2782.1.97/pexpert/pexpert/ |
H A D | pexpert.h | 240 const char * name );
|
/macosx-10.10/xnu-2782.1.97/osfmk/mach/ |
H A D | message.h | 120 * must be the name of a send right to a Mach voucher kernel object. 281 mach_port_t name; member in struct:__anon15469 612 * MACH_MSG_TYPE_PORT_NAME is used to transfer a port name 614 * are not transferred, just the port name.) 782 /* No room in IPC name space for another capability name. */ 828 /* Bogus name for receive port/port-set. */
|
/macosx-10.10/xnu-2782.1.97/osfmk/pmc/ |
H A D | pmc.c | 2205 kern_return_t pmc_find_by_name(const char *name, pmc_t **pmcs, size_t *pmcCount) { argument 2208 if(!name || !pmcs || !pmcCount) { 2217 size_t len = strlen(name); 2224 * If the pmc name is shorter than the requested match, it's no 2230 if(0 == strncmp(name, pmcName, len)) { 2279 * pmc_get_name returns a pointer (not copied) to the human-readable name of the 2288 const char *name = pmc->methods.get_name(pmc->object); local 2290 return name; 2899 kern_return_t pmc_find_by_name(const char *name __unused, pmc_t **pmcs __unused,
|
H A D | pmc.h | 218 * @abstract A pointer to a method that returns the registered name of the PMC. 219 * @discussion A pointer to a method that returns the registered name of the PMC. 226 * @result NULL on failure, or a pointer to the registered name of the pmc. 604 * @param name Partial string to search for. 608 kern_return_t pmc_find_by_name(const char *name, pmc_t **pmcs, size_t *pmcCount); 611 * @abstract Returns a pointer to the human-readable name of the given pmc. 613 * @param pmc The PMC whose name should be returned.
|
/macosx-10.10/xnu-2782.1.97/osfmk/kern/ |
H A D | task.c | 1140 * Drop a reference on a task name. 1915 mach_port_name_t name; local 1966 MACH_MSG_TYPE_MOVE_SEND, &name)) != KERN_SUCCESS) { 3419 * Return name of processor set that task is assigned to. 3788 * component. Just export them as functions of the same name.
|
H A D | thread.h | 324 mach_port_name_t receiver_name; /* the receive port name */ 421 * its name on its next 424 * recorded its name */ 956 extern kern_return_t thread_set_voucher_name(mach_port_name_t name);
|
H A D | zalloc.c | 189 * "zlog=<zone name to log> -zc". Search for "Zone corruption logging" later 810 const char* name; member in struct:fake_zone_info 819 .name = "kernel_stacks", 824 .name = "page_tables", 829 .name = "kalloc.large", 1015 * is the name of the zone you wish to log. 1019 * garbage collector. Note that the zone name printed in the panic message is not necessarily the one 1021 * is most likely the problem zone, so set zlog in boot-args to this zone name, reboot and re-run the test. The 1029 * that is being corrupted, then add "-zc zlog=<zone name>" to the boot-args. When -zc is used in conjunction 1038 #define MAX_ZONE_NAME 32 /* max length of a zone name w 1657 zinit( vm_size_t size, vm_size_t max, vm_size_t alloc, const char *name) argument [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/ipc/ |
H A D | ipc_kmsg.c | 152 mach_port_name_t name; member in struct:__anon15323 188 mach_port_name_t name); 283 const char *name = ipc_type_name64(type_name, TRUE); local 284 if (name) { 285 kprintf("%s", name); 390 const char *name; local 394 name = "PHYSICAL"; 397 name = "VIRTUAL"; 400 name = "OVERWRITE"; 403 name 2146 mach_port_name_t name; local 2396 mach_port_name_t name = names[i]; local 2787 mach_msg_type_name_t name; local 2830 mach_msg_type_name_t name; local 2930 mach_msg_type_name_t name; local 2990 mach_msg_type_name_t name; local 3438 mach_port_name_t name; local 4341 mach_port_t name = dsc->name; local [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/default_pager/ |
H A D | dp_backing_store.c | 602 alias_struct->name = &default_pager_ops; 1238 alias_struct->name = &default_pager_ops; 1290 alias_struct->name = &default_pager_ops;
|
/macosx-10.10/xnu-2782.1.97/osfmk/device/ |
H A D | iokit_rpc.c | 106 extern kern_return_t iokit_mod_send_right( task_t task, mach_port_name_t name, mach_port_delta_t delta ); 363 mach_port_name_t name = 0; local 378 MACH_MSG_TYPE_PORT_SEND, TRUE, &name); 381 name = MACH_PORT_NULL; 384 name = MACH_PORT_NULL; 386 name = MACH_PORT_DEAD; 390 return( name ); 394 iokit_mod_send_right( task_t task, mach_port_name_t name, mach_port_delta_t delta ) argument 396 return (mach_port_mod_refs( task->itk_space, name, MACH_PORT_RIGHT_SEND, delta ));
|
/macosx-10.10/xnu-2782.1.97/libsyscall/custom/ |
H A D | SYS.h | 72 #define UNIX_SYSCALL(name, nargs) \ 74 LEAF(_##name, 0) ;\ 75 movl $ SYS_##name, %eax ;\ 81 #define UNIX_SYSCALL_INT(name, nargs) \ 83 LEAF(_##name, 0) ;\ 84 movl $ SYS_##name, %eax ;\ 91 #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 92 movl $(SYS_##name | (__SYSCALL_32BIT_ARG_BYTES << I386_SYSCALL_ARG_BYTES_SHIFT)), %eax ;\ 98 #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 99 movl $ SYS_##name, [all...] |
/macosx-10.10/xnu-2782.1.97/libkern/c++/ |
H A D | OSKext.cpp | 269 * before OSKext is initialized; that call only needs the name 283 /* name */ kOSKextKernelIdentifier, // bundle identifier 2581 const char * name) 2606 name, getIdentifierCString()); 2669 const char * name, 2703 "Allocation failure extracting %s from mkext.", name); 2709 name, getIdentifierCString()); 2720 "Allocation failure extracting %s from mkext.", name); 2726 name, getIdentifierCString()); 2737 name, compressedSiz 2578 createMkext2FileEntry( OSData * mkextData, OSNumber * offsetNum, const char * name) argument 2667 extractMkext2FileData( UInt8 * data, const char * name, uint32_t compressedSize, uint32_t fullSize) argument 9125 OSString * name = OSDynamicCast(OSString, local [all...] |
/macosx-10.10/xnu-2782.1.97/libkern/kxld/ |
H A D | kxld_object.c | 76 const char *name; member in struct:kxld_object 204 const char *name, KXLDArray *section_order __unused, 213 check(name); 215 object->name = name; 1635 return object->name; 2024 kxld_object_add_symbol(KXLDObject *object, char *name, kxld_addr_t link_addr, argument 2030 rval = kxld_symtab_add_symbol(object->symtab, name, link_addr, &sym); 203 kxld_object_init_from_macho(KXLDObject *object, u_char *file, u_long size, const char *name, KXLDArray *section_order __unused, cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags __unused) argument
|
/macosx-10.10/xnu-2782.1.97/libkern/libkern/c++/ |
H A D | OSMetaClass.h | 156 * @param type The name of the desired class to be created, 184 * Returns the type ID (metaclass) of a class based on its name. 186 * @param type The name of the desired class, as a raw token, 231 * @param type The name of the desired class type, as a raw token, 783 * keeping track of inheritance relationships, class lookup by name, 871 /* className OSSymbol of the class' name. */ 917 * @param name The name of the desired class's metaclass. 922 static const OSMetaClass * getMetaClassWithName(const OSSymbol * name); 1261 * @param name Th [all...] |
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOCPU.cpp | 55 const char * name); 62 const char * name; member in struct:iocpu_platform_action_entry 176 ret = (*next->action)(next->refcon0, next->refcon1, pri, param1, param2, param3, next->name); 232 entry->name = service->getName();
|
H A D | IODeviceTreeSupport.cpp | 104 gIODTNameKey = OSSymbol::withCStringNoCopy( "name" ); 183 // make root name first compatible entry (purely cosmetic) 333 char *name; local 349 while( kSuccess == DTIterateProperties( dtIter, &name)) { 351 if( kSuccess != DTGetProperty( dtEntry, name, &prop, &propSize )) 355 nameKey = OSSymbol::withCString(name); 358 nameKey = OSSymbol::withCStringNoCopy(name); 385 } else if(noLocation && (!strncmp(name, "reg", sizeof("reg")))) { 426 static bool GetUInt32( IORegistryEntry * regEntry, const OSSymbol * name, argument 431 if( (data = OSDynamicCast( OSData, regEntry->getProperty( name ))) 821 IODTCompareNubName( const IORegistryEntry * regEntry, OSString * name, OSString ** matchingName ) argument [all...] |
H A D | IOLib.cpp | 1011 for( ; regValueArray->name; regValueArray++) { 1013 return(regValueArray->name); 1023 for( ; regValueArray->name; regValueArray++) { 1024 if(!strcmp(regValueArray->name, string)) {
|
H A D | IONVRAM.cpp | 151 // Construct the partition ID from the signature and name. 180 // Set the name for the Panic Info partition. 211 // Set the name for the free partition. 513 const OSSymbol **name, 518 err = readNVRAMPropertyType1(entry, name, value); 524 const OSSymbol *name, 529 err = writeNVRAMPropertyType1(entry, name, value); 652 // Break if there is no name. 655 // Find the length of the name. 662 // Break if the name goe 512 readNVRAMProperty(IORegistryEntry *entry, const OSSymbol **name, OSData **value) argument 523 writeNVRAMProperty(IORegistryEntry *entry, const OSSymbol *name, OSData *value) argument 1139 readNVRAMPropertyType0(IORegistryEntry *entry, const OSSymbol **name, OSData **value) argument 1147 writeNVRAMPropertyType0(IORegistryEntry *entry, const OSSymbol *name, OSData *value) argument 1249 readNVRAMPropertyType1(IORegistryEntry *entry, const OSSymbol **name, OSData **value) argument 1329 const char * name; local [all...] |