HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 151 - 175 of 817) sorted by null

1 2 3 4 5 67 8 91011>>

  /device/asus/grouper/liblights/
lights.c 43 int bytes = sprintf(buffer, "%d\n", value); local
44 int amt = write(fd, buffer, bytes);
  /device/samsung/tuna/liblight/
lights.c 62 int bytes = sprintf(buffer, "%d\n", value); local
63 int amt = write(fd, buffer, bytes);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
AttributedCharacterIteratorAttributeTest.java 75 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
76 out = new ObjectOutputStream(bytes);
93 in = new ObjectInputStream(new ByteArrayInputStream(bytes
DataFormatFieldTest.java 178 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
179 out = new ObjectOutputStream(bytes);
193 in = new ObjectInputStream(new ByteArrayInputStream(bytes
  /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/
DERBitString.java 69 * return the correct number of bytes for a bit string defined in
74 int bytes = 4; local
81 bytes--;
84 byte[] result = new byte[bytes];
85 for (int i = 0; i < bytes; i++)
216 byte[] bytes = new byte[getBytes().length + 1];
218 bytes[0] = (byte)getPadBits();
219 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local
221 out.writeEncoded(BERTags.BIT_STRING, bytes);
    [all...]
  /external/chromium/chrome/browser/policy/
user_policy_cache.cc 249 std::string bytes = value.bytes_value(); local
250 return BinaryValue::CreateWithCopiedBuffer(bytes.c_str(), bytes.size());
  /external/chromium/net/disk_cache/
file_posix.cc 140 int bytes = operation->result(); local
144 callback->OnFileIOComplete(bytes);
  /external/chromium/net/tools/flip_server/
flip_in_mem_edsm_server.cc 150 int bytes = static_cast<int>(strlen(pid_str)); local
151 if (write(fd, pid_str, strlen(pid_str)) != bytes) {
  /external/chromium/third_party/libevent/
event_tagging.c 124 int bytes = 0; local
135 data[bytes++] = lower;
139 evbuffer_add(evbuf, data, bytes);
141 return (bytes);
184 * tag number: one byte; length: var bytes; payload: var bytes
  /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/dhcpcd/
common.c 88 ssize_t bytes; local
98 bytes = getline(&lbuf, &lbuf_len, fp);
99 if (bytes == -1)
104 if (lbuf[--bytes] == '\n')
105 lbuf[bytes] = '\0';
261 syslog(LOG_ERR, "memory exhausted (xalloc %zu bytes)", s);
282 syslog(LOG_ERR, "memory exhausted (xrealloc %zu bytes)", s);
  /external/dropbear/
buffer.c 184 * the next len bytes from that position can be used */
204 * Note that the string isn't checked for null bytes, hence the retlen
258 /* put the set of len bytes into the buffer, incrementing the pos, increasing
260 void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len) {
261 memcpy(buf_getwriteptr(buf, len), bytes, len); local
  /external/e2fsprogs/debugfs/
dump.c 206 unsigned bytes = inode->i_size; local
215 retval = ext2fs_file_read(e2_file, p, bytes, &got);
220 bytes -= got;
222 if (got == 0 || bytes == 0)
  /external/elfutils/lib/
md5.c 47 /* This array contains the bytes used to pad the buffer to the next
67 /* Put result from CTX in first 16 bytes following RESBUF. The result
85 /* Process the remaining bytes in the internal buffer and the usual
95 /* Take yet unprocessed bytes into account. */
96 md5_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...]
sha1.c 47 /* This array contains the bytes used to pad the buffer to the next
67 /* Put result from CTX in first 20 bytes following RESBUF. The result
86 /* Process the remaining bytes in the internal buffer and the usual
96 /* Take yet unprocessed bytes into account. */
97 sha1_uint32 bytes = ctx->buflen; local
100 /* Now count remaining bytes. */
101 ctx->total[0] += bytes;
102 if (ctx->total[0] < bytes)
105 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodesTest.java 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above
30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
46 // expectedHashCodes must contain at least one hash code with 4 bytes
49 if (expected.bytes.length == 4) {
56 // expectedHashCodes must contain at least one hash code with 8 bytes
59 if (expected.bytes.length == 8) {
68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes);
74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes()));
77 assertTrue(Arrays.equals(expected.bytes, bb));
104 for (int bytes = 0; bytes < totalBytes; bytes++)
113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode
    [all...]
  /external/harfbuzz_ng/contrib/python/scripts/
hbtestfont 41 bytes = text.encode('utf_8') variable
42 buffer = harfbuzz.buffer(bytes, len(text))
  /external/icu4c/io/
ufmt_cmn.c 170 uint8_t bytes[sizeof(void*)]; member in union:__anon8727
214 result.bytes[resultIdx] = byte;
  /external/icu4c/test/intltest/
convtest.h 38 const uint8_t *bytes; member in struct:ConversionCase
  /external/iptables/include/linux/netfilter/
xt_sctp.h 38 #define bytes(type) (sizeof(type) * 8) macro
42 (chunkmap)[type / bytes(__u32)] |= \
43 1 << (type % bytes(__u32)); \
48 (chunkmap)[type / bytes(__u32)] &= \
49 ~(1 << (type % bytes(__u32))); \
54 ((chunkmap)[type / bytes (__u32)] & \
55 (1 << (type % bytes (__u32)))) ? 1: 0; \
  /external/kernel-headers/original/linux/netfilter/
xt_sctp.h 39 #define bytes(type) (sizeof(type) * 8) macro
43 chunkmap[type / bytes(u_int32_t)] |= \
44 1 << (type % bytes(u_int32_t)); \
49 chunkmap[type / bytes(u_int32_t)] &= \
50 ~(1 << (type % bytes(u_int32_t))); \
55 (chunkmap[type / bytes (u_int32_t)] & \
56 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
  /external/kernel-headers/original/linux/netfilter_ipv4/
ipt_sctp.h 37 #define bytes(type) (sizeof(type) * 8) macro
41 chunkmap[type / bytes(u_int32_t)] |= \
42 1 << (type % bytes(u_int32_t)); \
47 chunkmap[type / bytes(u_int32_t)] &= \
48 ~(1 << (type % bytes(u_int32_t))); \
53 (chunkmap[type / bytes (u_int32_t)] & \
54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
  /external/libppp/src/
link.c 134 size_t len, bytes; local
137 bytes = 0;
142 bytes += m_length(m);
147 return bytes;
  /external/mtpd/
mtpd.c 120 unsigned char bytes[2]; local
121 if (recv(control, &bytes[0], 1, 0) != 1 ||
122 recv(control, &bytes[1], 1, 0) != 1) {
126 int length = bytes[0] << 8 | bytes[1];

Completed in 1010 milliseconds

1 2 3 4 5 67 8 91011>>