/ndk/sources/host-tools/sed-4.2.1/m4/ |
ssize_t.m4 | 14 [int x = sizeof (ssize_t *) + sizeof (ssize_t);
|
/ndk/tests/device/test-gnustl-full/unit/ |
bsearch_test.cpp | 41 const unsigned count = sizeof(labels) / sizeof(labels[0]);
|
/ndk/tests/device/test-stlport/unit/ |
bsearch_test.cpp | 41 const unsigned count = sizeof(labels) / sizeof(labels[0]);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
arraynew.cpp | 29 p = malloc (13 * sizeof (T)); 46 if (x < sizeof (size_t)) 47 x = sizeof (size_t); 59 if (*sp != sizeof (T)) 67 p = malloc (sizeof (T) * 11 + 100); 76 if (x < sizeof (size_t)) 77 x = sizeof (size_t); 89 if (*sp != sizeof (T))
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
arraynew.cpp | 29 p = malloc (13 * sizeof (T)); 46 if (x < sizeof (size_t)) 47 x = sizeof (size_t); 59 if (*sp != sizeof (T)) 67 p = malloc (sizeof (T) * 11 + 100); 76 if (x < sizeof (size_t)) 77 x = sizeof (size_t); 89 if (*sp != sizeof (T))
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
if_addr.h | 57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 58 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_addr.h | 57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 58 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_addr.h | 57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 58 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/system/core/include/utils/ |
misc.h | 27 # define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0])))
|
/system/extras/tests/bionic/libc/common/ |
test_strftime_2039.c | 17 if (strftime(buff, sizeof buff, "%s", &tm) == 0) { 30 if (strftime(buff, sizeof buff, "%c", &tm) == 0) {
|
/system/vold/ |
VoldUtil.h | 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
|
/external/bluetooth/bluedroid/btif/src/ |
btif_gatt_client.c | 171 memcpy(p_dest_data, p_src_data, sizeof(tBTA_GATTC)); 181 p_dest_data->read.p_value = GKI_getbuf(sizeof(tBTA_GATT_READ_VAL)); 186 sizeof(tBTA_GATT_READ_VAL)); 243 memset(p_dev_cb, 0, sizeof(btif_gattc_dev_cb_t)); 487 btif_config_filter_remove("Remote", exclude_filter, sizeof(exclude_filter)/sizeof(char*), 524 (uint16_t) event, (void*)p_data, sizeof(tBTA_GATTC), btapp_gattc_req_data); 565 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); 577 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); 900 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t)) [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 89 const size_t bits_used = index_.size() * sizeof(index_[0]) * CHAR_BIT + 90 deltas_.size() * sizeof(deltas_[0]) * CHAR_BIT; 92 static const size_t kMaxBitsPerPrefix = sizeof(SBPrefix) * CHAR_BIT; 162 if (size_64 < static_cast<int64>(sizeof(FileHeader) + sizeof(MD5Digest))) 170 size_t read = fread(&header, sizeof(header), 1, file.get()); 178 const size_t index_bytes = sizeof(index[0]) * header.index_size; 181 const size_t deltas_bytes = sizeof(deltas[0]) * header.deltas_size; 185 sizeof(header) + index_bytes + deltas_bytes + sizeof(MD5Digest) [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
prefix_set.cc | 84 const size_t bits_used = index_.size() * sizeof(index_[0]) * CHAR_BIT + 85 deltas_.size() * sizeof(deltas_[0]) * CHAR_BIT; 87 static const size_t kMaxBitsPerPrefix = sizeof(SBPrefix) * CHAR_BIT; 160 if (size_64 < static_cast<int64>(sizeof(FileHeader) + sizeof(MD5Digest))) 168 size_t read = fread(&header, sizeof(header), 1, file.get()); 176 const size_t index_bytes = sizeof(index[0]) * header.index_size; 179 const size_t deltas_bytes = sizeof(deltas[0]) * header.deltas_size; 183 sizeof(header) + index_bytes + deltas_bytes + sizeof(MD5Digest) [all...] |
/external/chromium_org/mojo/system/ |
remote_message_pipe_posix_unittest.cc | 172 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); 198 hello, sizeof(hello), 212 EXPECT_EQ(sizeof(hello), static_cast<size_t>(buffer_size)); 223 world, sizeof(world), 230 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 236 EXPECT_EQ(sizeof(world), static_cast<size_t>(buffer_size)); 263 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); 294 hello, sizeof(hello), 302 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 308 buffer_size = static_cast<uint32_t>(sizeof(buffer)) [all...] |
/external/elfutils/libelf/ |
elf_getarsym.c | 108 sizeof (struct ar_hdr), elf->start_offset + SARMAG) 109 != sizeof (struct ar_hdr)) 121 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) 158 if (pread_retry (elf->fildes, &n, sizeof (n), 159 elf->start_offset + SARMAG + sizeof (struct ar_hdr)) 160 != sizeof (n)) 169 + SARMAG + sizeof (struct ar_hdr)); 181 if (SARMAG + sizeof (struct ar_hdr) + index_size > elf->maximum_size 182 || n * sizeof (uint32_t) > index_size) 191 size_t ar_sym_len = (n + 1) * sizeof (Elf_Arsym) [all...] |
/external/marisa-trie/tests/ |
tail-test.cc | 17 ASSERT(tail.total_size() == sizeof(marisa::UInt32)); 24 ASSERT(tail.total_size() == sizeof(marisa::UInt32)); 33 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size())); 39 keys[0] = marisa::String(binary_key, sizeof(binary_key)); 42 ASSERT(tail.size() == sizeof(binary_key) + 1); 45 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size())); 52 ASSERT(tail.size() == sizeof(binary_key) + 1); 55 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size())); 73 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size())); 80 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size())) [all...] |
/external/marisa-trie/v0_1_5/tests/ |
tail-test.cc | 17 ASSERT(tail.total_size() == sizeof(marisa_alpha::UInt32)); 24 ASSERT(tail.total_size() == sizeof(marisa_alpha::UInt32)); 33 ASSERT(tail.total_size() == (sizeof(marisa_alpha::UInt32) + tail.size())); 39 keys[0] = marisa_alpha::String(binary_key, sizeof(binary_key)); 42 ASSERT(tail.size() == sizeof(binary_key) + 1); 45 ASSERT(tail.total_size() == (sizeof(marisa_alpha::UInt32) + tail.size())); 52 ASSERT(tail.size() == sizeof(binary_key) + 1); 55 ASSERT(tail.total_size() == (sizeof(marisa_alpha::UInt32) + tail.size())); 73 ASSERT(tail.total_size() == (sizeof(marisa_alpha::UInt32) + tail.size())); 80 ASSERT(tail.total_size() == (sizeof(marisa_alpha::UInt32) + tail.size())) [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndfdic.c | 179 if (((ret + char_len + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) { 180 return (size / sizeof(NJ_CHAR)); 189 if (((ret + 1 + NJ_TERM_LEN) * sizeof(NJ_CHAR)) > size) { 190 return (size / sizeof(NJ_CHAR)); 210 size = sizeof(buf); 218 dic_ylen = DATA_YOMI_SIZE(data) / sizeof(NJ_CHAR); 221 if (size < ((dic_ylen + NJ_TERM_LEN) * sizeof(NJ_CHAR))) { 227 area += sizeof(NJ_CHAR); 235 if (size < ((dic_ylen + NJ_TERM_LEN) * sizeof(NJ_CHAR))) { 335 yomilen = njd_f_get_stroke(word, stroke, sizeof(stroke)) [all...] |
/art/runtime/ |
image.cc | 57 memcpy(magic_, kImageMagic, sizeof(kImageMagic)); 58 memcpy(version_, kImageVersion, sizeof(kImageVersion)); 62 if (memcmp(magic_, kImageMagic, sizeof(kImageMagic)) != 0) { 65 if (memcmp(version_, kImageVersion, sizeof(kImageVersion)) != 0) {
|
/bootable/recovery/minui/ |
resources.c | 56 snprintf(resPath, sizeof(resPath)-1, "/res/images/%s.png", name); 57 resPath[sizeof(resPath)-1] = '\0'; 64 size_t bytesRead = fread(header, 1, sizeof(header), fp); 65 if (bytesRead != sizeof(header)) { 70 if (png_sig_cmp(header, 0, sizeof(header))) { 93 png_set_sig_bytes(png_ptr, sizeof(header)); 113 surface = malloc(sizeof(GGLSurface) + pixelSize); 119 surface->version = sizeof(GGLSurface); 209 snprintf(resPath, sizeof(resPath)-1, "/res/images/%s.png", name); 210 resPath[sizeof(resPath)-1] = '\0' [all...] |
/cts/tests/jni/ |
android_net_cts_NetlinkSocket.cpp | 49 struct msghdr msg = {&snl, sizeof(snl), &iov, 1, NULL, 0, 0}; 51 memset(&snl, 0, sizeof(snl)); 72 sizeof(gMethods) / sizeof(JNINativeMethod));
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_sctp.h | 21 #define ELEMCOUNT(x) (sizeof(x)/sizeof(x[0])) 35 u_int32_t chunkmap[256 / sizeof (u_int32_t)]; 49 #define bytes(type) (sizeof(type) * 8)
|
/external/bison/lib/ |
xalloc-oversized.h | 32 sizeof (ptrdiff_t) <= sizeof (size_t), so do not bother to test for 36 ((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n))
|
/external/chromium_org/base/win/ |
startup_information.cc | 40 memset(&startup_info_, 0, sizeof(startup_info_)); 44 startup_info_.StartupInfo.cb = sizeof(STARTUPINFO); 48 startup_info_.StartupInfo.cb = sizeof(startup_info_); 76 if (startup_info_.StartupInfo.cb != sizeof(startup_info_) ||
|