| /bionic/libc/arch-mips/string/ |
| memmove.c | 86 /* This code is called when aligning a pointer, there are remaining bytes 186 unsigned long words, unsigned long bytes, void *ret) 219 /* mop up any remaining bytes. */ 220 return do_bytes_aligned (a, b, bytes, ret); 225 unsigned long words, unsigned long bytes, void *ret) 258 /* mop up any remaining bytes. */ 259 return do_bytes_backward (a, b, bytes, ret); 266 unsigned long words, unsigned long bytes, void *ret) 268 return do_bytes_aligned (a, b, (sizeof (reg_t) * words) + bytes, ret); 273 unsigned long words, unsigned long bytes, void *ret 388 unsigned long bytes, words; variable [all...] |
| /bionic/libc/kernel/uapi/linux/netfilter/ |
| xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 #define SCTP_CHUNKMAP_SET(chunkmap,type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while(0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap,type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while(0) 56 ({ ((chunkmap)[type / bytes(__u32)] & (1 << (type % bytes(__u32)))) ? 1 : 0; \
|
| /bionic/libc/malloc_debug/ |
| RecordData.cpp | 149 ssize_t bytes = write(dump_fd, line.c_str(), line.length()); local 150 if (bytes == -1 || static_cast<size_t>(bytes) != line.length()) {
|
| /bionic/tests/ |
| wchar_test.cpp | 35 char bytes[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; local 36 EXPECT_EQ(0U, mbrlen(&bytes[0], 0, NULL)); 37 EXPECT_EQ(1U, mbrlen(&bytes[0], 1, NULL)); 39 EXPECT_EQ(1U, mbrlen(&bytes[4], 1, NULL)); 40 EXPECT_EQ(0U, mbrlen(&bytes[5], 1, NULL)); 50 char bytes[MB_LEN_MAX]; local 53 EXPECT_EQ(1, wctomb(bytes, L'\0')); 54 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', NULL)); 57 memset(bytes, 0, sizeof(bytes)); 121 char bytes[BUFSIZ]; local [all...] |
| /bionic/tools/relocation_packer/src/ |
| elf_file_unittest.cc | 52 size_t bytes; local 54 bytes = fread(buffer, 1, sizeof(buffer), testfile); 55 ASSERT_EQ(bytes, fwrite(buffer, 1, bytes, temporary)); 56 } while (bytes > 0);
|
| /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
| UtilsReceiver.java | 39 public static final String EXTRA_BYTES = "bytes"; 70 final long bytes = (long) (quota * fraction); local 74 while (allocated < bytes) { 93 Log.d(TAG, "Quota " + quota + ", target " + bytes + ", allocated " + allocated);
|
| /cts/hostsidetests/security/securityPatch/CVE-2016-10231/ |
| poc.c | 65 } bytes; member in union:snd_ctl_elem_value::__anon1438
|
| /cts/hostsidetests/security/securityPatch/CVE-2017-0586/ |
| poc.c | 66 } bytes; member in union:snd_ctl_elem_value::__anon1477
|
| /dalvik/dexgen/src/com/android/dexgen/util/ |
| ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
| /dalvik/dx/src/com/android/dx/cf/direct/ |
| AttributeListParser.java | 57 * @param offset offset in {@code bytes} to the start of the list 126 ByteArray bytes = cf.getBytes(); local 129 observer.parsed(bytes, offset, 2, 136 observer.parsed(bytes, at, 0, 149 observer.parsed(bytes, at, 0,
|
| CodeObserver.java | 40 private final ByteArray bytes; field in class:CodeObserver 48 * @param bytes {@code non-null;} actual array of bytecode 51 public CodeObserver(ByteArray bytes, ParseObserver observer) { 52 if (bytes == null) { 53 throw new NullPointerException("bytes == null"); 60 this.bytes = bytes; 66 observer.parsed(bytes, offset, length, header(offset)); 71 observer.parsed(bytes, offset, length, header(offset)); 91 observer.parsed(bytes, offset, length [all...] |
| /dalvik/dx/src/com/android/dx/command/dump/ |
| DotDumper.java | 45 private final byte[] bytes; field in class:DotDumper 52 static void dump(byte[] bytes, String filePath, Args args) { 53 new DotDumper(bytes, filePath, args).run(); 56 DotDumper(byte[] bytes, String filePath, Args args) { 57 this.bytes = bytes; 66 ByteArray ba = new ByteArray(bytes); 96 public void parsed(ByteArray bytes, int offset, int len, String human) { 101 public void startParsingMember(ByteArray bytes, int offset, String name, 106 public void endParsingMember(ByteArray bytes, int offset, String name [all...] |
| /dalvik/dx/src/com/android/dx/util/ |
| ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
| /development/ndk/platforms/android-21/include/linux/netfilter/ |
| xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] |= 1 << (type % bytes(__u32)); } while (0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { (chunkmap)[type / bytes(__u32)] &= ~(1 << (type % bytes(__u32))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ ((chunkmap)[type / bytes (__u32)] & (1 << (type % bytes (__u32)))) ? 1: 0; })
|
| /development/ndk/platforms/android-9/include/linux/netfilter/ |
| xt_sctp.h | 49 #define bytes(type) (sizeof(type) * 8) macro 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
| /development/ndk/platforms/android-9/include/linux/netfilter_ipv4/ |
| ipt_sctp.h | 47 #define bytes(type) (sizeof(type) * 8) macro 49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
| /device/google/dragon/lights/ |
| lights.c | 74 int fd, bytes, amt, ret = 0; local 76 bytes = snprintf(path, sizeof(path), "%s/brightness", 78 if (bytes < 0 || (size_t)bytes >= sizeof(path)) { 80 "failed to create brightness path %d\n", bytes); 91 bytes = snprintf(buffer, sizeof(buffer), "%d\n", brightness); 92 if (bytes < 0 || (size_t)bytes >= sizeof(buffer)) { 95 brightness, bytes); 99 amt = write(fd, buffer, bytes); 116 int ret = 0, fd, bytes; local [all...] |
| /device/lge/bullhead/liblight/ |
| lights.c | 67 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 68 int amt = write(fd, buffer, bytes); 88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); local 89 int amt = write(fd, buffer, bytes);
|
| /external/bison/lib/ |
| mbchar.h | 40 returns the number of bytes occupied by the multibyte sequence. 169 size_t bytes; /* number of bytes of current character, > 0 */ member in struct:mbchar 172 char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */ 175 /* EOF (not a real character) is represented with bytes = 0 and 182 #define mb_len(mbc) ((mbc).bytes) 194 : (mbc1).bytes == (mbc2).bytes \ 195 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ 196 : (mbc1).bytes < (mbc2).bytes [all...] |
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
| ASN1BitString.java | 73 * @return the correct number of bytes for a bit string defined in 83 int bytes = 4; local 90 bytes--; 93 byte[] result = new byte[bytes]; 94 for (int i = 0; i < bytes; i++)
|
| /external/c-ares/ |
| ares_gethostbyaddr.c | 285 unsigned char *bytes = (unsigned char *)&addr->addrV6; local 290 bytes[15]&0xf, bytes[15] >> 4, bytes[14]&0xf, bytes[14] >> 4, 291 bytes[13]&0xf, bytes[13] >> 4, bytes[12]&0xf, bytes[12] >> 4, 292 bytes[11]&0xf, bytes[11] >> 4, bytes[10]&0xf, bytes[10] >> 4 [all...] |
| inet_net_pton.c | 60 * "size" is in bytes and describes "dst". 288 size_t bytes; local 382 bytes = (bits + 7) / 8; 383 if (bytes > size) 385 memcpy(dst, tmp, bytes); 402 * "size" is in bytes and describes "dst".
|
| /external/caliper/examples/src/main/java/examples/ |
| CopyArrayBenchmark.java | 297 @Benchmark int bytes(int reps) { method in class:CopyArrayBenchmark
|
| /external/curl/src/ |
| tool_sdecls.h | 56 * 'bytes' member represents amount written so far. 73 curl_off_t bytes; member in struct:OutStruct
|
| /external/e2fsprogs/debugfs/ |
| dump.c | 216 unsigned bytes = inode->i_size; local 225 retval = ext2fs_file_read(e2_file, p, bytes, &got); 230 bytes -= got; 232 if (got == 0 || bytes == 0)
|