HomeSort by relevance Sort by last modified time
    Searched full:sizeof (Results 326 - 350 of 23619) sorted by null

<<11121314151617181920>>

  /external/webrtc/src/common_audio/resampler/
resampler.cc 285 state1_ = malloc(8 * sizeof(WebRtc_Word32));
286 memset(state1_, 0, 8 * sizeof(WebRtc_Word32));
289 state1_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
294 state1_ = malloc(8 * sizeof(WebRtc_Word32));
295 memset(state1_, 0, 8 * sizeof(WebRtc_Word32));
297 state2_ = malloc(8 * sizeof(WebRtc_Word32));
298 memset(state2_, 0, 8 * sizeof(WebRtc_Word32));
302 state1_ = malloc(8 * sizeof(WebRtc_Word32));
303 memset(state1_, 0, 8 * sizeof(WebRtc_Word32));
305 state2_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz))
    [all...]
  /libcore/luni/src/main/java/java/nio/
ByteArrayBuffer.java 20 import libcore.io.SizeOf;
115 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount);
116 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.CHAR, order.needsSwap);
121 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount);
122 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.DOUBLE, order.needsSwap);
127 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount);
128 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.FLOAT, order.needsSwap);
133 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount);
134 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.INT, order.needsSwap);
139 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount)
    [all...]
  /external/chromium/base/
pickle.cc 24 header_size_(sizeof(Header)),
33 header_size_(AlignInt(header_size, sizeof(uint32))),
36 DCHECK_GE(static_cast<size_t>(header_size), sizeof(Header));
47 if (data_len >= static_cast<int>(sizeof(Header)))
53 if (header_size_ != AlignInt(header_size_, sizeof(uint32)))
115 if (!IteratorHasRoomFor(*iter, sizeof(*result)))
120 // Next line is otherwise the same as: memcpy(result, *iter, sizeof(*result));
123 UpdateIter(iter, sizeof(*result));
132 if (!IteratorHasRoomFor(*iter, sizeof(*result)))
137 memcpy(result, *iter, sizeof(*result))
    [all...]
  /external/chromium_org/net/base/
big_endian_unittest.cc 18 BigEndianReader reader(data, sizeof(data));
22 EXPECT_EQ(reader.remaining(), static_cast<int>(sizeof(data)) - 2);
23 EXPECT_TRUE(reader.ReadBytes(buf, sizeof(buf)));
45 BigEndianReader reader(data, sizeof(data));
64 char data[sizeof(expected)];
66 memset(data, 0, sizeof(data));
67 BigEndianWriter writer(data, sizeof(data));
70 EXPECT_TRUE(writer.WriteBytes(buf, sizeof(buf)));
74 EXPECT_EQ(0, memcmp(expected, data, sizeof(expected)));
83 BigEndianWriter writer(data, sizeof(data))
    [all...]
  /external/clang/test/CodeGen/
ms_struct-bitfield-2.c 126 static int a0[(sizeof (struct_0) == size_struct_0) -1];
127 static int a1[(sizeof (struct_1) == size_struct_1) -1];
128 static int a2[(sizeof (struct_2) == size_struct_2) -1];
129 static int a3[(sizeof (struct_3) == size_struct_3) -1];
130 static int a4[(sizeof (struct_4) == size_struct_4) -1];
131 static int a5[(sizeof (struct_5) == size_struct_5) -1];
132 static int a6[(sizeof (struct_6) == size_struct_6) -1];
133 static int a7[(sizeof (struct_7) == size_struct_7) -1];
134 static int a8[(sizeof (struct_8) == size_struct_8) -1];
135 static int a9[(sizeof (struct_9) == size_struct_9) -1]
    [all...]
ms_struct-bitfield.c 117 static int arr1[(sizeof(t1) == 2) -1];
118 static int arr2[(sizeof(t2) == 2) -1];
119 static int arr3[(sizeof(t3) == 2) -1];
120 static int arr4[(sizeof(t4) == 1) -1];
121 static int arr5[(sizeof(t5) == 1) -1];
122 static int arr6[(sizeof(t6) == 1) -1];
123 static int arr7[(sizeof(t7) == 9) -1];
124 static int arr8[(sizeof(t8) == 0) -1];
125 static int arr9[(sizeof(t9) == 28) -1];
126 static int arr10[(sizeof(t10) == 16) -1]
    [all...]
  /external/dropbear/libtomcrypt/testprof/
