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

<<11121314151617181920>>

  /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...]
sha1.c 44 /* This array contains the bytes used to pad the buffer to the next
63 /* Put result from CTX in first 20 bytes following RESBUF. The result
87 /* Process the remaining bytes in the internal buffer and the usual
95 /* Take yet unprocessed bytes into account. */
96 sha1_uint32 bytes = ctx->buflen; local
99 /* Now count remaining bytes. */
100 ctx->total[0] += bytes;
101 if (ctx->total[0] < bytes)
104 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes
    [all...]
  /external/gptfdisk/
diskio-unix.cc 293 // size with the number of bytes read.
294 // Returns the number of bytes read into buffer.
336 // size with the number of bytes read.
337 // Returns the number of bytes written.
391 off_t bytes = 0; // size in bytes local
420 *err = ioctl(fd, DIOCGMEDIASIZE, &bytes);
422 sectors = bytes / b;
452 bytes = st.st_size;
453 if ((bytes % UINT64_C(512)) != 0
    [all...]
diskio-windows.cc 213 // size with the number of bytes read.
214 // Returns the number of bytes read into buffer.
258 // Returns the number of bytes written.
307 DWORD bytes, moreBytes; // low- and high-order bytes of file size local
326 bytes = GetFileSize(fd, &moreBytes);
327 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize();
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 35 private final int bytes; field in class:MessageDigestHashFunction
41 this.bytes = prototype.getDigestLength();
46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
50 checkArgument(bytes >= 4 && bytes <= maxLength,
51 "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
52 this.bytes = bytes;
66 return bytes * Byte.SIZE
94 private final int bytes; field in class:MessageDigestHashFunction.SerializedForm
120 private final int bytes; field in class:MessageDigestHashFunction.MessageDigestHasher
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractByteHasherTest.java 70 byte[] bytes = new byte[64];
71 random.nextBytes(bytes);
72 String s = new String(bytes, UTF_16LE); // so all random strings are valid
127 byte[] bytes() { method in class:AbstractByteHasherTest.TestHasher
132 assertArrayEquals(expected, bytes());
137 return HashCode.fromBytesNoCopy(bytes());
  /external/guava/guava-tests/test/com/google/common/io/
ByteSinkTest.java 37 private final byte[] bytes = newPreFilledByteArray(10000); field in class:ByteSinkTest
60 sink.write(bytes);
63 assertArrayEquals(bytes, sink.getBytes());
67 ByteArrayInputStream in = new ByteArrayInputStream(bytes);
71 assertArrayEquals(bytes, sink.getBytes());
  /external/icu/android_icu4j/src/main/java/android/icu/text/
BreakIteratorFactory.java 124 ByteBuffer bytes = null; local
136 bytes = ICUBinary.getData(rulesFileName);
146 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes);
DictionaryData.java 49 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
50 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
54 indexes[i] = bytes.getInt();
60 ICUBinary.skipBytes(bytes, diff);
68 bytes.get(data);
72 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);

Completed in 343 milliseconds

<<11121314151617181920>>