/external/e2fsprogs/lib/uuid/ |
unpack.c | 40 const uint8_t *ptr = in; local 43 tmp = *ptr++; 44 tmp = (tmp << 8) | *ptr++; 45 tmp = (tmp << 8) | *ptr++; 46 tmp = (tmp << 8) | *ptr++; 49 tmp = *ptr++; 50 tmp = (tmp << 8) | *ptr++; 53 tmp = *ptr++; 54 tmp = (tmp << 8) | *ptr++; 57 tmp = *ptr++ [all...] |
/external/libchrome/base/ |
atomic_ref_count.h | 18 inline void AtomicRefCountIncN(volatile AtomicRefCount *ptr, 20 subtle::NoBarrier_AtomicIncrement(ptr, increment); 27 inline bool AtomicRefCountDecN(volatile AtomicRefCount *ptr, 29 bool res = (subtle::Barrier_AtomicIncrement(ptr, -decrement) != 0); 34 inline void AtomicRefCountInc(volatile AtomicRefCount *ptr) { 35 base::AtomicRefCountIncN(ptr, 1); 41 inline bool AtomicRefCountDec(volatile AtomicRefCount *ptr) { 42 return base::AtomicRefCountDecN(ptr, 1); 51 inline bool AtomicRefCountIsOne(volatile AtomicRefCount *ptr) { 52 bool res = (subtle::Acquire_Load(ptr) == 1) [all...] |
/external/libunwind/src/ptrace/ |
_UPT_destroy.c | 29 _UPT_destroy (void *ptr) 31 struct UPT_info *ui = (struct UPT_info *) ptr; 33 free (ptr);
|
/system/update_engine/update_manager/ |
policy_utils.h | 30 #define POLICY_CHECK_VALUE_AND_FAIL(ptr, error) \ 32 if ((ptr) == nullptr) { \ 33 *(error) = #ptr " is required but is null."; \
|
/external/opencv3/modules/features2d/src/ |
agast_score.cpp | 94 int agast_cornerScore<AgastFeatureDetector::OAST_9_16>(const uchar* ptr, const int pixel[], int threshold) 119 register const int cb = *ptr + b_test; 120 register const int c_b = *ptr - b_test; 121 if(ptr[offset0] > cb) 122 if(ptr[offset2] > cb) 123 if(ptr[offset4] > cb) 124 if(ptr[offset5] > cb) 125 if(ptr[offset7] > cb) 126 if(ptr[offset3] > cb) 127 if(ptr[offset1] > cb [all...] |
/external/c-ares/ |
ares_data.c | 43 struct ares_data *ptr; local 54 ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data)); 60 if (ptr->mark != ARES_DATATYPE_MARK) 63 switch (ptr->type) 67 if (ptr->data.mx_reply.next) 68 ares_free_data(ptr->data.mx_reply.next); 69 if (ptr->data.mx_reply.host) 70 free(ptr->data.mx_reply.host); 75 if (ptr->data.srv_reply.next) 76 ares_free_data(ptr->data.srv_reply.next) 116 struct ares_data *ptr; local 172 struct ares_data *ptr; local [all...] |
/device/moto/shamu/camera/QCamera/stack/common/ |
cam_list.h | 38 #define member_of(ptr, type, member) ({ \ 39 const typeof(((type *)0)->member) *__mptr = (ptr); \ 46 static inline void cam_list_init(struct cam_list *ptr) 48 ptr->next = ptr; 49 ptr->prev = ptr; 63 static inline void cam_list_del_node(struct cam_list *ptr) 65 struct cam_list *prev = ptr->prev; 66 struct cam_list *next = ptr->next [all...] |
/external/aac/libAACdec/src/ |
overlapadd.h | 101 #define SPEC_LONG(ptr) (ptr) 102 #define SPEC(ptr,w,gl) ((ptr)+((w)*(gl)))
|
/external/clang/test/SemaTemplate/ |
instantiate-typedef.cpp | 8 add_pointer<int>::type test1(int * ptr) { return ptr; } 10 add_pointer<float>::type test2(int * ptr) { 11 return ptr; // expected-error{{cannot initialize return object of type 'add_pointer<float>::type' (aka 'float *') with an lvalue of type 'int *'}}
|
/external/elfutils/bionic-fixup/ |
AndroidFixup.h | 22 const unsigned char *ptr = s; local 24 if (*ptr == c) return (void *) ptr; 25 ptr++;
|
/external/srtp/crypto/kernel/ |
alloc.c | 70 void *ptr; local 72 ptr = kmalloc(size, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL); 74 if (ptr) { 75 debug_print(mod_alloc, "(location: %p) allocated", ptr); 79 return ptr; 83 crypto_free(void *ptr) { 85 debug_print(mod_alloc, "(location: %p) freed", ptr); 87 kfree(ptr); 95 void *ptr; local 97 ptr = malloc(size) [all...] |
/external/valgrind/memcheck/tests/ |
brk2.c | 10 char* ptr; local 14 ptr = sbrk(1); 16 if (ptr == (void*)-1) { 21 *ptr = 0;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glObjectPtrLabel.java | 1 // C function void glObjectPtrLabel ( const void *ptr, GLsizei length, const GLchar *label ) 3 public static native void glObjectPtrLabel(long ptr, String label);
|
glObjectPtrLabelKHR.java | 1 // C function void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label ) 3 public static native void glObjectPtrLabelKHR(long ptr, String label);
|
/external/clang/test/CodeGen/ |
2010-01-13-MemBarrier.c | 6 unsigned t(uint32_t *ptr, uint32_t val) { 9 return __sync_lock_test_and_set(ptr, val);
|
/external/clang/test/CodeGenCXX/ |
member-data-pointers.cpp | 9 } *ptr; variable in typeref:struct:__anon7586 10 void test_ptr() { (void) ptr; } // forced use
|
/external/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/ |
nullability-consistency-system.h | 3 void system1(int *ptr);
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
dll_null_deref.cc | 6 static void NullDeref(int *ptr) { 9 ptr[10]++; // BOOM
|
/external/curl/tests/unit/ |
unit1330.c | 38 char *ptr = malloc(1330); variable 39 Curl_safefree(ptr); variable
|
/external/jemalloc/src/ |
valgrind.c | 9 valgrind_make_mem_noaccess(void *ptr, size_t usize) 12 VALGRIND_MAKE_MEM_NOACCESS(ptr, usize); 16 valgrind_make_mem_undefined(void *ptr, size_t usize) 19 VALGRIND_MAKE_MEM_UNDEFINED(ptr, usize); 23 valgrind_make_mem_defined(void *ptr, size_t usize) 26 VALGRIND_MAKE_MEM_DEFINED(ptr, usize); 30 valgrind_freelike_block(void *ptr, size_t usize) 33 VALGRIND_FREELIKE_BLOCK(ptr, usize);
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_memory_aligned.h | 48 char *ptr, *buf; local 50 ptr = (char *) os_malloc(size + alignment + sizeof(void *)); 51 if (!ptr) 54 buf = (char *)(((uintptr_t)ptr + sizeof(void *) + alignment - 1) & ~((uintptr_t)(alignment - 1))); 55 *(char **)(buf - sizeof(void *)) = ptr; 65 os_free_aligned(void *ptr) 67 if (ptr) { 68 void **cubbyHole = (void **) ((char *) ptr - sizeof(void *));
|
/external/skia/src/ports/ |
SkTLS_none.cpp | 16 void SkTLS::PlatformSetSpecific(void* ptr) { 17 gSpecific = ptr;
|
/external/valgrind/none/tests/linux/ |
brk-overflow2.c | 3 volatile void *ptr; variable 11 ptr = sbrk(1024*1024);
|
/external/clang/test/Analysis/inlining/ |
eager-reclamation-path-notes.c | 5 void use(int *ptr, int val) { 6 *ptr = val; // expected-warning {{Dereference of null pointer (loaded from variable 'ptr')}} 7 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'ptr')}} 22 // expected-note@-1 {{Passing null pointer value via 1st parameter 'ptr'}} 27 void use2(int *ptr, int val) { 28 *ptr = val; // expected-warning {{Dereference of null pointer (loaded from variable 'ptr')}} 29 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'ptr')}} 34 // expected-note@-1 {{Passing null pointer value via 1st parameter 'ptr'}} 39 int *ptr = 0; local [all...] |
/external/compiler-rt/test/sanitizer_common/TestCases/ |
malloc_hook.cc | 15 void __sanitizer_malloc_hook(const volatile void *ptr, size_t sz) { 16 if (__sanitizer_get_ownership(ptr)) { 18 global_ptr = ptr; 21 void __sanitizer_free_hook(const volatile void *ptr) { 22 if (__sanitizer_get_ownership(ptr) && ptr == global_ptr)
|