HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 551 - 575 of 2455) sorted by null

<<21222324252627282930>>

  /external/pdfium/xfa/src/fxbarcode/pdf417/
BC_PDF417HighLevelEncoder.cpp 58 CFX_ByteString bytes; local
59 CBC_UtilCodingConvert::UnicodeToUTF8(wideMsg, bytes);
61 int32_t len = bytes.GetLength();
63 FX_WCHAR ch = (FX_WCHAR)(bytes.GetAt(i) & 0xff);
64 if (ch == '?' && bytes.GetAt(i) != '?') {
71 for (int32_t k = 0; k < bytes.GetLength(); k++) {
72 byteArr.Add(bytes.GetAt(k));
80 } else if (compaction == BYTES) {
262 void CBC_PDF417HighLevelEncoder::encodeBinary(CFX_ByteArray* bytes,
279 t += bytes->GetAt(idx + i) & 0xff;
    [all...]
  /external/piex/src/binary_parse/
range_checked_byte_ptr.cc 144 std::vector<unsigned char> bytes = extractBytes(pos, length); local
146 result.reserve(bytes.size());
147 for (size_t i = 0; i < bytes.size(); ++i) {
148 result.push_back(static_cast<char>(bytes[i]));
  /external/proguard/src/proguard/classfile/constant/
Utf8Constant.java 54 // Initially, we're storing the UTF-8 bytes in a byte array.
59 private byte[] bytes; field in class:Utf8Constant
78 this.bytes = null;
84 * Initializes the UTF-8 data with an array of bytes.
86 public void setBytes(byte[] bytes)
88 this.bytes = bytes;
94 * Returns the UTF-8 data as an array of bytes.
107 return bytes;
116 this.bytes = null
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
LiteralByteString.java 45 * single array of bytes, contiguous in memory. It supports substring by
54 protected final byte[] bytes; field in class:LiteralByteString
60 * @param bytes array to wrap
62 LiteralByteString(byte[] bytes) {
63 this.bytes = bytes;
71 return bytes[index];
76 return bytes.length;
103 result = new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex,
117 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy)
    [all...]
  /external/protobuf/src/google/protobuf/io/
coded_stream_unittest.cc 127 // Helper method used by tests for bytes warning. See implementation comment
151 uint8 bytes[10]; // Encoded bytes. member in struct:google::protobuf::io::__anon22468::VarintCase
152 int size; // Encoded size, in bytes.
186 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
201 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
248 memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size);
279 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
297 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
330 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size))
403 uint8 bytes[12]; member in struct:google::protobuf::io::__anon22468::VarintErrorCase
494 uint8 bytes[sizeof(uint32)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon22468::Fixed32Case
499 uint8 bytes[sizeof(uint64)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon22468::Fixed64Case
    [all...]
zero_copy_stream_impl.cc 243 int bytes; local
245 bytes = write(file_, buffer_base + total_written, size - total_written);
246 } while (bytes < 0 && errno == EINTR);
248 if (bytes <= 0) {
259 if (bytes < 0) {
264 total_written += bytes;
388 // Hit the end of the stream. Figure out how many more bytes we still have
  /external/rootdev/
rootdev.c 60 ssize_t bytes = 0; local
70 bytes = read(fd, candidate, sizeof(candidate));
74 if (bytes < 3)
76 candidate[bytes] = 0;
  /external/skia/experimental/Networking/
SkSockets.h 46 * to be sent and dataSize specifies the number of bytes to send. This
49 * socket's open connections until all the bytes have been successfully sent
50 * and return total the number of bytes written to all clients, unless there
64 * packets if necessary) and return the number of bytes successfully read,
96 int bytes; member in struct:SkSocket::header
  /external/skia/include/gpu/
GrResourceKey.h 59 size_t bytes = that.size(); local
60 SkASSERT(SkIsAlign4(bytes));
61 fKey.reset(SkToInt(bytes / sizeof(uint32_t)));
62 memcpy(fKey.get(), that.fKey.get(), bytes);
  /external/skia/include/private/
SkTDArray.h 95 * return the number of bytes in the array: count * sizeof(T)
97 size_t bytes() const { return fCount * sizeof(T); } function in class:SkTDArray
  /external/skia/src/gpu/
GrBufferAllocPool.cpp 128 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; local
129 bytesInUse += bytes;
130 SkASSERT(bytes || unusedBlockAllowed);
193 void GrBufferAllocPool::putBack(size_t bytes) {
196 while (bytes) {
201 if (bytes >= bytesUsed) {
202 bytes -= bytesUsed;
211 block.fBytesFree += bytes;
212 fBytesInUse -= bytes;
213 bytes = 0
    [all...]
SkGr.cpp 74 const uint8_t* bytes = data->bytes(); local
75 if (data->size() > ETC_PKM_HEADER_SIZE && etc1_pkm_is_valid(bytes)) {
78 if (etc1_pkm_get_width(bytes) != (unsigned)expectedW ||
79 etc1_pkm_get_height(bytes) != (unsigned)expectedH)
84 *outStartOfDataToUpload = bytes + ETC_PKM_HEADER_SIZE;
86 } else if (SkKTXFile::is_ktx(bytes)) {
155 // need to trim off the extra bytes per row
  /external/skia/tests/
StreamTest.cpp 30 size_t bytes = stream->read(tmp, len); local
31 REPORTER_ASSERT(reporter, bytes == len);
36 size_t bytes = stream->read(tmp, 1); local
37 REPORTER_ASSERT(reporter, 0 == bytes);
108 size_t bytes = stream->read(&tmp, 1); local
109 REPORTER_ASSERT(reporter, 0 == bytes);
143 // we know that packeduint tries to write 1, 2 or 4 bytes for the length,
324 const uint8_t* expect = expected->bytes();
337 ERRORF(rep, "Peek returned wrong bytes!");
  /external/squashfs-tools/squashfs-tools/
pseudo.c 276 int n, bytes; local
310 &bytes);
311 def += bytes;
343 n = sscanf(def, "%u %u %n", &major, &minor, &bytes);
344 def += bytes;
read_fs.c 116 (bytes - (cur_ptr - *inode_table) < (SIZE))
131 unsigned int directory_start_block, bytes = 0, size = 0; local
142 *root_inode_block = bytes;
144 if(size - bytes < SQUASHFS_METADATA_SIZE) {
151 byte = read_block(fd, start, &start, 0, *inode_table + bytes);
155 bytes += byte;
176 * The number of bytes available after the root inode medata block
185 * *root_inode_block root_inode_offset bytes
187 if((bytes - *root_inode_block) < (root_inode_offset +
194 * the total uncompressed directory size. The directory bytes in th
498 int res, bytes = 0; local
634 int byte, bytes = 0, dir_count; local
703 int bytes = SQUASHFS_ID_BYTES(sBlk->no_ids); local
754 int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk->fragments); local
    [all...]
read_xattrs.c 153 int res, bytes, i, indexes, index_bytes, ids; local
196 bytes = SQUASHFS_XATTR_BYTES(ids);
197 xattr_ids = malloc(bytes);
203 bytes & (SQUASHFS_METADATA_SIZE - 1);
253 ERROR("Xattr block %d should be %d bytes in length, "
254 "it is %d bytes\n", i, SQUASHFS_METADATA_SIZE,
  /external/strace/linux/
ubi-user.h 76 * this number of bytes to the volume character device. The update is finished
77 * when the claimed number of bytes is passed. So, the volume update sequence
99 * user is expected to write the requested amount of bytes (similarly to what
237 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or
246 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes
275 * @bytes: volume size in bytes
304 __s64 bytes; member in struct:ubi_mkvol_req
315 * @bytes: new size of the volume in byte
324 __s64 bytes; member in struct:ubi_rsvol_req
389 __s32 bytes; member in struct:ubi_leb_change_req
    [all...]
  /external/toybox/toys/pending/
dd.c 19 bs=N Read and write N bytes at a time
20 ibs=N Read N bytes at a time
21 obs=N Write N bytes at a time
63 unsigned long long in_full, in_part, out_full, out_part, bytes; member in struct:iostat
136 human_readable(toybuf, st.bytes, HR_SPACE|HR_B);
137 fprintf(stderr, "%llu bytes (%s) copied, ",st.bytes, toybuf);
138 human_readable(toybuf, st.bytes/seconds, HR_SPACE|HR_B);
215 st.bytes += nw;
  /external/tpm2/
CpriHash.c 79 // >0 the number of bytes of buf used.
100 // the number of bytes copied (which may be zero).
289 // stateSize in hashState is updated to indicate the number of bytes of state that were saved. This function
396 // the digest in dOut. The number of bytes in the placed in the buffer is returned. If there is a failure, the
402 // >0 the number of bytes in the digest
493 // The digestSize parameter can be smaller than the digest. If so, only the more significant bytes are
498 // >= 0 number of bytes in digest (may be zero)
557 // The function returns the number of bytes in a digest produced by hashAlg.
561 // >= 0 number of bytes in digest produced by hashAlg (may be zero)
622 // dOutSize bytes
766 INT16 bytes; \/\/ number of bytes to produce local
864 INT16 bytes; \/\/ number of bytes to generate local
    [all...]
  /external/v8/src/runtime/
runtime-typedarray.cc 501 uint8_t bytes[sizeof(T)]; member in union:v8::internal::Value
511 FlipBytes<sizeof(T)>(value.bytes, source);
513 CopyBytes<sizeof(T)>(value.bytes, source);
541 uint8_t bytes[sizeof(T)]; member in union:v8::internal::Value
552 FlipBytes<sizeof(T)>(target, value.bytes);
554 CopyBytes<sizeof(T)>(target, value.bytes);
  /external/valgrind/VEX/useful/
smchash.c 25 UChar* bytes; member in struct:__anon25375
52 gb->bytes = malloc( gb->nbytes + nToAlloc);
53 gb->actual = gb->bytes + (gb->ga & 3);
54 assert(gb->bytes);
83 free(gb->bytes);
  /external/valgrind/coregrind/
launcher-darwin.c 150 ssize_t bytes; local
156 bytes = read(fd, buf, sizeof(buf));
158 if (bytes != sizeof(buf)) {
  /external/vboot_reference/utility/
tpmc.c 251 uint8_t* bytes; local
262 bytes = calloc(1, length);
263 if (bytes == NULL) {
267 result = TlclGetRandom(bytes, length, &size);
270 printf("%02x", bytes[i]);
274 free(bytes);
342 fprintf(stderr, "bad request: size field is %d, but packet has %d bytes\n",
406 { "getrandom", "rand", "read bytes from RNG (rand <size>)",
  /external/webrtc/webrtc/base/
macasyncsocket.cc 393 const UInt8* bytes = reinterpret_cast<UInt8*>(&saddr); local
396 bytes, len);
  /external/webrtc/webrtc/examples/peerconnection/client/
peer_connection_client.cc 299 int bytes = socket->Recv(buffer, sizeof(buffer)); local
300 if (bytes <= 0)
302 data->append(buffer, bytes);

Completed in 2101 milliseconds

<<21222324252627282930>>