/external/opencv3/modules/features2d/src/ |
D | agast.cpp | 101 register const unsigned char* const ptr = img.ptr() + y*width + x; in AGAST_5_8() local 102 register const int cb = *ptr + threshold; in AGAST_5_8() 103 register const int c_b = *ptr - threshold; in AGAST_5_8() 104 if(ptr[offset0] > cb) in AGAST_5_8() 105 if(ptr[offset2] > cb) in AGAST_5_8() 106 if(ptr[offset3] > cb) in AGAST_5_8() 107 if(ptr[offset5] > cb) in AGAST_5_8() 108 if(ptr[offset1] > cb) in AGAST_5_8() 109 if(ptr[offset4] > cb) in AGAST_5_8() 112 if(ptr[offset7] > cb) in AGAST_5_8() [all …]
|
D | agast_score.cpp | 94 int agast_cornerScore<AgastFeatureDetector::OAST_9_16>(const uchar* ptr, const int pixel[], int thr… in agast_cornerScore() argument 119 register const int cb = *ptr + b_test; in agast_cornerScore() 120 register const int c_b = *ptr - b_test; in agast_cornerScore() 121 if(ptr[offset0] > cb) in agast_cornerScore() 122 if(ptr[offset2] > cb) in agast_cornerScore() 123 if(ptr[offset4] > cb) in agast_cornerScore() 124 if(ptr[offset5] > cb) in agast_cornerScore() 125 if(ptr[offset7] > cb) in agast_cornerScore() 126 if(ptr[offset3] > cb) in agast_cornerScore() 127 if(ptr[offset1] > cb) in agast_cornerScore() [all …]
|
/external/expat/lib/ |
D | xmltok_impl.c | 9 #define IS_INVALID_CHAR(enc, ptr, n) (0) argument 12 #define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ argument 14 if (end - ptr < n) \ 16 if (IS_INVALID_CHAR(enc, ptr, n)) { \ 17 *(nextTokPtr) = (ptr); \ 20 ptr += n; \ 23 #define INVALID_CASES(ptr, nextTokPtr) \ argument 24 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \ 25 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \ 26 INVALID_LEAD_CASE(4, ptr, nextTokPtr) \ [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_debug.c | 38 GLuint *ptr = (GLuint *)(stream->ptr + stream->offset); in debug() local 41 printf("Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug() 52 printf("\t0x%08x\n", ptr[i]); in debug() 84 GLuint *ptr = (GLuint *)(stream->ptr + stream->offset); in debug_prim() local 85 const char *prim = get_prim_name( ptr[0] ); in debug_prim() 91 printf("\t0x%08x\n", ptr[0]); in debug_prim() 94 printf("\t0x%08x // %f\n", ptr[i], *(GLfloat *)&ptr[i]); in debug_prim() 96 printf("\t0x%08x\n", ptr[i]); in debug_prim() 113 GLuint *ptr = (GLuint *)(stream->ptr + stream->offset); in debug_program() local 116 printf("Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug_program() [all …]
|
/external/libvncserver/libvncserver/ |
D | stats.c | 171 rfbStatList *ptr; in rfbStatLookupEncoding() local 173 for (ptr = cl->statEncList; ptr!=NULL; ptr=ptr->Next) in rfbStatLookupEncoding() 175 if (ptr->type==type) return ptr; in rfbStatLookupEncoding() 178 ptr = (rfbStatList *)malloc(sizeof(rfbStatList)); in rfbStatLookupEncoding() 179 if (ptr!=NULL) in rfbStatLookupEncoding() 181 memset((char *)ptr, 0, sizeof(rfbStatList)); in rfbStatLookupEncoding() 182 ptr->type = type; in rfbStatLookupEncoding() 184 ptr->Next = cl->statEncList; in rfbStatLookupEncoding() 185 cl->statEncList = ptr; in rfbStatLookupEncoding() 187 return ptr; in rfbStatLookupEncoding() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug.c | 86 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug() local 89 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug() 100 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug() 132 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_prim() local 133 const char *prim = get_prim_name( ptr[0] ); in debug_prim() 139 PRINTF(stream, "\t0x%08x\n", ptr[0]); in debug_prim() 142 PRINTF(stream, "\t0x%08x // %f\n", ptr[i], *(float *)&ptr[i]); in debug_prim() 144 PRINTF(stream, "\t0x%08x\n", ptr[i]); in debug_prim() 160 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_program() local 163 PRINTF(stream, "Error - zero length packet (0x%08x)\n", stream->ptr[0]); in debug_program() [all …]
|
/external/tcpdump/ |
D | print-l2tp.c | 301 uint16_t *ptr = (uint16_t*)dat; in l2tp_msgtype_print() local 304 EXTRACT_16BITS(ptr)))); in l2tp_msgtype_print() 310 uint16_t *ptr = (uint16_t *)dat; in l2tp_result_code_print() local 312 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); ptr++; /* Result Code */ in l2tp_result_code_print() 314 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); ptr++; in l2tp_result_code_print() 318 print_string(ndo, (u_char *)ptr, length - 4); in l2tp_result_code_print() 332 uint32_t *ptr = (uint32_t *)dat; in l2tp_framing_cap_print() local 334 if (EXTRACT_32BITS(ptr) & L2TP_FRAMING_CAP_ASYNC_MASK) { in l2tp_framing_cap_print() 337 if (EXTRACT_32BITS(ptr) & L2TP_FRAMING_CAP_SYNC_MASK) { in l2tp_framing_cap_print() 345 uint32_t *ptr = (uint32_t *)dat; in l2tp_bearer_cap_print() local [all …]
|
D | print-pptp.c | 521 struct pptp_msg_sccrq *ptr = (struct pptp_msg_sccrq *)dat; in pptp_sccrq_print() local 523 ND_TCHECK(ptr->proto_ver); in pptp_sccrq_print() 524 pptp_proto_ver_print(ndo, &ptr->proto_ver); in pptp_sccrq_print() 525 ND_TCHECK(ptr->reserved1); in pptp_sccrq_print() 526 ND_TCHECK(ptr->framing_cap); in pptp_sccrq_print() 527 pptp_framing_cap_print(ndo, &ptr->framing_cap); in pptp_sccrq_print() 528 ND_TCHECK(ptr->bearer_cap); in pptp_sccrq_print() 529 pptp_bearer_cap_print(ndo, &ptr->bearer_cap); in pptp_sccrq_print() 530 ND_TCHECK(ptr->max_channel); in pptp_sccrq_print() 531 pptp_max_channel_print(ndo, &ptr->max_channel); in pptp_sccrq_print() [all …]
|
/external/clang/test/SemaCXX/ |
D | err_reference_bind_drops_quals.cpp | 4 typedef int* ptr; typedef 5 void test1(ptr p, const ptr cp, restrict ptr rp, const restrict ptr crp, in test1() 6 volatile ptr vp, const volatile ptr cvp, restrict volatile ptr rvp, in test1() 7 const restrict volatile ptr crvp) { in test1() 8 ptr& p1 = p; in test1() 9 ptr& p2 = cp; // expected-error {{drops 'const' qualifier}} in test1() 10 ptr& p3 = rp; // expected-error {{drops 'restrict' qualifier}} in test1() 11 ptr& p4 = crp; // expected-error {{drops 'const' and 'restrict' qualifiers}} in test1() 12 ptr& p5 = vp; // expected-error {{drops 'volatile' qualifier}} in test1() 13 ptr& p6 = cvp; // expected-error {{drops 'const' and 'volatile' qualifiers}} in test1() [all …]
|
/external/v8/src/base/ |
D | atomicops_internals_mips64_gcc.h | 46 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 61 : "=&r" (prev), "=m" (*ptr), "=&r" (tmp) in NoBarrier_CompareAndSwap() 62 : "r" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 69 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 81 : "=&r" (temp), "=&r" (old), "=m" (*ptr) in NoBarrier_AtomicExchange() 82 : "r" (new_value), "m" (*ptr) in NoBarrier_AtomicExchange() 90 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 103 : "=&r" (temp), "=&r" (temp2), "=m" (*ptr) in NoBarrier_AtomicIncrement() 104 : "Ir" (increment), "m" (*ptr) in NoBarrier_AtomicIncrement() 110 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument [all …]
|
D | atomicops_internals_mac.h | 29 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 35 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap() 38 prev_value = *ptr; in NoBarrier_CompareAndSwap() 43 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 47 old_value = *ptr; in NoBarrier_AtomicExchange() 49 const_cast<Atomic32*>(ptr))); in NoBarrier_AtomicExchange() 53 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 55 return OSAtomicAdd32(increment, const_cast<Atomic32*>(ptr)); in NoBarrier_AtomicIncrement() 58 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 60 return OSAtomicAdd32Barrier(increment, const_cast<Atomic32*>(ptr)); in Barrier_AtomicIncrement() [all …]
|
D | atomicops_internals_ppc_gcc.h | 14 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 17 return (__sync_val_compare_and_swap(ptr, old_value, new_value)); in NoBarrier_CompareAndSwap() 20 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 24 old_value = *ptr; in NoBarrier_AtomicExchange() 25 } while (__sync_bool_compare_and_swap(ptr, old_value, new_value) == false); in NoBarrier_AtomicExchange() 29 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 31 return Barrier_AtomicIncrement(ptr, increment); in NoBarrier_AtomicIncrement() 34 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 37 Atomic32 old_value = *ptr; in Barrier_AtomicIncrement() 39 if (__sync_bool_compare_and_swap(ptr, old_value, new_value)) { in Barrier_AtomicIncrement() [all …]
|
D | atomicops_internals_portable.h | 15 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 18 return __sync_val_compare_and_swap(ptr, old_value, new_value); in NoBarrier_CompareAndSwap() 21 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 23 return __sync_lock_test_and_set(ptr, new_value); in NoBarrier_AtomicExchange() 26 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 28 return __sync_add_and_fetch(ptr, increment); in NoBarrier_AtomicIncrement() 31 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 33 return __sync_add_and_fetch(ptr, increment); in Barrier_AtomicIncrement() 36 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() argument 38 return __sync_val_compare_and_swap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_arm64_gcc.h | 25 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 41 [ptr]"+Q" (*ptr) in NoBarrier_CompareAndSwap() 50 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 62 [ptr]"+Q" (*ptr) in NoBarrier_AtomicExchange() 70 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 83 [ptr]"+Q" (*ptr) in NoBarrier_AtomicIncrement() 91 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 96 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement() 102 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() argument 107 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_msvc.h | 25 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 29 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_CompareAndSwap() 35 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 38 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_AtomicExchange() 43 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 46 reinterpret_cast<volatile LONG*>(ptr), in Barrier_AtomicIncrement() 50 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 52 return Barrier_AtomicIncrement(ptr, increment); in NoBarrier_AtomicIncrement() 68 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() argument 71 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_gcc.h | 30 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 36 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 41 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 45 : "m" (*ptr), "0" (new_value) in NoBarrier_AtomicExchange() 50 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 54 : "+r" (temp), "+m" (*ptr) in NoBarrier_AtomicIncrement() 60 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 64 : "+r" (temp), "+m" (*ptr) in Barrier_AtomicIncrement() 73 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() argument 76 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_arm64_gcc.h | 52 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 68 [ptr]"+Q" (*ptr) in NoBarrier_CompareAndSwap() 77 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 89 [ptr]"+Q" (*ptr) in NoBarrier_AtomicExchange() 97 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 110 [ptr]"+Q" (*ptr) in NoBarrier_AtomicIncrement() 118 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 121 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement() 127 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() argument 130 Atomic32 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_mips_gcc.h | 52 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 67 : "=&r" (prev), "=m" (*ptr), "=&r" (tmp) in NoBarrier_CompareAndSwap() 68 : "Ir" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 75 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 87 : "=&r" (temp), "=&r" (old), "=m" (*ptr) in NoBarrier_AtomicExchange() 88 : "r" (new_value), "m" (*ptr) in NoBarrier_AtomicExchange() 96 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 109 : "=&r" (temp), "=&r" (temp2), "=m" (*ptr) in NoBarrier_AtomicIncrement() 110 : "Ir" (increment), "m" (*ptr) in NoBarrier_AtomicIncrement() 116 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument [all …]
|
D | atomicops_internals_macosx.h | 42 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument 48 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap() 51 prev_value = *ptr; in NoBarrier_CompareAndSwap() 56 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument 60 old_value = *ptr; in NoBarrier_AtomicExchange() 62 const_cast<Atomic32*>(ptr))); in NoBarrier_AtomicExchange() 66 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument 68 return OSAtomicAdd32(increment, const_cast<Atomic32*>(ptr)); in NoBarrier_AtomicIncrement() 71 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument 73 return OSAtomicAdd32Barrier(increment, const_cast<Atomic32*>(ptr)); in Barrier_AtomicIncrement() [all …]
|
D | atomicops_internals_tsan.h | 46 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32 *ptr, in NoBarrier_CompareAndSwap() argument 50 __tsan_atomic32_compare_exchange_strong(ptr, &cmp, new_value, in NoBarrier_CompareAndSwap() 55 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32 *ptr, in NoBarrier_AtomicExchange() argument 57 return __tsan_atomic32_exchange(ptr, new_value, in NoBarrier_AtomicExchange() 61 inline Atomic32 Acquire_AtomicExchange(volatile Atomic32 *ptr, in Acquire_AtomicExchange() argument 63 return __tsan_atomic32_exchange(ptr, new_value, in Acquire_AtomicExchange() 67 inline Atomic32 Release_AtomicExchange(volatile Atomic32 *ptr, in Release_AtomicExchange() argument 69 return __tsan_atomic32_exchange(ptr, new_value, in Release_AtomicExchange() 73 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, in NoBarrier_AtomicIncrement() argument 75 return increment + __tsan_atomic32_fetch_add(ptr, increment, in NoBarrier_AtomicIncrement() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | frame-19.ll | 7 define void @f1(<16 x i8> *%ptr) { 30 %v0 = load volatile <16 x i8>, <16 x i8> *%ptr 31 %v1 = load volatile <16 x i8>, <16 x i8> *%ptr 32 %v2 = load volatile <16 x i8>, <16 x i8> *%ptr 33 %v3 = load volatile <16 x i8>, <16 x i8> *%ptr 34 %v4 = load volatile <16 x i8>, <16 x i8> *%ptr 35 %v5 = load volatile <16 x i8>, <16 x i8> *%ptr 36 %v6 = load volatile <16 x i8>, <16 x i8> *%ptr 37 %v7 = load volatile <16 x i8>, <16 x i8> *%ptr 38 %v8 = load volatile <16 x i8>, <16 x i8> *%ptr [all …]
|
/external/c-ares/ |
D | ares_data.c | 43 struct ares_data *ptr; in ares_free_data() local 54 ptr = (void *)((char *)dataptr - offsetof(struct ares_data, data)); in ares_free_data() 60 if (ptr->mark != ARES_DATATYPE_MARK) in ares_free_data() 63 switch (ptr->type) in ares_free_data() 67 if (ptr->data.mx_reply.next) in ares_free_data() 68 ares_free_data(ptr->data.mx_reply.next); in ares_free_data() 69 if (ptr->data.mx_reply.host) in ares_free_data() 70 free(ptr->data.mx_reply.host); in ares_free_data() 75 if (ptr->data.srv_reply.next) in ares_free_data() 76 ares_free_data(ptr->data.srv_reply.next); in ares_free_data() [all …]
|
/external/e2fsprogs/ext2ed/ |
D | init.c | 160 struct struct_descriptor *ptr,*next; in free_struct_descriptors() local 162 ptr=first_type; in free_struct_descriptors() 163 while (ptr!=NULL) { in free_struct_descriptors() 164 next=ptr->next; in free_struct_descriptors() 165 free_user_commands (&ptr->type_commands); in free_struct_descriptors() 166 free (ptr); in free_struct_descriptors() 167 ptr=next; in free_struct_descriptors() 172 void free_user_commands (struct struct_commands *ptr) in free_user_commands() argument 177 for (i=0;i<=ptr->last_command;i++) { in free_user_commands() 178 free (ptr->names [i]); in free_user_commands() [all …]
|
/external/freetype/include/internal/ |
D | ftmemory.h | 144 #define FT_MEM_ALLOC( ptr, size ) \ argument 145 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \ 149 #define FT_MEM_FREE( ptr ) \ argument 151 ft_mem_free( memory, (ptr) ); \ 152 (ptr) = NULL; \ 155 #define FT_MEM_NEW( ptr ) \ argument 156 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) ) 158 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \ argument 159 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ 163 (ptr), \ [all …]
|
/external/pdfium/third_party/freetype/include/freetype/internal/ |
D | ftmemory.h | 144 #define FT_MEM_ALLOC( ptr, size ) \ argument 145 FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, \ 149 #define FT_MEM_FREE( ptr ) \ argument 151 ft_mem_free( memory, (ptr) ); \ 152 (ptr) = NULL; \ 155 #define FT_MEM_NEW( ptr ) \ argument 156 FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) ) 158 #define FT_MEM_REALLOC( ptr, cursz, newsz ) \ argument 159 FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, \ 163 (ptr), \ [all …]
|