/external/pdfium/core/fxcrt/ |
D | fx_memory.cpp | 58 void* AllocOrDie(size_t num_members, size_t member_size) { in AllocOrDie() argument 59 void* result = Alloc(num_members, member_size); in AllocOrDie() 66 void* AllocOrDie2D(size_t w, size_t h, size_t member_size) { in AllocOrDie2D() argument 70 return AllocOrDie(w * h, member_size); in AllocOrDie2D() 72 void* CallocOrDie(size_t num_members, size_t member_size) { in CallocOrDie() argument 73 void* result = Calloc(num_members, member_size); in CallocOrDie() 80 void* CallocOrDie2D(size_t w, size_t h, size_t member_size) { in CallocOrDie2D() argument 84 return CallocOrDie(w * h, member_size); in CallocOrDie2D() 87 void* ReallocOrDie(void* ptr, size_t num_members, size_t member_size) { in ReallocOrDie() argument 88 void* result = Realloc(ptr, num_members, member_size); in ReallocOrDie() [all …]
|
D | fx_memory_malloc.cpp | 26 void* Alloc(size_t num_members, size_t member_size) { in Alloc() argument 27 FX_SAFE_SIZE_T total = member_size; in Alloc() 34 void* Calloc(size_t num_members, size_t member_size) { in Calloc() argument 35 FX_SAFE_SIZE_T total = member_size; in Calloc() 39 return calloc(num_members, member_size); in Calloc() 42 void* Realloc(void* ptr, size_t num_members, size_t member_size) { in Realloc() argument 44 total *= member_size; in Realloc() 50 void* StringAlloc(size_t num_members, size_t member_size) { in StringAlloc() argument 51 FX_SAFE_SIZE_T total = member_size; in StringAlloc()
|
D | fx_memory.h | 79 void* Alloc(size_t num_members, size_t member_size); 80 void* AllocOrDie(size_t num_members, size_t member_size); 81 void* AllocOrDie2D(size_t w, size_t h, size_t member_size); 82 void* Calloc(size_t num_members, size_t member_size); 83 void* Realloc(void* ptr, size_t num_members, size_t member_size); 84 void* CallocOrDie(size_t num_members, size_t member_size); 85 void* CallocOrDie2D(size_t w, size_t h, size_t member_size); 86 void* ReallocOrDie(void* ptr, size_t num_members, size_t member_size); 89 void* StringAlloc(size_t num_members, size_t member_size); 90 void* StringAllocOrDie(size_t num_members, size_t member_size);
|
D | fx_memory_pa.cpp | 54 void* Alloc(size_t num_members, size_t member_size) { in Alloc() argument 55 FX_SAFE_SIZE_T total = member_size; in Alloc() 65 void* Calloc(size_t num_members, size_t member_size) { in Calloc() argument 66 FX_SAFE_SIZE_T total = member_size; in Calloc() 77 void* Realloc(void* ptr, size_t num_members, size_t member_size) { in Realloc() argument 79 size *= member_size; in Realloc() 88 void* StringAlloc(size_t num_members, size_t member_size) { in StringAlloc() argument 89 FX_SAFE_SIZE_T total = member_size; in StringAlloc()
|
/external/vboot_reference/firmware/lib20/ |
D | common.c | 20 const void *member, size_t member_size, in vb2_verify_member_inside() argument 26 const ptrdiff_t member_end_offs = member_offs + member_size; in vb2_verify_member_inside() 38 if (member_size < 0 || member_end_offs < member_offs) in vb2_verify_member_inside()
|
/external/vboot_reference/firmware/lib21/ |
D | common.c | 63 uint32_t member_size) in vb2_verify_common_member() argument 66 uint32_t member_end = member_offset + member_size; in vb2_verify_common_member() 74 !vb2_aligned(member_size, sizeof(uint32_t))) in vb2_verify_common_member()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 59 const void *member, uint64_t member_size, in VerifyMemberInside() argument 68 if (UINT64_MAX - end < member_size) in VerifyMemberInside() 70 if (end + member_size > parent_size) in VerifyMemberInside()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_common.h | 51 const void *member, size_t member_size,
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_common.h | 53 uint32_t member_size);
|
/external/vboot_reference/firmware/lib/include/ |
D | vboot_common.h | 70 const void *member, uint64_t member_size,
|
/external/libabigail/src/ |
D | abg-ctf-reader.cc | 591 ssize_t member_size; in process_ctf_sou_members() local 596 while ((member_size = ctf_member_next(ctf_dictionary, ctf_type, in process_ctf_sou_members()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 5982 size_t member_size; in DumpBitcodeSection() local 6016 member_size = strtoul(member_size_string, &endptr, 10); in DumpBitcodeSection() 6017 if (*endptr == '\0' && member_size != 0) { in DumpBitcodeSection() 6018 char *buffer = (char *) ::operator new (member_size); in DumpBitcodeSection() 6019 if (xar_extract_tobuffersz(xar, xf, &buffer, &member_size) == 0) { in DumpBitcodeSection() 6036 if (member_size >= sizeof(struct xar_header)) { in DumpBitcodeSection() 6044 DumpBitcodeSection(O, buffer, member_size, verbose, in DumpBitcodeSection()
|