/external/valgrind/main/memcheck/ |
D | mc_machine.c | 160 Int sz = szB; in get_otrack_shadow_offset_wrk() local 162 tl_assert(sz > 0); in get_otrack_shadow_offset_wrk() 165 if (sz == 8 || sz == 4) { in get_otrack_shadow_offset_wrk() 171 Int ox = sz == 8 ? o : (o - 4); in get_otrack_shadow_offset_wrk() 206 if (o == GOF(LR) && sz == 8) return o; in get_otrack_shadow_offset_wrk() 207 if (o == GOF(CTR) && sz == 8) return o; in get_otrack_shadow_offset_wrk() 209 if (o == GOF(CIA) && sz == 8) return -1; in get_otrack_shadow_offset_wrk() 210 if (o == GOF(IP_AT_SYSCALL) && sz == 8) return -1; /* slot unused */ in get_otrack_shadow_offset_wrk() 211 if (o == GOF(FPROUND) && sz == 1) return -1; in get_otrack_shadow_offset_wrk() 212 if (o == GOF(DFPROUND) && sz == 1) return -1; in get_otrack_shadow_offset_wrk() [all …]
|
/external/libvpx/libvpx/vpx_ports/ |
D | mem_ops_aligned.h | 46 #define mem_get_ne_aligned_generic(end,sz) \ argument 47 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\ 48 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 52 #define mem_get_sne_aligned_generic(end,sz) \ argument 53 static signed MEM_VALUE_T mem_get_s##end##sz##_aligned(const void *vmem) {\ 54 const int##sz##_t *mem = (const int##sz##_t *)vmem;\ 58 #define mem_get_se_aligned_generic(end,sz) \ argument 59 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\ 60 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 62 swap_endian_##sz(val,raw);\ [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/ |
D | mem_ops_aligned.h | 46 #define mem_get_ne_aligned_generic(end,sz) \ argument 48 mem_get_##end##sz##_aligned(const void *vmem) {\ 49 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 53 #define mem_get_sne_aligned_generic(end,sz) \ argument 55 mem_get_s##end##sz##_aligned(const void *vmem) {\ 56 const int##sz##_t *mem = (const int##sz##_t *)vmem;\ 60 #define mem_get_se_aligned_generic(end,sz) \ argument 62 mem_get_##end##sz##_aligned(const void *vmem) {\ 63 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 65 swap_endian_##sz(val,raw);\ [all …]
|
/external/jemalloc/test/unit/ |
D | stats.c | 6 size_t sz, allocated, active, mapped; in TEST_BEGIN() local 9 sz = sizeof(cactive); in TEST_BEGIN() 10 assert_d_eq(mallctl("stats.cactive", &cactive, &sz, NULL, 0), expected, in TEST_BEGIN() 13 sz = sizeof(size_t); in TEST_BEGIN() 14 assert_d_eq(mallctl("stats.allocated", &allocated, &sz, NULL, 0), in TEST_BEGIN() 16 assert_d_eq(mallctl("stats.active", &active, &sz, NULL, 0), expected, in TEST_BEGIN() 18 assert_d_eq(mallctl("stats.mapped", &mapped, &sz, NULL, 0), expected, in TEST_BEGIN() 36 size_t sz; in TEST_BEGIN() local 39 sz = sizeof(size_t); in TEST_BEGIN() 40 assert_d_eq(mallctl("stats.chunks.current", ¤t, &sz, NULL, 0), in TEST_BEGIN() [all …]
|
D | mallctl.c | 6 size_t sz; in TEST_BEGIN() local 20 sz = sizeof(epoch)-1; in TEST_BEGIN() 21 assert_d_eq(mallctl("epoch", &epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN() 23 sz = sizeof(epoch)+1; in TEST_BEGIN() 24 assert_d_eq(mallctl("epoch", &epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN() 43 size_t sz; in TEST_BEGIN() local 66 sz = sizeof(epoch)-1; in TEST_BEGIN() 67 assert_d_eq(mallctlbymib(mib, miblen, &epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN() 69 sz = sizeof(epoch)+1; in TEST_BEGIN() 70 assert_d_eq(mallctlbymib(mib, miblen, &epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN() [all …]
|
/external/jemalloc/test/integration/ |
D | mallocx.c | 9 size_t nsz, rsz, sz; in TEST_BEGIN() local 12 sz = 42; in TEST_BEGIN() 13 nsz = nallocx(sz, 0); in TEST_BEGIN() 15 p = mallocx(sz, 0); in TEST_BEGIN() 18 assert_zu_ge(rsz, sz, "Real size smaller than expected"); in TEST_BEGIN() 22 p = mallocx(sz, 0); in TEST_BEGIN() 26 nsz = nallocx(sz, MALLOCX_ZERO); in TEST_BEGIN() 28 p = mallocx(sz, MALLOCX_ZERO); in TEST_BEGIN() 38 size_t nsz, rsz, sz, alignment, total; in TEST_BEGIN() local 49 for (sz = 1; in TEST_BEGIN() [all …]
|
D | thread_tcache_enabled.c | 15 size_t sz; in thd_start() local 18 sz = sizeof(bool); in thd_start() 19 if ((err = mallctl("thread.tcache.enabled", &e0, &sz, NULL, 0))) { in thd_start() 30 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), in thd_start() 36 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, in thd_start() 41 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, in thd_start() 46 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, in thd_start() 51 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, in thd_start() 57 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, in thd_start() 63 assert_d_eq(mallctl("thread.tcache.enabled", &e0, &sz, &e1, sz), 0, in thd_start() [all …]
|
D | xallocx.c | 6 size_t sz, tsz; in TEST_BEGIN() local 10 sz = sallocx(p, 0); in TEST_BEGIN() 12 tsz = xallocx(p, sz, 0, 0); in TEST_BEGIN() 13 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN() 22 size_t sz, tsz; in TEST_BEGIN() local 26 sz = sallocx(p, 0); in TEST_BEGIN() 28 tsz = xallocx(p, sz, sz-42, 0); in TEST_BEGIN() 29 assert_zu_eq(tsz, sz, "Unexpected size change: %zu --> %zu", sz, tsz); in TEST_BEGIN() 38 size_t sz, tsz; in TEST_BEGIN() local 42 sz = sallocx(p, 0); in TEST_BEGIN() [all …]
|
D | allocated.c | 18 size_t sz, usize; in thd_start() local 20 sz = sizeof(a0); in thd_start() 21 if ((err = mallctl("thread.allocated", &a0, &sz, NULL, 0))) { in thd_start() 27 sz = sizeof(ap0); in thd_start() 28 if ((err = mallctl("thread.allocatedp", &ap0, &sz, NULL, 0))) { in thd_start() 38 sz = sizeof(d0); in thd_start() 39 if ((err = mallctl("thread.deallocated", &d0, &sz, NULL, 0))) { in thd_start() 45 sz = sizeof(dp0); in thd_start() 46 if ((err = mallctl("thread.deallocatedp", &dp0, &sz, NULL, 0))) { in thd_start() 59 sz = sizeof(a1); in thd_start() [all …]
|
/external/chromium_org/third_party/skia/experimental/LightSymbolsUtil/lightsymbols/ |
D | lightsymbols.cc | 30 bool LightSymbol::GetCallStack(char* sz, int len, const char* separator) { in GetCallStack() argument 35 return ls->GetCallStackCore(sz, len, separator); in GetCallStack() 53 bool LightSymbol::GetCallStackCore(char* sz, int len, const char* separator) const { in GetCallStackCore() argument 120 char* szOut = sz; in GetCallStackCore() 151 const char* LightSymbol::trim(char* sz) { in trim() argument 152 if (sz == NULL) return NULL; in trim() 154 while (*sz == ' ' || *sz == '\t' || *sz == '\r' || *sz == '\n' || *sz == ',') in trim() 155 sz++; in trim() 157 if (*sz == '\0') return sz; in trim() 159 int len = strlen(sz); in trim() [all …]
|
D | helper.h | 7 char* sz; variable 14 sz = new char[100000]; in SkFile() 20 delete sz; in ~SkFile() local 32 char sz[10000]; in set() local 33 sprintf(sz, "%s\\%ul.callstacks.txt", getenv(CANVAS_PATH), id); in set() 34 file = fopen(sz, "a"); in set() 42 void appendLine(const char* sz) const { in appendLine() argument 47 fprintf(file, "%s\n", sz); in appendLine() 55 LightSymbol::GetCallStack(sz, 100000, " >- "); 56 appendLine(sz);
|
/external/skia/experimental/LightSymbolsUtil/lightsymbols/ |
D | lightsymbols.cc | 30 bool LightSymbol::GetCallStack(char* sz, int len, const char* separator) { in GetCallStack() argument 35 return ls->GetCallStackCore(sz, len, separator); in GetCallStack() 53 bool LightSymbol::GetCallStackCore(char* sz, int len, const char* separator) const { in GetCallStackCore() argument 120 char* szOut = sz; in GetCallStackCore() 151 const char* LightSymbol::trim(char* sz) { in trim() argument 152 if (sz == NULL) return NULL; in trim() 154 while (*sz == ' ' || *sz == '\t' || *sz == '\r' || *sz == '\n' || *sz == ',') in trim() 155 sz++; in trim() 157 if (*sz == '\0') return sz; in trim() 159 int len = strlen(sz); in trim() [all …]
|
D | helper.h | 7 char* sz; variable 14 sz = new char[100000]; in SkFile() 20 delete sz; in ~SkFile() local 32 char sz[10000]; in set() local 33 sprintf(sz, "%s\\%ul.callstacks.txt", getenv(CANVAS_PATH), id); in set() 34 file = fopen(sz, "a"); in set() 42 void appendLine(const char* sz) const { in appendLine() argument 47 fprintf(file, "%s\n", sz); in appendLine() 55 LightSymbol::GetCallStack(sz, 100000, " >- "); 56 appendLine(sz);
|
/external/mesa3d/src/mesa/x86/ |
D | x86_xform.h | 41 #define DECLARE_XFORM_GROUP( pfx, sz ) \ argument 42 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_general( XFORM_ARGS ); \ 43 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_identity( XFORM_ARGS ); \ 44 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d_no_rot( XFORM_ARGS ); \ 45 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_perspective( XFORM_ARGS ); \ 46 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_2d( XFORM_ARGS ); \ 47 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_2d_no_rot( XFORM_ARGS ); \ 48 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d( XFORM_ARGS ); 50 #define ASSIGN_XFORM_GROUP( pfx, sz ) \ argument 51 _mesa_transform_tab[sz][MATRIX_GENERAL] = \ [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
D | x86_xform.h | 41 #define DECLARE_XFORM_GROUP( pfx, sz ) \ argument 42 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_general( XFORM_ARGS ); \ 43 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_identity( XFORM_ARGS ); \ 44 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d_no_rot( XFORM_ARGS ); \ 45 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_perspective( XFORM_ARGS ); \ 46 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_2d( XFORM_ARGS ); \ 47 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_2d_no_rot( XFORM_ARGS ); \ 48 extern void _ASMAPI _mesa_##pfx##_transform_points##sz##_3d( XFORM_ARGS ); 50 #define ASSIGN_XFORM_GROUP( pfx, sz ) \ argument 51 _mesa_transform_tab[sz][MATRIX_GENERAL] = \ [all …]
|
/external/mesa3d/src/mesa/sparc/ |
D | sparc.c | 46 #define DECLARE_XFORM_GROUP(pfx, sz) \ argument 47 extern void _mesa_##pfx##_transform_points##sz##_general(XFORM_ARGS); \ 48 extern void _mesa_##pfx##_transform_points##sz##_identity(XFORM_ARGS); \ 49 extern void _mesa_##pfx##_transform_points##sz##_3d_no_rot(XFORM_ARGS); \ 50 extern void _mesa_##pfx##_transform_points##sz##_perspective(XFORM_ARGS); \ 51 extern void _mesa_##pfx##_transform_points##sz##_2d(XFORM_ARGS); \ 52 extern void _mesa_##pfx##_transform_points##sz##_2d_no_rot(XFORM_ARGS); \ 53 extern void _mesa_##pfx##_transform_points##sz##_3d(XFORM_ARGS); 55 #define ASSIGN_XFORM_GROUP(pfx, sz) \ argument 56 _mesa_transform_tab[sz][MATRIX_GENERAL] = \ [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/sparc/ |
D | sparc.c | 46 #define DECLARE_XFORM_GROUP(pfx, sz) \ argument 47 extern void _mesa_##pfx##_transform_points##sz##_general(XFORM_ARGS); \ 48 extern void _mesa_##pfx##_transform_points##sz##_identity(XFORM_ARGS); \ 49 extern void _mesa_##pfx##_transform_points##sz##_3d_no_rot(XFORM_ARGS); \ 50 extern void _mesa_##pfx##_transform_points##sz##_perspective(XFORM_ARGS); \ 51 extern void _mesa_##pfx##_transform_points##sz##_2d(XFORM_ARGS); \ 52 extern void _mesa_##pfx##_transform_points##sz##_2d_no_rot(XFORM_ARGS); \ 53 extern void _mesa_##pfx##_transform_points##sz##_3d(XFORM_ARGS); 55 #define ASSIGN_XFORM_GROUP(pfx, sz) \ argument 56 _mesa_transform_tab[sz][MATRIX_GENERAL] = \ [all …]
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
D | fetch.c | 79 fetch_gpr(struct fetch_context *context, struct value *value, size_t sz) in fetch_gpr() argument 81 if (sz < 8) in fetch_gpr() 82 sz = 8; in fetch_gpr() 84 unsigned char *buf = value_reserve(value, sz); in fetch_gpr() 89 for (i = 0; i < sz; i += 8) in fetch_gpr() 96 fetch_next_sse(struct fetch_context *context, unsigned char *buf, size_t sz) in fetch_next_sse() argument 99 memcpy(buf, &u, sz); in fetch_next_sse() 103 fetch_sse(struct fetch_context *context, struct value *value, size_t sz) in fetch_sse() argument 105 unsigned char *buf = value_reserve(value, sz); in fetch_sse() 109 fetch_next_sse(context, buf, sz); in fetch_sse() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | debugrm.h | 41 #define racoon_malloc(sz) malloc((sz)) argument 44 #define racoon_calloc(cnt, sz) calloc((cnt), (sz)) argument 47 #define racoon_realloc(old, sz) realloc((old), (sz)) argument 57 #define racoon_malloc(sz) \ argument 58 DRM_malloc(__FILE__, __LINE__, __func__, (sz)) 61 #define racoon_calloc(cnt, sz) \ argument 62 DRM_calloc(__FILE__, __LINE__, __func__, (cnt), (sz)) 65 #define racoon_realloc(old, sz) \ argument 66 DRM_realloc(__FILE__, __LINE__, __func__, (old), (sz)) 87 #define vmalloc(sz) \ argument [all …]
|
D | gcmalloc.h | 91 #define racoon_malloc(sz) GC_debug_malloc(sz, GC_EXTRAS) argument 92 #define racoon_calloc(cnt, sz) GC_debug_malloc(cnt * sz, GC_EXTRAS) argument 93 #define racoon_realloc(old, sz) GC_debug_realloc(old, sz, GC_EXTRAS) argument 111 #define racoon_malloc(sz) malloc((sz)) argument 114 #define racoon_calloc(cnt, sz) calloc((cnt), (sz)) argument 117 #define racoon_realloc(old, sz) realloc((old), (sz)) argument
|
/external/ltrace/sysdeps/linux-gnu/s390/ |
D | fetch.c | 128 size_t sz) in allocate_stack_slot() argument 136 assert(sz <= 8); in allocate_stack_slot() 140 assert(sz <= 8); in allocate_stack_slot() 144 size_t off = sz < a ? a - sz : 0; in allocate_stack_slot() 147 ctx->stack_pointer += sz > a ? sz : a; in allocate_stack_slot() 160 size_t sz) in allocate_gpr() argument 163 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_gpr() 172 size_t sz) in allocate_gpr_pair() argument 175 assert(sz <= 8); in allocate_gpr_pair() 179 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_gpr_pair() [all …]
|
/external/ltrace/sysdeps/linux-gnu/m68k/ |
D | fetch.c | 77 size_t sz = type_sizeof(proc, ret_info); in arch_fetch_arg_init() local 78 if (sz == (size_t)-1) in arch_fetch_arg_init() 81 if (ret_info->type == ARGTYPE_STRUCT && !(sz <= 4 || sz == 8)) { in arch_fetch_arg_init() 109 size_t sz = type_sizeof(proc, info); in arch_fetch_arg_next() local 110 if (sz == (size_t)-1) in arch_fetch_arg_next() 134 if (sz < 4) in arch_fetch_arg_next() 135 context->stack_pointer += 4 - sz; in arch_fetch_arg_next() 138 context->stack_pointer += sz; in arch_fetch_arg_next() 159 size_t sz = type_sizeof(proc, info); in arch_fetch_retval() local 160 if (sz == (size_t)-1) in arch_fetch_retval() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | SwitchData.java | 77 int sz = cases.size(); in SwitchData() local 79 if (sz != targets.length) { in SwitchData() 83 if (sz > 65535) { in SwitchData() 105 int sz = targets.length; in writeTo() local 108 int firstCase = (sz == 0) ? 0 : cases.get(0); in writeTo() 109 int lastCase = (sz == 0) ? 0 : cases.get(sz - 1); in writeTo() 133 out.writeShort(sz); in writeTo() 135 for (int i = 0; i < sz; i++) { in writeTo() 139 for (int i = 0; i < sz; i++) { in writeTo() 166 int sz = targets.length; in argString() local [all …]
|
/external/ltrace/sysdeps/linux-gnu/ppc/ |
D | fetch.c | 149 size_t sz = type_sizeof(proc, info); in allocate_stack_slot() local 150 if (sz == (size_t)-1) in allocate_stack_slot() 167 ctx->stack_pointer += sz; in allocate_stack_slot() 187 align_small_int(unsigned char *buf, size_t w, size_t sz) in align_small_int() argument 201 switch (sz) { in align_small_int() 214 memcpy(buf, u.buf, sz); in align_small_int() 228 size_t sz = type_sizeof(proc, info); in allocate_gpr() local 229 if (sz == (size_t)-1) in allocate_gpr() 231 assert(sz == 1 || sz == 2 || sz == 4 || sz == 8); in allocate_gpr() 232 if (value_reserve(valuep, sz) == NULL) in allocate_gpr() [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/perlasm/ |
D | x86_64-xlate.pl | 114 undef $self->{sz}; 117 $self->{sz} = $2; 119 $self->{sz} = ""; 121 $self->{sz} = ""; 123 $self->{sz} = ""; 125 $self->{sz} = ""; 128 $self->{sz} = $2; 135 my $sz = shift; 136 $self->{sz} = $sz if (defined($sz) && !defined($self->{sz})); 137 $self->{sz}; [all …]
|