dsa_test.c 21 x = sizeof(out);
25 y = sizeof(out2);
34 x = sizeof(out);
35 DO(dsa_sign_hash(msg, sizeof(msg), out, &x, &yarrow_prng, find_prng("yarrow"), &key));
38 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key));
42 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat2, &key));
47 x = sizeof(out2);
52 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2));
57 x = sizeof(out2);
62 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2))
    [all...]
  /external/kernel-headers/original/asm-mips/
siginfo.h 13 #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int))
29 #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
32 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
41 int __pad0[SI_MAX_SIZE / sizeof(int) - SI_PAD_SIZE - 3];
56 char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)];
122 memcpy(to, from, sizeof(*to));
125 memcpy(to, from, 3*sizeof(int) + sizeof(from->_sifields._sigchld))
    [all...]
  /external/wpa_supplicant_8/src/ap/
ieee802_11_vht.c 33 *pos++ = sizeof(*cap);
36 os_memset(cap, 0, sizeof(*cap));
44 pos += sizeof(*cap);
59 *pos++ = sizeof(*oper);
62 os_memset(oper, 0, sizeof(*oper));
79 pos += sizeof(*oper);
90 vht_capab_len < sizeof(struct ieee80211_vht_capabilities) ||
100 os_zalloc(sizeof(struct ieee80211_vht_capabilities));
107 sizeof(struct ieee80211_vht_capabilities));
118 os_memcpy(neg_vht_cap, vht_cap, sizeof(*neg_vht_cap))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
get_weekday_wide.pass.cpp 44 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t);
53 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t);
62 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t);
71 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t);
80 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t)
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
ncnvtst.c 36 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
146 if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
147 expected, sizeof(expected), "ibm-920", 0 , TRUE, U_ZERO_ERROR))
152 if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
153 expected, sizeof(expected), "LATIN_1", 0, TRUE, U_ZERO_ERROR ))
166 if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0])
    [all...]
  /external/icu4c/test/cintltst/
ncnvtst.c 36 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
146 if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
147 expected, sizeof(expected), "ibm-920", 0 , TRUE, U_ZERO_ERROR))
152 if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
153 expected, sizeof(expected), "LATIN_1", 0, TRUE, U_ZERO_ERROR ))
166 if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0])
    [all...]
  /external/qemu/hw/
