/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/src/ |
H A D | prngpriv.h | 108 #define PCHECK(ptr) if(ptr==NULL) {return PRNG_ERR_NULL_POINTER;} 110 #define MCHECK(ptr) if(ptr==NULL) {return PRNG_ERR_LOW_MEMORY;}
|
H A D | smf.h | 94 SMFAPI void mmFreePtr(LPVOID ptr);
|
H A D | comp.c | 81 #define PCHECK(ptr) if(ptr==NULL) {return COMP_ERR_NULL_POINTER;}
|
/macosx-10.5.8/xnu-1228.15.4/libkern/i386/ |
H A D | OSAtomic.s | 30 #;* Boolean OSCompareAndSwap(SInt32 oldValue, SInt32 newValue, SInt32 *ptr) * 38 movl 12(%esp), %ecx #; ptr 46 #;* Boolean OSCompareAndSwap64(SInt64 oldValue, SInt64 newValue, SInt64 *ptr) * 59 movl 20+8(%esp), %edi #; ptr 70 #;* SInt64 OSAddAtomic64(SInt64 theAmount, SInt64 *ptr) * 78 movl 12+8(%esp), %edi #; ptr 79 movl 0(%edi), %eax #; load low 32-bits of *ptr 80 movl 4(%edi), %edx #; load high 32-bits of *ptr 83 movl %edx, %ecx #; ebx:ecx := *ptr 85 adcl 8+8(%esp), %ecx #; ebx:ecx := *ptr [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/ |
H A D | commpage.c | 41 * 3. Add a ptr to your new commpage_descriptor(s) in the "routines" 334 uint32_t *ptr, 346 word = *ptr; 351 *ptr = word; 354 ptr++; 397 uint32_t *ptr, search_mask, search, replace_mask, replace; local 400 ptr = commpage_addr_of(address); 407 commpage_change(ptr,length,search_mask,search,replace_mask,replace,NULL); 420 uint32_t *ptr, search_mask, search, replace_mask, replace; local 423 ptr 333 commpage_change( uint32_t *ptr, int bytes, uint32_t search_mask, uint32_t search_pattern, uint32_t new_mask, uint32_t new_pattern, int (*check)(uint32_t instruction) ) argument 443 uint32_t *ptr, search_mask, search, replace_mask, replace; local 469 uint32_t *ptr, search_mask, search, replace_mask, replace; local 496 uint32_t *ptr, search_mask, search, replace_mask, replace; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/des/ |
H A D | des_ecb.c | 66 const char *ptr,*unroll,*risc,*size; local 69 ptr="ptr"; 71 ptr="idx"; 93 ptr, risc, unroll, size);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_command.h | 102 void db_machine_commands_install(struct db_command *ptr);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/ |
H A D | profile-md.c | 128 * Fix core dumps in _profile_print_stats if no profile_vars ptr passed. 235 void *ptr, 305 void *ptr, 315 struct memory *mptr = (struct memory *)ptr; 320 _profile_printf("_profile_md_acontext: pv= 0x%lx, ptr= 0x%lx, len= %6ld, type= %d\n", 322 (long)ptr, 333 plist->ptr = plist->first = (void *)&mptr->data[0]; 335 plist->bytes_free = len - ((char *)plist->ptr - (char *)ptr); 347 return (void *)((char *)ptr 302 _profile_md_acontext(struct profile_vars *pv, void *ptr, size_t len, acontext_type_t type) argument 366 void *ptr; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | skiplists.s | 86 * This is the fast call, that does not set up the previous-ptr vector or make 92 * r3 = pmap ptr 97 * We return the mapping ptr (or 0) in r3, and the next VA (or 0 if no more) in r4 and r5. 108 mr r6,r3 ; save pmap ptr here so we can accumulate statistics 109 li r9,0 ; initialize prev ptr 114 lwzx r3,r8,r7 ; get 32-bit ptr to 1st mapping in highest list 118 ldx r3,r8,r7 ; get 64-bit ptr to 1st mapping in highest list 124 ; r3 = current mapping ptr 127 ; r6 = pmap ptr 129 ; r8 = ptr t [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | ipc_kobject.c | 270 register mig_hash_t *ptr; local 281 ptr = &mig_buckets[i++ % MAX_MIG_ENTRIES]; 282 while (key != ptr->num && ptr->num && --max_iter); 284 if (!ptr->routine || key != ptr->num) { 285 ptr = (mig_hash_t *)0; 288 reply_size = ptr->size; 290 ptr->callcount++; 330 if (ptr) { [all...] |
H A D | xpr.c | 208 struct xprbuf *last, *ptr; local 229 ptr = * (struct xprbuf **) last; 233 for (x = ptr, i = 0; i < nbufs; i++) {
|
H A D | mach_clock.c | 166 LHISTCOUNTER *ptr = (LHISTCOUNTER *) pv->profil_buf; local 167 LPROF_CNT_INC(ptr[s / HISTFRACTION]);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | sysctl.h | 285 /* Oid for an int. If ptr is NULL, val is returned. */ 286 #define SYSCTL_INT(parent, nbr, name, access, ptr, val, descr) \ 288 ptr, val, sysctl_handle_int, "I", descr) 290 /* Oid for an unsigned int. If ptr is NULL, val is returned. */ 291 #define SYSCTL_UINT(parent, nbr, name, access, ptr, val, descr) \ 293 ptr, val, sysctl_handle_int, "IU", descr) 296 #define SYSCTL_LONG(parent, nbr, name, access, ptr, descr) \ 298 ptr, 0, sysctl_handle_long, "L", descr) 301 #define SYSCTL_QUAD(parent, nbr, name, access, ptr, descr) \ 303 ptr, [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ipcomp_core.c | 154 void *ptr; local 155 ptr = _MALLOC(items * siz, M_TEMP, M_NOWAIT); 156 return ptr; 162 void *ptr) 164 FREE(ptr, M_TEMP); 160 deflate_free( __unused void *aux, void *ptr) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_fsevents.c | 375 // created, have a null vnode ptr or rename/exchange events. 512 void *ptr=NULL; local 518 ptr = va_arg(ap, void *); 519 vid = vnode_vid((struct vnode *)ptr); 525 ptr = va_arg(ap, void *); 530 if (ptr != NULL) { 554 ((vid && vid == last_vid && last_ptr == ptr) 556 (last_str[0] && last_nlen == nlen && ptr && strcmp(last_str, ptr) == 0)) 564 last_ptr = ptr; 2115 const char *path, *ptr, *dest_path, *event_start=buffer; local [all...] |
H A D | vfs_fslog.c | 87 char *ptr; local 134 ptr = va_arg(ap, char *); 135 while (ptr) { 137 ptr = va_arg(ap, char *);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | sysctl.c | 41 void *ptr = (uint8_t *)cpu_info + (uint32_t)arg1; variable 45 ptr = *(char **)ptr; 49 if (arg2 == 0 && ((char *)ptr)[0] == '\0') { 54 value = (uint32_t) *(uint8_t *)ptr; 55 ptr = &value; 58 return SYSCTL_OUT(req, ptr, arg2 ? (size_t) arg2 : strlen((char *)ptr)+1);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_panicinfo.c | 46 extern int panic_dialog_set_image( const unsigned char * ptr, unsigned int size ); 47 extern void panic_dialog_get_image( unsigned char ** ptr, unsigned int * size );
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOLib.h | 150 #define IODelete(ptr,type,number) IOFree( (ptr) , sizeof(type) * (number) )
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/ |
H A D | panic_dialog.c | 45 int panic_dialog_set_image( const unsigned char * ptr, unsigned int size ); 46 void panic_dialog_get_image(const unsigned char **ptr, unsigned int *size); 391 * If ptr is NULL, then the default "built-in" panic dialog will be installed. 396 panic_dialog_set_image( const unsigned char * ptr, unsigned int size ) argument 402 /* if ptr is NULL, restore panic image to built-in default */ 403 if ( ptr == NULL ) { 408 newimage = (const struct panicimage *)ptr; 419 curr_image_ptr = ptr; 428 * If the default panic dialog is active, then *ptr will be NULL 432 panic_dialog_get_image(const unsigned char ** ptr, unsigne argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | flipc_cb.h | 1189 #define FLIPC_CBPTR(ptr) \ 1190 (((unsigned char *) (ptr)) - flipc_cb_base)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_ppp.h | 111 u_char *ptr; member in struct:ppp_option_data
|
H A D | ppp_deflate.c | 98 static void z_free(void *, void *ptr); 160 void *ptr; local 162 MALLOC(ptr, void *, items * size, M_DEVBUF, M_NOWAIT); 163 return ptr; 167 z_free(notused, ptr) 169 void *ptr; 171 FREE(ptr, M_DEVBUF);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | adsp_internal.h | 164 unsigned char *attnPtr; /* ptr to received attention data */ 317 * Add queue element to end of queue. Pass Address of ptr to 329 void *qfind_p(void *qhead, word offset, void *ptr); 330 void *qfind_o(void *qhead, word offset, void *ptr); 355 /* Address of ptr to list of ccb's */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | blist.c | 849 const char *ptr = av[i]; local 850 if (*ptr != '-') { 851 size = strtol(ptr, NULL, 0); 854 ptr += 2; 855 fprintf(stderr, "Bad option: %s\n", ptr - 2);
|