| /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 | 473 uint8_t bytes[sizeof(T)]; member in union:v8::internal::Value 483 FlipBytes<sizeof(T)>(value.bytes, source); 485 CopyBytes<sizeof(T)>(value.bytes, source); 513 uint8_t bytes[sizeof(T)]; member in union:v8::internal::Value 524 FlipBytes<sizeof(T)>(target, value.bytes); 526 CopyBytes<sizeof(T)>(target, value.bytes);
|
| /external/v8/src/snapshot/ |
| snapshot-common.cc | 57 int bytes = startup_data.length(); local 58 PrintF("[Deserializing isolate (%d bytes) took %0.3f ms]\n", bytes, ms); 83 int bytes = context_data.length(); local 84 PrintF("[Deserializing context #%zu (%d bytes) took %0.3f ms]\n", 85 context_index, bytes, ms); 115 PrintF("%10d bytes per isolate\n", startup_total); 121 PrintF("%10d bytes per context #%d\n", context_total, i); 180 PrintF("Snapshot blob consists of:\n%10d bytes for startup\n", 191 PrintF("%10d bytes for context #%d\n", payload_length, i) [all...] |
| /external/valgrind/VEX/useful/ |
| smchash.c | 25 UChar* bytes; member in struct:__anon24912 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);
|
| /external/webrtc/webrtc/examples/peerconnection/server/ |
| data_socket.cc | 89 int bytes = recv(socket_, buffer, sizeof(buffer), 0); local 90 if (bytes == SOCKET_ERROR || bytes == 0) { 103 data_.append(buffer, bytes); 106 request_headers_.append(buffer, bytes);
|
| /external/webrtc/webrtc/libjingle/xmpp/ |
| xmppclient.cc | 77 void WriteOutput(const char* bytes, size_t len); 348 char bytes[4096]; local 357 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) { 366 client_->SignalLogInput(bytes, static_cast<int>(bytes_read)); 369 engine_->HandleInput(bytes, bytes_read); 388 void XmppClient::Private::WriteOutput(const char* bytes, size_t len) { 390 client_->SignalLogOutput(bytes, static_cast<int>(len)); 393 socket_->Write(bytes, len);
|
| /external/webrtc/webrtc/modules/rtp_rtcp/source/ |
| rtp_format_vp8.cc | 220 int bytes = WriteHeaderAndPayload(packet_info, buffer, max_payload_len_); local 221 if (bytes < 0) { 224 *bytes_to_send = static_cast<size_t>(bytes); 268 // Number of bytes in this fragment:
|
| /external/webrtc/webrtc/test/channel_transport/ |
| udp_socket2_manager_win.h | 44 int bytes; member in struct:webrtc::test::PerIoContext
|
| /external/wpa_supplicant_8/src/crypto/ |
| random.c | 118 * length (32) and return 16 bytes from instead of only half. 157 u8 *bytes = buf; local 178 *bytes++ ^= tmp[i]; 184 bytes = buf; 191 "for generating strong random bytes"); 198 *bytes++ ^= tmp[i]; 248 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from " 261 wpa_printf(MSG_INFO, "random: Only %u/%u bytes of strong " 320 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from /dev/random",
|