/device/htc/flounder/lights/ |
lights.c | 44 int bytes = snprintf(buffer, 20, "%d\n", value); local 45 int amt = write(fd, buffer, bytes);
|
/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/autotest/client/tests/ffsb/ |
ffsb.py | 28 bytes = {'K':1024 , 'k':1024, variable in class:ffsb 78 usrmaxflsz = int(usrmaxflsz[0:-1]) * self.bytes[usrmaxflsz[-1]]
|
/external/avahi/avahi-core/ |
netlink.c | 47 ssize_t bytes; local 68 if ((bytes = recvmsg(nl->fd, &smsg, 0)) < 0) { 92 for (; bytes > 0; p = NLMSG_NEXT(p, bytes)) { 93 if (!NLMSG_OK(p, (size_t) bytes)) {
|
/external/boringssl/src/crypto/bn/ |
random.c | 120 int ret = 0, bit, bytes, mask; local 131 bytes = (bits + 7) / 8; 135 buf = OPENSSL_malloc(bytes); 142 if (!RAND_bytes(buf, bytes)) { 163 buf[bytes - 1] |= 1; 166 if (!BN_bin2bn(buf, bytes, rnd)) { 174 OPENSSL_cleanse(buf, bytes);
|
/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 this.bytes = bytes; 107 return new BigInteger(bytes); 117 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length [all...] |
/external/dbus/tools/ |
dbus-print-message.c | 57 print_hex (unsigned char *bytes, unsigned int len, int depth) 61 printf ("array of bytes [\n"); 75 printf ("%02x", bytes[i]); 105 unsigned char *bytes = malloc (DEFAULT_SIZE + 1); local 117 bytes[len] = val; 126 bytes = realloc (bytes, max + 1); 134 bytes[len] = '\0'; 135 printf ("array of bytes \"%s\"\n", bytes); [all...] |
/external/e2fsprogs/lib/blkid/ |
getsize.c | 54 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ 73 * Returns the number of bytes in a partition 195 long long bytes; local 207 bytes = blkid_get_dev_size(fd); 209 (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 | 32 public byte[] bytes; field in class:ByteArrayWrapper 36 * Different from bytes.length, size will be <= bytes.length. 47 // leave bytes null, don't allocate twice 61 this.bytes = bytesToAdopt; 71 bytes = new byte[size]; 72 source.get(bytes,0,size); 80 bytes = new byte[size]; 81 copyBytes(source.bytes, 0, bytes, 0, size) [all...] |
/external/icu/icu4c/source/samples/uciter8/ |
uciter8.c | 298 static const uint8_t bytes[]={ local 313 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1); 317 uiter_setLenient8(&iter2, (const char *)bytes, -1); 322 uiter_setLenient8(&iter1, (const char*)bytes, -1);
|
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 41 uint8_t bytes[16]; local 130 /* write padding bytes to align the data section to 16 bytes */ 134 uprv_memset(bytes, 0, headerSize); 135 T_FileStream_write(pData->file, bytes, headerSize);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ByteArrayWrapper.java | 32 public byte[] bytes; field in class:ByteArrayWrapper 36 * Different from bytes.length, size will be <= bytes.length. 49 // leave bytes null, don't allocate twice 64 this.bytes = bytesToAdopt; 75 bytes = new byte[size]; 76 source.get(bytes,0,size); 84 bytes = new byte[size]; 85 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 | 73 unsigned char bytes[2]; local 74 if (recv(control, &bytes[0], 1, 0) != 1 || 75 recv(control, &bytes[1], 1, 0) != 1) { 79 int length = bytes[0] << 8 | bytes[1];
|
/external/iptables/include/linux/netfilter/ |
xt_set.h | 70 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v3
|
/external/kernel-headers/original/uapi/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/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 | 805 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local 806 hex = HexEncode(bytes, sizeof(bytes));
|
/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;
|