HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 251 - 275 of 3210) sorted by null

<<11121314151617181920>>

  /prebuilts/tools/common/m2/repository/it/unimi/dsi/fastutil/7.2.0/
fastutil-7.2.0.jar 
  /bionic/benchmarks/tests/
interface_test.cpp 118 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer, sizeof(buffer) - 1)); local
119 if (bytes == -1 && errno == EAGAIN) {
122 ASSERT_NE(-1, bytes);
123 if (bytes == 0) {
126 buffer[bytes] = '\0';
    [all...]
  /bionic/libc/kernel/uapi/linux/
gen_stats.h 34 __u64 bytes; member in struct:gnet_stats_basic
38 __u64 bytes; member in struct:gnet_stats_basic_packed
  /bionic/libc/kernel/uapi/linux/netfilter/
xt_set.h 65 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3
78 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
  /bootable/recovery/
recovery-persist.cpp 69 size_t bytes; local
70 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) {
71 fwrite(buf, 1, bytes, dest_fp);
  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeFactory.java 56 * Parses and makes an attribute based on the bytes at the
64 * @param offset offset into {@code dcf}'s {@code bytes}
82 ByteArray bytes = cf.getBytes(); local
84 int nameIdx = bytes.getUnsignedShort(offset);
85 int length = bytes.getInt(offset + 2);
90 observer.parsed(bytes, offset, 2,
92 observer.parsed(bytes, offset + 2, 4,
115 * @param offset offset into {@code bytes} to start parsing at; this
124 ByteArray bytes = cf.getBytes(); local
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool)
    [all...]
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
ChatManager.java 37 int bytes; local
44 bytes = iStream.read(buffer);
45 if (bytes == -1) {
49 // Send the obtained bytes to the UI Activity
52 bytes, -1, buffer).sendToTarget();
  /device/google/cuttlefish_common/common/vsoc/lib/
circqueue_impl.h 40 size_t bytes = t.end_idx - t.start_idx; local
42 if (index + bytes <= BufferSize) {
43 std::memcpy(buffer_ + index, buffer_in, bytes);
46 size_t part2_size = bytes - part1_size;
84 RegionSignalingInterface* r, size_t bytes, Range* t, bool non_blocking) {
86 if (bytes > BufferSize) {
94 if (available >= bytes) {
96 t->end_idx = o_w_pub + bytes;
103 // some bytes.
133 const char* buffer_in, size_t bytes,
194 size_t bytes = 0; local
    [all...]
  /device/google/cuttlefish_common/host/vsoc/lib/
region_control.cpp 204 ssize_t bytes = region_server->Recv(&protocol_version, local
206 if (bytes != sizeof(protocol_version)) {
207 LOG(FATAL) << "Failed to recv protocol version; res=" << bytes << " ("
220 bytes = region_server->Send(&size, sizeof(size), MSG_NOSIGNAL);
221 if (bytes != sizeof(size)) {
222 LOG(FATAL) << "Failed to send region name length; res=" << bytes << " ("
227 bytes = region_server->Send(region_name, size, MSG_NOSIGNAL);
228 if (bytes != size) {
229 LOG(FATAL) << "Failed to send region name; res=" << bytes << " ("
243 bytes = region_server->RecvMsgAndFDs(hdr, 0, &fds)
    [all...]
  /external/adhd/cras/src/common/
byte_buffer.h 16 uint8_t bytes[]; member in struct:byte_buffer
77 return &buf->bytes[buf->read_idx];
97 return &buf->bytes[buf->write_idx];
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CTarget.java 196 String bytes; local
262 bytes = buf.toString();
263 index = strings.indexOf(bytes);
266 strings.add(bytes);
267 index = strings.indexOf(bytes);
  /external/boringssl/src/crypto/fipsmodule/ec/
p256-x86_64_test.cc 61 EXPECT_EQ(Bytes(reinterpret_cast<const char *>(&expected), sizeof(expected)),
62 Bytes(reinterpret_cast<const char *>(&val), sizeof(val)));
85 EXPECT_EQ(Bytes(reinterpret_cast<const char *>(&expected), sizeof(expected)),
86 Bytes(reinterpret_cast<const char *>(&val), sizeof(val)));
92 std::vector<uint8_t> bytes; local
93 if (!t->GetBytes(&bytes, name)) {
97 if (bytes.size() != BN_BYTES * P256_LIMBS) {
102 // |byte| contains bytes in big-endian while |out| should contain |BN_ULONG|s
105 for (size_t i = 0; i < bytes.size(); i++) {
107 out[P256_LIMBS - 1 - (i / BN_BYTES)] |= bytes[i]
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1Enumerated.java 14 private final byte[] bytes; field in class:ASN1Enumerated
80 bytes = BigInteger.valueOf(value).toByteArray();
91 bytes = value.toByteArray();
97 * @param bytes the value of this enumerated as an encoded BigInteger (signed).
100 byte[] bytes)
102 if (bytes.length > 1)
104 if (bytes[0] == 0 && (bytes[1] & 0x80) == 0)
108 if (bytes[0] == (byte)0xff && (bytes[1] & 0x80) != 0
    [all...]
  /external/e2fsprogs/lib/blkid/
getsize.c 55 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */
74 * Returns the number of bytes in a partition
196 long long bytes; local
208 bytes = blkid_get_dev_size(fd);
210 (unsigned long long)bytes >> 10);
  /external/google-breakpad/src/third_party/libdisasm/
x86_disasm.c 20 unsigned char bytes[MAX_INSTRUCTION_SIZE]; local
44 /* copy enough bytes for disassembly into buffer : this
46 memset( bytes, 0, MAX_INSTRUCTION_SIZE );
47 memcpy( bytes, &buf[offset], (len < MAX_INSTRUCTION_SIZE) ? len :
52 size = ia32_disasm_addr( bytes, len, insn);
63 MAKE_INVALID( insn, bytes );
67 /* fill bytes field of insn */
68 memcpy( insn->bytes, bytes, size );
77 unsigned int buf_len, size, count = 0, bytes = 0 local
135 unsigned int size, count = 0, bytes = 0, cont = 1; local
    [all...]
  /external/guava/guava/src/com/google/common/hash/
AbstractByteHasher.java 31 * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
32 * ByteBuffer} and streams all bytes to a sink to compute the hash.
46 * Updates this hasher with the given bytes.
53 * Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer.
68 public Hasher putBytes(byte[] bytes) {
69 checkNotNull(bytes);
70 update(bytes);
75 public Hasher putBytes(byte[] bytes, int off, int len) {
76 checkPositionIndexes(off, off + len, bytes.length);
77 update(bytes, off, len)
86 update(scratch.array(), 0, bytes); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
MultimapBuilderTest.java 101 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
102 new ObjectOutputStream(bytes).writeObject(object);
103 return new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())).readObject();
  /external/guava/guava-tests/test/com/google/common/hash/
MessageDigestHashFunctionTest.java 102 for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
104 HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)), local
105 new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
  /external/icu/android_icu4j/src/main/java/android/icu/util/
ByteArrayWrapper.java 34 public byte[] bytes; field in class:ByteArrayWrapper
38 * Different from bytes.length, size will be &lt;= bytes.length.
49 // leave bytes null, don't allocate twice
63 this.bytes = bytesToAdopt;
73 bytes = new byte[size];
74 source.get(bytes,0,size);
82 bytes = new byte[size];
83 copyBytes(source.bytes, 0, bytes, 0, size)
    [all...]
  /external/icu/icu4c/source/samples/uciter8/
uciter8.c 308 static const uint8_t bytes[]={ local
323 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1);
327 uiter_setLenient8(&iter2, (const char *)bytes, -1);
332 uiter_setLenient8(&iter1, (const char*)bytes, -1);
  /external/icu/icu4c/source/tools/toolutil/
unewdata.cpp 43 uint8_t bytes[16]; local
132 /* write padding bytes to align the data section to 16 bytes */
136 uprv_memset(bytes, 0, headerSize);
137 T_FileStream_write(pData->file, bytes, headerSize);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
ByteArrayWrapper.java 34 public byte[] bytes; field in class:ByteArrayWrapper
38 * Different from bytes.length, size will be &lt;= bytes.length.
51 // leave bytes null, don't allocate twice
66 this.bytes = bytesToAdopt;
77 bytes = new byte[size];
78 source.get(bytes,0,size);
86 bytes = new byte[size];
87 copyBytes(source.bytes, 0, bytes, 0, size)
    [all...]
  /external/iproute2/include/uapi/linux/
gen_stats.h 21 * @bytes: number of seen bytes
25 __u64 bytes; member in struct:gnet_stats_basic
29 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/iproute2/include/uapi/linux/netfilter/
xt_set.h 71 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3
90 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
  /external/ipsec-tools/
main.c 71 unsigned char bytes[2]; local
72 if (recv(control, &bytes[0], 1, 0) != 1 ||
73 recv(control, &bytes[1], 1, 0) != 1) {
77 int length = bytes[0] << 8 | bytes[1];

Completed in 433 milliseconds

<<11121314151617181920>>