smbios.c 95 smbios_entries_len = sizeof(uint16_t);
99 sizeof(*field) + len);
102 field->header.length = cpu_to_le16(sizeof(*field) + len);
108 smbios_entries_len += sizeof(*field) + len;
117 if (get_param_value(buf, sizeof(buf), "vendor", t))
120 if (get_param_value(buf, sizeof(buf), "version", t))
123 if (get_param_value(buf, sizeof(buf), "date", t))
127 if (get_param_value(buf, sizeof(buf), "release", t)) {
141 if (get_param_value(buf, sizeof(buf), "manufacturer", t))
144 if (get_param_value(buf, sizeof(buf), "product", t)
    [all...]
  /external/webrtc/src/common_audio/signal_processing/
resample_48khz.c 41 memcpy(tmpmem + 8, state->S_48_32, 8 * sizeof(WebRtc_Word32));
42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(WebRtc_Word32));
55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32));
56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32));
57 memset(state->S_32_16, 0, 8 * sizeof(WebRtc_Word32));
79 memcpy(tmpmem + 8, state->S_32_24, 8 * sizeof(WebRtc_Word32));
80 memcpy(state->S_32_24, tmpmem + 328, 8 * sizeof(WebRtc_Word32));
93 memset(state->S_16_32, 0, 8 * sizeof(WebRtc_Word32));
94 memset(state->S_32_24, 0, 8 * sizeof(WebRtc_Word32));
95 memset(state->S_24_48, 0, 8 * sizeof(WebRtc_Word32))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
get_float.pass.cpp 47 input_iterator<const char*>(str+sizeof(str)),
49 assert(iter.base() == str+sizeof(str)-1);
58 input_iterator<const char*>(str+sizeof(str)),
60 assert(iter.base() == str+sizeof(str)-1);
69 input_iterator<const char*>(str+sizeof(str)),
71 assert(iter.base() == str+sizeof(str)-1);
81 input_iterator<const char*>(str+sizeof(str)),
83 assert(iter.base() == str+sizeof(str)-1);
93 input_iterator<const char*>(str+sizeof(str)),
95 assert(iter.base() == str+sizeof(str)-1)
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
sizeofpack.cpp 7 void abc1(int (*xxx)[sizeof ... (Ts) + 1]);
19 array<sizeof...(Types)> make_array1(Types&&... args);
28 int make_array(array<sizeof...(Types)>&, Types... args);
41 static array<sizeof...(Types)> make_array(Types ... args);
56 using get_t = decltype(sizeof...(Members));
84 void cxx_throw(typename enable_if<(sizeof...(Args) > 0), const char *>::type fmt, Args&&... args) {
104 zod<sizeof...(Ts)> make_zod(Ts ...) {
105 return zod<sizeof...(Ts)>();
136 myType<Arg, sizeof...(Args)>* make_array_with_type(const Args&... args)
158 typedef __typeof__(sizeof(int)) size_t
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
iostream.cpp 18 _ALIGNAS_TYPE (__stdinbuf<char> ) static char __cin [sizeof(__stdinbuf <char>)];
19 _ALIGNAS_TYPE (__stdoutbuf<char>) static char __cout[sizeof(__stdoutbuf<char>)];
20 _ALIGNAS_TYPE (__stdoutbuf<char>) static char __cerr[sizeof(__stdoutbuf<char>)];
21 _ALIGNAS_TYPE (__stdinbuf<wchar_t> ) static char __wcin [sizeof(__stdinbuf <wchar_t>)];
22 _ALIGNAS_TYPE (__stdoutbuf<wchar_t>) static char __wcout[sizeof(__stdoutbuf<wchar_t>)];
23 _ALIGNAS_TYPE (__stdoutbuf<wchar_t>) static char __wcerr[sizeof(__stdoutbuf<wchar_t>)];
25 _ALIGNAS_TYPE (istream) char cin [sizeof(istream)];
26 _ALIGNAS_TYPE (ostream) char cout[sizeof(ostream)];
27 _ALIGNAS_TYPE (ostream) char cerr[sizeof(ostream)];
28 _ALIGNAS_TYPE (ostream) char clog[sizeof(ostream)]
    [all...]
  /development/ndk/platforms/android-3/include/asm-generic/
ioctl.h 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC)
43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
  /external/chromium_org/third_party/leveldatabase/src/util/
crc32c_test.cc 17 memset(buf, 0, sizeof(buf));
18 ASSERT_EQ(0x8a9136aa, Value(buf, sizeof(buf)));
20 memset(buf, 0xff, sizeof(buf));
21 ASSERT_EQ(0x62a8ab43, Value(buf, sizeof(buf)));
26 ASSERT_EQ(0x46dd794e, Value(buf, sizeof(buf)));
31 ASSERT_EQ(0x113fdb5c, Value(buf, sizeof(buf)));
47 ASSERT_EQ(0xd9963a56, Value(reinterpret_cast<char*>(data), sizeof(data)));
  /external/clang/test/Sema/
extern-redecl.c 29 int test2v = sizeof(test2_array); // expected-error {{invalid application of 'sizeof' to an incomplete type 'int []'}}
34 int x = sizeof(test3_array); // expected-error {{invalid application of 'sizeof' to an incomplete type 'int []'}}
41 int x = sizeof(test4_array); // fine
43 int x = sizeof(test4_array); // expected-error {{invalid application of 'sizeof' to an incomplete type 'int []'}}
merge-decls.c 37 int x = sizeof(i6096412);
49 (void)sizeof(*test1_f());
60 (void)sizeof(*test2_f());
65 int test3_k = sizeof(*test3_f());
71 int v[sizeof(a) == 1 ? 1 : -1];
76 return sizeof(*x); // expected-error {{invalid application of 'sizeof' to an incomplete type 'int []'}}
  /external/valgrind/main/none/tests/
fdleak_ipv4.c 18 socklen_t baddrsize = sizeof(baddr);
23 DO( setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(int)) );
24 memset(&addr, 0, sizeof(addr));
29 DO( bind(s, (struct sockaddr *)&addr, sizeof(addr)) );
33 memset(&baddr, 0, sizeof(baddr));
52 ret = connect(s, (struct sockaddr *)&addr, sizeof(addr));
66 DO( read(s, buf, sizeof(buf)) );
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/asm-generic/
ioctl.h 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC)
43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/asm-generic/
ioctl.h 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC)
43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/asm-generic/
ioctl.h 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC)
43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))

Completed in 1927 milliseconds

<<11121314151617181920>>