Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 8 of 8) sorted by relevance

/RvlSDK-3.2.3/build/demos/wpaddemo/src/
Ddummy_checker.c77 static u8 myFree ( void *ptr );
408 void *ptr; in myAlloc() local
410 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc()
411 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc()
413 return(ptr); in myAlloc()
423 static u8 myFree( void *ptr ) in myFree() argument
426 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
584 u8 *ptr; in get_dev_name() local
588 case WPAD_DEV_CORE: ptr = &str_dev_core[0]; break; in get_dev_name()
589 case WPAD_DEV_FREESTYLE: ptr = &str_dev_extn[0]; break; in get_dev_name()
[all …]
Dmemory.c71 u8 myFree ( void *ptr );
81 void *ptr; in myAlloc() local
83 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc()
84 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc()
86 return(ptr); in myAlloc()
95 u8 myFree( void *ptr ) in myFree() argument
97 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
Dwpad_seqdemo.c98 static u8 myFree ( void *ptr );
482 void *ptr; in myAlloc() local
484 ptr = MEMAllocFromExpHeap(hExpHeap, size); in myAlloc()
485 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc()
487 return(ptr); in myAlloc()
496 static u8 myFree( void *ptr ) in myFree() argument
498 MEMFreeToExpHeap(hExpHeap, ptr); in myFree()
Dwpad_spdemo.c117 static u8 myFree ( void *ptr );
447 void *ptr; in myAlloc() local
449 ptr = MEMAllocFromExpHeap(hExpHeap, size); in myAlloc()
450 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc()
452 return(ptr); in myAlloc()
461 static u8 myFree( void *ptr ) in myFree() argument
463 MEMFreeToExpHeap(hExpHeap, ptr); in myFree()
Dwpad_axdemo.c244 u8 myFree ( void *ptr );
679 void *ptr; in myAlloc() local
681 ptr = MEMAllocFromExpHeap(hExpHeap, size); in myAlloc()
682 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc()
684 return(ptr); in myAlloc()
693 u8 myFree( void *ptr ) in myFree() argument
695 MEMFreeToExpHeap(hExpHeap, ptr); in myFree()
/RvlSDK-3.2.3/build/tools/darch/src/
Dcreate.c366 char* ptr; in GetFirstDirCount() local
376 ptr = *name; in GetFirstDirCount()
377 while( (*ptr != '/') && (*ptr != '\0') ) in GetFirstDirCount()
378 ptr++; in GetFirstDirCount()
380 return (ptr - *name); in GetFirstDirCount()
540 char* ptr; in GetArcNewName() local
542 ptr = strrchr(oldname, '/'); in GetArcNewName()
543 if (ptr == NULL) in GetArcNewName()
545 ptr = strrchr(oldname, '\\'); in GetArcNewName()
548 if (ptr != NULL) in GetArcNewName()
[all …]
/RvlSDK-3.2.3/build/demos/kpaddemo/src/
Dweight.c51 static u8 myFree ( void *ptr ) ;
144 void *ptr; in myAlloc() local
146 ptr = MEMAllocFromAllocator( &DemoAllocator2, size ) ; in myAlloc()
147 ASSERTMSG( ptr, "Memory allocation failed\n" ) ; in myAlloc()
149 return( ptr ) ; in myAlloc()
159 static u8 myFree( void *ptr ) in myFree() argument
162 MEMFreeToAllocator( &DemoAllocator2, ptr ) ; in myFree()
/RvlSDK-3.2.3/build/demos/wbcdemo/src/
Dhandling_weight.c69 static u8 myFree ( void *ptr );
372 void *ptr; in myAlloc() local
374 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc()
375 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc()
377 return(ptr); in myAlloc()
387 static u8 myFree(void *ptr) in myFree() argument
390 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()