HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 201 - 225 of 3342) sorted by null

1 2 3 4 5 6 7 891011>>

  /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();
  /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/bn/
random.c 123 int ret = 0, bit, bytes, mask; local
145 bytes = (bits + 7) / 8;
149 buf = OPENSSL_malloc(bytes);
156 if (!RAND_bytes(buf, bytes)) {
177 buf[bytes - 1] |= 1;
180 if (!BN_bin2bn(buf, bytes, rnd)) {
188 OPENSSL_cleanse(buf, bytes);
  /external/boringssl/src/crypto/ec/
p256-x86_64_test.cc 96 std::vector<uint8_t> bytes; local
97 if (!t->GetBytes(&bytes, name)) {
101 if (bytes.size() != BN_BYTES * P256_LIMBS) {
106 // |byte| contains bytes in big-endian while |out| should contain |BN_ULONG|s
109 for (size_t i = 0; i < bytes.size(); i++) {
111 out[P256_LIMBS - 1 - (i / BN_BYTES)] |= bytes[i];
  /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 304 static const uint8_t bytes[]={ local
319 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1);
323 uiter_setLenient8(&iter2, (const char *)bytes, -1);
328 uiter_setLenient8(&iter1, (const char*)bytes, -1);
  /external/icu/icu4c/source/tools/toolutil/
unewdata.c 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/linux/
gen_stats.h 19 * @bytes: number of seen bytes
23 __u64 bytes; member in struct:gnet_stats_basic
27 __u64 bytes; member in struct:gnet_stats_basic_packed
  /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];
  /external/iptables/include/linux/netfilter/
xt_set.h 70 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3
79 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
  /external/kernel-headers/original/uapi/linux/
gen_stats.h 20 * @bytes: number of seen bytes
24 __u64 bytes; member in struct:gnet_stats_basic
28 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/kernel-headers/original/uapi/linux/netfilter/
xt_set.h 70 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3
89 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
  /external/libavc/test/encoder/
input.c 55 WORD32 size, bytes; local
72 bytes = fread(pv_pic_info, 1, size, ps_app_ctxt->fp_pic_info);
73 if(bytes != size)
84 WORD32 bytes; local
112 bytes = fread(pv_mb_info, 1, size, ps_app_ctxt->fp_mb_info);
113 if(bytes != size)
121 WORD32 bytes; local
137 bytes = fread(pu1_buf, sizeof(UWORD8), wd, fp);
138 if(bytes != wd )
161 bytes = fread(pu1_buf, sizeof(UWORD8), wd, fp)
176 WORD32 bytes; local
    [all...]
  /external/libbrillo/brillo/
cryptohome.cc 113 std::vector<uint8_t> bytes; local
115 base::HexStringToBytes(sanitized, &bytes);
  /external/libchrome/base/strings/
string_number_conversions_unittest.cc 807 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local
808 hex = HexEncode(bytes, sizeof(bytes));
  /external/libcups/cups/
sidechannel.c 55 * update the value to contain the number of data bytes in the buffer.
64 int *datalen, /* IO - Size of data buffer on entry, number of bytes in buffer on return */
94 * update the value to contain the number of data bytes in the buffer.
104 int *datalen, /* IO - Size of data buffer on entry, number of bytes in buffer on return */
108 ssize_t bytes; /* Bytes read */ local
183 while ((bytes = read(CUPS_SC_FD, buffer, _CUPS_SC_MAX_BUFFER)) < 0)
197 * Watch for EOF or too few bytes...
200 if (bytes < 4)
202 DEBUG_printf(("1cupsSideChannelRead: Short read of " CUPS_LLFMT " bytes", CUPS_LLCAST bytes))
533 ssize_t bytes; \/* Bytes written *\/ local
    [all...]
testfile.c 228 ssize_t bytes; local
230 while ((bytes = cupsFileRead(fp, line, sizeof(line))) > 0)
231 printf("%s: %d bytes\n", argv[1], (int)bytes);
461 ssize_t bytes; /* Number of bytes read/written */ local
731 for (i = 0, bytes = 0; i < 10000; i ++)
732 if ((bytes = cupsFileRead(fp, (char *)readbuf, sizeof(readbuf))) < 0)
739 else if (bytes > 0)
  /external/libedit/src/
chartype.c 142 ssize_t bytes; local
160 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace);
162 if (bytes == -1) {
166 bytes++; /* include '\0' in the count */
167 bufspace -= (size_t)bytes;
168 p += bytes;

Completed in 1667 milliseconds

1 2 3 4 5 6 7 891011>>