HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 276 - 300 of 2623) sorted by null

<<11121314151617181920>>

  /art/runtime/
thread-inl.h 236 inline mirror::Object* Thread::AllocTlab(size_t bytes) {
237 DCHECK_GE(TlabSize(), bytes); local
240 tlsPtr_.thread_local_pos += bytes;
  /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/tests/
wchar_test.cpp 33 char bytes[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; local
34 EXPECT_EQ(0U, mbrlen(&bytes[0], 0, NULL));
35 EXPECT_EQ(1U, mbrlen(&bytes[0], 1, NULL));
37 EXPECT_EQ(1U, mbrlen(&bytes[4], 1, NULL));
38 EXPECT_EQ(0U, mbrlen(&bytes[5], 1, NULL));
48 char bytes[MB_LEN_MAX]; local
51 EXPECT_EQ(1, wctomb(bytes, L'\0'));
52 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', NULL));
55 memset(bytes, 0, sizeof(bytes));
119 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);
  /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 44 private final byte[] bytes; field in class:DotDumper
50 static void dump(byte[] bytes, String filePath, Args args) {
51 new DotDumper(bytes, filePath, args).run();
54 DotDumper(byte[] bytes, String filePath, Args args) {
55 this.bytes = bytes;
63 ByteArray ba = new ByteArray(bytes);
93 public void parsed(ByteArray bytes, int offset, int len, String human) {
98 public void startParsingMember(ByteArray bytes, int offset, String name,
103 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-3/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-3/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/avahi/avahi-autoipd/
iface-linux.c 183 size_t bytes; local
221 bytes = (size_t) r;
223 for (; bytes > 0; p = NLMSG_NEXT(p, bytes)) {
225 if (!NLMSG_OK(p, bytes) || bytes < sizeof(struct nlmsghdr) || bytes < p->nlmsg_len) {
  /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/chromium-trace/catapult/third_party/Paste/paste/debug/
fsdiff.py 77 t += ' (%s bytes)' % f.size
177 actual_content = file.bytes
183 msg = 'differ (%i bytes smaller)' % (
186 msg = 'differ (%i bytes larger)' % (
221 ``bytes``:
246 bytes = property(bytes__get) variable in class:File
249 return s in self.bytes
253 bytes = self.bytes
254 if s not in bytes
289 bytes = property(bytes__get) variable in class:Dir
    [all...]
  /external/curl/src/
tool_sdecls.h 56 * 'bytes' member represents amount written so far.
73 curl_off_t bytes; member in struct:OutStruct
  /external/dexmaker/src/dx/java/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...]
  /external/e2fsprogs/debugfs/
dump.c 218 unsigned bytes = inode->i_size; local
227 retval = ext2fs_file_read(e2_file, p, bytes, &got);
232 bytes -= got;
234 if (got == 0 || bytes == 0)
  /external/elfutils/lib/
md5.c 44 /* This array contains the bytes used to pad the buffer to the next
63 /* Put result from CTX in first 16 bytes following RESBUF. The result
89 /* Process the remaining bytes in the internal buffer and the usual
97 /* Take yet unprocessed bytes into account. */
98 md5_uint32 bytes = ctx->buflen; local
101 /* Now count remaining bytes. */
102 ctx->total[0] += bytes;
103 if (ctx->total[0] < bytes)
106 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes
    [all...]

Completed in 1756 milliseconds

<<11121314151617181920>>