Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 131) sorted by relevance

123456

/external/libvpx/vpx_ports/
Dmem_ops_aligned.h42 #define mem_get_ne_aligned_generic(end,sz) \ argument
43 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\
44 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\
48 #define mem_get_sne_aligned_generic(end,sz) \ argument
49 static signed MEM_VALUE_T mem_get_s##end##sz##_aligned(const void *vmem) {\
50 const int##sz##_t *mem = (const int##sz##_t *)vmem;\
54 #define mem_get_se_aligned_generic(end,sz) \ argument
55 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\
56 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\
58 swap_endian_##sz(val,raw);\
[all …]
/external/libvpx/vp8/encoder/
Dquantize.c25 int x, y, z, sz; in vp8_fast_quantize_b_c() local
46 sz = (z >> 31); // sign of z in vp8_fast_quantize_b_c()
47 x = (z ^ sz) - sz; // x = abs(z) in vp8_fast_quantize_b_c()
54 x = (y ^ sz) - sz; // get the sign back in vp8_fast_quantize_b_c()
71 int x, y, z, sz; in vp8_regular_quantize_b() local
99 sz = (z >> 31); // sign of z in vp8_regular_quantize_b()
100 x = (z ^ sz) - sz; // x = abs(z) in vp8_regular_quantize_b()
107 x = (y ^ sz) - sz; // get the sign back in vp8_regular_quantize_b()
131 int sz; in vp8_strict_quantize_b() local
159 sz = -(z < 0); in vp8_strict_quantize_b()
[all …]
/external/ipsec-tools/src/racoon/
Ddebugrm.h41 #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 …]
Dgcmalloc.h91 #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/kernel-headers/original/asm-arm/
Dbitops.h206 #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz) argument
207 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) argument
208 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) argument
209 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) argument
224 #define find_first_zero_bit(p,sz) _find_first_zero_bit_be(p,sz) argument
225 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) argument
226 #define find_first_bit(p,sz) _find_first_bit_be(p,sz) argument
227 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) argument
304 #define ext2_find_first_zero_bit(p,sz) \ argument
305 _find_first_zero_bit_le(p,sz)
[all …]
/external/iproute2/tc/
Dtc_core.c90 unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer) in tc_adjust_size() argument
92 if (sz < mpu) in tc_adjust_size()
93 sz = mpu; in tc_adjust_size()
97 return tc_align_to_atm(sz); in tc_adjust_size()
101 return sz; in tc_adjust_size()
114 unsigned sz; in tc_calc_rtable() local
128 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable()
129 rtab[i] = tc_calc_xmittime(bps, sz); in tc_calc_rtable()
145 unsigned int sz; in tc_calc_size_table() local
172 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer); in tc_calc_size_table()
[all …]
Dtc_util.c280 double sz; in get_size() local
283 sz = strtod(str, &p); in get_size()
289 sz *= 1024; in get_size()
291 sz *= 1024*1024*1024; in get_size()
293 sz *= 1024*1024*1024/8; in get_size()
295 sz *= 1024*1024; in get_size()
297 sz *= 1024*1024/8; in get_size()
299 sz *= 1024/8; in get_size()
304 *size = sz; in get_size()
337 void print_size(char *buf, int len, __u32 sz) in print_size() argument
[all …]
/external/openssl/crypto/perlasm/
Dx86_64-xlate.pl118 undef $self->{sz};
121 $self->{sz} = "b";
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};
143 sprintf "%s%s%s",$self->{op},$self->{sz},shift;
168 $self->{op} .= $self->{sz};
[all …]
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
DSDL_qsort.c180 #define Pivot(swapper,sz) \ argument
181 if ((size_t)(last-first)>PIVOT_THRESHOLD*sz) mid=pivot_big(first,mid,last,sz,compare);\
196 first+=sz; last-=sz; \
204 #define Partition(swapper,sz) { \ argument
207 while (compare(first,pivot)<0) first+=sz; \
208 while (compare(pivot,last)<0) last-=sz; \
211 first+=sz; last-=sz; } \
212 else if (first==last) { first+=sz; last-=sz; break; }\
222 #define PreInsertion(swapper,limit,sz) \ argument
224 last=first + (nmemb>limit ? limit : nmemb-1)*sz;\
[all …]
/external/tcpdump/missing/
Dsnprintf.c70 size_t sz; member
104 if (state->max_sz && state->sz >= state->max_sz)
107 state->sz = max(state->sz * 2, state->sz + n);
109 state->sz = min(state->sz, state->max_sz);
110 tmp = realloc (state->str, state->sz);
115 state->theend = state->str + state->sz - 1;
466 snprintf (char *str, size_t sz, const char *format, ...) in snprintf() argument
472 ret = vsnprintf (str, sz, format, args); in snprintf()
479 tmp = malloc (sz); in snprintf()
574 state.sz = 1;
[all …]
/external/libpcap/missing/
Dsnprintf.c70 size_t sz; member
104 if (state->max_sz && state->sz >= state->max_sz)
107 state->sz = max(state->sz * 2, state->sz + n);
109 state->sz = min(state->sz, state->max_sz);
110 tmp = realloc (state->str, state->sz);
115 state->theend = state->str + state->sz - 1;
466 snprintf (char *str, size_t sz, const char *format, ...) in snprintf() argument
472 ret = vsnprintf (str, sz, format, args); in snprintf()
479 tmp = malloc (sz); in snprintf()
574 state.sz = 1;
[all …]
/external/libvpx/vp8/
Dvp8_dx_iface.c51 unsigned long sz; member
104 mmap->priv = calloc(1, mmap->sz + align); in vp8_mmap_alloc()
106 mmap->priv = malloc(mmap->sz + align); in vp8_mmap_alloc()
138 if (mmaps[i].sz < vp8_mem_req_segs[i].calc_sz(&cfg, init_flags)) in vp8_validate_mmaps()
154 ctx->priv->sz = sizeof(*ctx->priv); in vp8_init_ctx()
162 ctx->priv->alg_priv->si.sz = sizeof(ctx->priv->alg_priv->si); in vp8_init_ctx()
219 mmap.sz = sizeof(vpx_codec_alg_priv_t); in vp8_init()
298 unsigned int sz; in vp8_get_si() local
300 if (si->sz >= sizeof(vp8_stream_info_t)) in vp8_get_si()
301 sz = sizeof(vp8_stream_info_t); in vp8_get_si()
[all …]
/external/quake/quake/src/WinQuake/
Dconproc.cpp223 char upper, *sz; in WriteText() local
225 sz = (LPTSTR) szText; in WriteText()
227 while (*sz) in WriteText()
230 if (*sz == 10) in WriteText()
231 *sz = 13; in WriteText()
233 upper = toupper(*sz); in WriteText()
239 rec.Event.KeyEvent.wVirtualScanCode = CharToCode (*sz); in WriteText()
240 rec.Event.KeyEvent.uChar.AsciiChar = *sz; in WriteText()
241 rec.Event.KeyEvent.uChar.UnicodeChar = *sz; in WriteText()
242 rec.Event.KeyEvent.dwControlKeyState = isupper(*sz) ? 0x80 : 0x0; in WriteText()
[all …]
/external/webkit/WebCore/rendering/
DBidiRun.cpp55 void* BidiRun::operator new(size_t sz, RenderArena* renderArena) throw() in operator new() argument
60 return renderArena->allocate(sz); in operator new()
63 void BidiRun::operator delete(void* ptr, size_t sz) in operator delete() argument
71 *(size_t*)ptr = sz; in operator delete()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DOrderedTable.java73 int sz = size; in add() local
75 switch (sz) { in add()
104 int index = (sz - 4) * 2; in add()
118 size = sz + 1; in add()
136 int sz = size; in get() local
167 int sz = size; in put() local
/external/libvpx/examples/
Dtwopass_encoder.txt57 stats.buf = realloc(stats.buf, stats.sz
58 + pkt->data.twopass_stats.sz);
61 memcpy((char*)stats.buf + stats.sz,
63 pkt->data.twopass_stats.sz);
64 stats.sz += pkt->data.twopass_stats.sz;
/external/tinyxml/
Dtinystr.h205 void init(size_type sz) { init(sz, sz); } in init() argument
206 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; } in set_size() argument
216 void init(size_type sz, size_type cap) in init() argument
221 rep_->str[ rep_->size = sz ] = '\0'; in init()
/external/libvpx/vpx/src/
Dvpx_encoder.c172 && pkt->data.raw.sz in vpx_codec_get_cx_data()
175 <= ctx->priv->enc.cx_data_dst_buf.sz) in vpx_codec_get_cx_data()
180 pkt->data.raw.buf, pkt->data.raw.sz); in vpx_codec_get_cx_data()
183 modified_pkt->data.raw.sz += ctx->priv->enc.cx_data_pad_before in vpx_codec_get_cx_data()
190 ctx->priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in vpx_codec_get_cx_data()
191 ctx->priv->enc.cx_data_dst_buf.sz -= pkt->data.raw.sz; in vpx_codec_get_cx_data()
216 ctx->priv->enc.cx_data_dst_buf.sz = 0; in vpx_codec_set_cx_data_buf()
/external/qemu/android/utils/
Dpath.c526 int sz; in path_load_file() local
538 sz = lseek(fd, 0, SEEK_END); in path_load_file()
539 if(sz < 0) break; in path_load_file()
542 *pSize = (size_t) sz; in path_load_file()
547 data = (char*) malloc(sz + 1); in path_load_file()
550 if (read(fd, data, sz) != sz) in path_load_file()
554 data[sz] = 0; in path_load_file()
/external/libffi/src/pa/
Dffi.c54 size_t sz = t->size; in ffi_struct_type() local
62 if (sz <= 1) in ffi_struct_type()
64 else if (sz == 2) in ffi_struct_type()
66 else if (sz == 3) in ffi_struct_type()
68 else if (sz == 4) in ffi_struct_type()
70 else if (sz == 5) in ffi_struct_type()
72 else if (sz == 6) in ffi_struct_type()
74 else if (sz == 7) in ffi_struct_type()
76 else if (sz <= 8) in ffi_struct_type()
/external/webkit/WebCore/platform/graphics/transforms/
DScaleTransformOperation.h39 …static PassRefPtr<ScaleTransformOperation> create(double sx, double sy, double sz, OperationType t… in create() argument
41 return adoptRef(new ScaleTransformOperation(sx, sy, sz, type)); in create()
70 ScaleTransformOperation(double sx, double sy, double sz, OperationType type) in ScaleTransformOperation() argument
73 , m_z(sz) in ScaleTransformOperation()
/external/zlib/contrib/dotzlib/DotZLib/
DInflater.cs22 private static extern int inflateInit_(ref ZStream sz, string vs, int size); in inflateInit_() argument
25 private static extern int inflate(ref ZStream sz, int flush); in inflate() argument
28 private static extern int inflateReset(ref ZStream sz); in inflateReset() argument
31 private static extern int inflateEnd(ref ZStream sz); in inflateEnd() argument
DDeflater.cs22 private static extern int deflateInit_(ref ZStream sz, int level, string vs, int size); in deflateInit_() argument
25 private static extern int deflate(ref ZStream sz, int flush); in deflate() argument
28 private static extern int deflateReset(ref ZStream sz); in deflateReset() argument
31 private static extern int deflateEnd(ref ZStream sz); in deflateEnd() argument
/external/libvpx/build/make/
Dobj_int_extract.c56 int parse_macho(uint8_t *base_buf, size_t sz) in parse_macho() argument
224 #define COPY_STRUCT(dst, buf, ofst, sz) do {\ argument
225 if(ofst + sizeof((*(dst))) > sz) goto bail;\
241 size_t sz; /* Buffer size */ member
250 COPY_STRUCT(&elf->hdr, elf->buf, 0, elf->sz); in parse_elf32_header()
287 elf->sz); in parse_elf32_section()
319 COPY_STRUCT(sym, elf->buf, ofst, elf->sz); in parse_elf32_symbol()
331 int parse_elf32(uint8_t *buf, size_t sz, output_fmt_t mode) in parse_elf32() argument
341 elf.sz = sz; in parse_elf32()
545 int parse_coff(unsigned __int8 *buf, size_t sz) in parse_coff() argument
/external/oprofile/libutil/
Dop_libiberty.c19 void * xcalloc(size_t n_elem, size_t sz) in xcalloc() argument
21 void * ptr = xmalloc(n_elem * sz); in xcalloc()
23 memset(ptr, '\0', n_elem * sz); in xcalloc()

123456