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

<<11121314151617181920>>

  /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:__anon20741
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/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_debug.cpp 141 const uint8_t *Bytes;
144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) :
145 Bytes(bytes), Length(length)
163 *byte = Bytes[addr];
183 const uint8_t *bytes = (const uint8_t *)func; local
290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent);
317 * Output the bytes in hexidecimal format.
323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]);
423 debug_printf("disassemble %p %p\n", bytes, bytes + pc)
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_transfer.c 227 unsigned bytes = MIN2(size, 1 << 17); local
236 PUSH_DATA (push, bytes);
241 srcoff += bytes;
242 dstoff += bytes;
243 size -= bytes;
  /external/mesa3d/src/glsl/
main.cpp 83 size_t bytes = fread(text + total_read, local
85 if (bytes < size - total_read) {
91 if (bytes == 0) {
95 total_read += bytes;
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_dma.c 216 aligned to next 16 bytes. */
267 int bytes, int alignment)
270 fprintf(stderr, "%s %d\n", __FUNCTION__, bytes);
281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size)
282 radeonRefillCurrentDmaRegion(rmesa, bytes);
288 /* Always align to at least 16 bytes */
289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15;
454 GLuint bytes = vsize * nverts; local
460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) {
465 radeonRefillCurrentDmaRegion(rmesa, bytes);
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_texture.c 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, local
75 swImg->Buffer = _mesa_align_malloc(bytes, 512);
181 * \param rowStrideOut returns row stride (in 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];
  /external/okhttp/src/main/java/com/squareup/okhttp/
Response.java 125 public byte[] bytes() throws IOException { method in class:Response.Body
146 * Returns the response bytes as a UTF-8 character stream. Do not call this
155 * Returns the response bytes as a UTF-8 string. Do not call this method if
160 return new String(bytes(), "UTF-8");
  /external/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java 42 * Immutable array of bytes.
48 private final byte[] bytes; field in class:ByteString
50 private ByteString(final byte[] bytes) {
51 this.bytes = bytes;
60 return bytes[index];
64 * Gets the number of bytes.
67 return bytes.length;
74 return bytes.length == 0;
86 * Copies the given bytes into a {@code ByteString}
    [all...]
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_impl_lite.cc 193 int bytes = Read(junk, min(count - skipped, local
195 if (bytes <= 0) {
199 skipped += bytes;
259 << " Can't back up over more bytes than were returned by the last call"
275 // First skip any bytes left over from a previous BackUp().
349 << " Can't back up over more bytes than were returned by the last call"
  /external/qemu/audio/
noaudio.c 47 int64_t bytes; local
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
52 bytes = audio_MIN (bytes, INT_MAX);
53 samples = bytes >> hw->info.shift;
107 int64_t bytes = local
111 bytes = audio_MIN (bytes, INT_MAX);
112 samples = bytes >> hw->info.shift;
wavcapture.c 7 int bytes; member in struct:__anon26601
36 uint32_t datalen = wav->bytes;
59 wav->bytes += size;
74 monitor_printf(cur_mon, "Capturing audio(%d,%d,%d) to %s: %d bytes\n",
76 path ? path : "<not available>", wav->bytes);
  /external/skia/src/core/
SkWriter32.cpp 167 // Pad the last four bytes with zeroes in one step.
195 size_t bytes = stream->read(scratch, n); local
196 this->writePad(scratch, bytes);
197 remaining -= bytes;
198 if (bytes != n) {
244 * Strings are stored as: length[4-bytes] + string_data + '\0' + pad_to_mul_4
303 const size_t lenBytes = 4; // we use 4 bytes to record the length

Completed in 1034 milliseconds

<<11121314151617181920>>