HomeSort by relevance Sort by last modified time
    Searched refs:num_bytes (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /external/libnfc-nci/src/nfa/include/
nfa_mem_co.h 54 NFC_API extern void *nfa_mem_co_alloc (UINT32 num_bytes);
  /external/chromium/net/base/
asn1_util.cc 31 const unsigned num_bytes = data[1] & 0x7f; local
32 if (num_bytes == 0 || num_bytes > 2)
34 if (in->size() < 2 + num_bytes)
37 if (num_bytes == 2) {
51 *out_header_len = 2 + num_bytes;
52 len += 2 + num_bytes;
upload_data_stream.cc 31 void UploadDataStream::MarkConsumedAndFillBuffer(size_t num_bytes) {
32 DCHECK_LE(num_bytes, buf_len_);
35 if (num_bytes) {
36 buf_len_ -= num_bytes;
38 memmove(buf_->data(), buf_->data() + num_bytes, buf_len_);
43 current_position_ += num_bytes;
  /external/ceres-solver/internal/ceres/
file.cc 59 int num_bytes = ftell(file_descriptor); local
60 data->resize(num_bytes);
66 num_bytes,
68 if (num_read != num_bytes) {
70 << "expected bytes: " << num_bytes * sizeof((*data)[0])
  /external/jpeg/
jdatasrc.c 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
  /external/qemu/distrib/jpeg-6b/
jdatasrc.c 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
136 if (num_bytes > 0) {
137 while (num_bytes > (long) src->pub.bytes_in_buffer) {
138 num_bytes -= (long) src->pub.bytes_in_buffer;
144 src->pub.next_input_byte += (size_t) num_bytes;
145 src->pub.bytes_in_buffer -= (size_t) num_bytes;
  /external/chromium/chrome/common/
zip.cc 78 int num_bytes = 0; local
81 num_bytes = unzReadCurrentFile(zip_file, buf, kZipBufSize);
82 if (num_bytes < 0) {
83 // If num_bytes < 0, then it's a specific UNZ_* error code.
86 err = num_bytes;
89 if (num_bytes > 0) {
90 if (num_bytes != stream.Write(buf, num_bytes, NULL)) {
95 } while (num_bytes > 0);
213 int num_bytes; local
    [all...]
  /external/chromium/crypto/
rsa_private_key.cc 178 int num_bytes,
180 PrependIntegerImpl(val, num_bytes, data, big_endian_);
184 int num_bytes,
190 tmp.assign(val, val + num_bytes);
198 while (start < (num_bytes - 1) && val[start] == 0x00) {
200 num_bytes--;
202 PrependBytes(val, start, num_bytes, data);
211 num_bytes++;
214 PrependTypeHeaderAndLength(kIntegerTag, num_bytes, data);
280 int num_bytes,
294 uint8 num_bytes = 0; local
    [all...]
  /external/chromium/net/udp/
udp_socket_win.cc 251 DWORD num_bytes, flags; local
253 &num_bytes, FALSE, &flags);
255 int result = ok ? num_bytes : MapSystemError(WSAGetLastError());
257 if (!ProcessSuccessfulRead(num_bytes, recv_from_address_))
265 bool UDPSocketWin::ProcessSuccessfulRead(int num_bytes, IPEndPoint* address) {
267 read_bytes.Add(num_bytes);
281 DWORD num_bytes, flags; local
283 &num_bytes, FALSE, &flags);
285 int result = ok ? num_bytes : MapSystemError(WSAGetLastError());
287 ProcessSuccessfulWrite(num_bytes);
    [all...]
  /external/chromium/chrome/browser/chromeos/
external_metrics_unittest.cc 27 int num_bytes; local
28 num_bytes = write(fd, &l, sizeof(l));
29 num_bytes = write(fd, name, strlen(name) + 1);
30 num_bytes = write(fd, value, strlen(value) + 1);
  /external/chromium/net/proxy/
proxy_script_fetcher_impl.cc 232 int num_bytes) {
234 if (ConsumeBytesRead(request, num_bytes)) {
243 int num_bytes; local
244 if (!request->Read(buf_, kBufSize, &num_bytes)) {
250 if (!ConsumeBytesRead(request, num_bytes))
256 int num_bytes) {
257 if (num_bytes <= 0) {
264 if (num_bytes + bytes_read_so_far_.size() >
271 bytes_read_so_far_.append(buf_->data(), num_bytes);
proxy_script_fetcher_impl.h 58 virtual void OnReadCompleted(URLRequest* request, int num_bytes);
67 // to read. |num_bytes| is 0 for EOF, and < 0 on errors.
68 bool ConsumeBytesRead(URLRequest* request, int num_bytes);
  /external/valgrind/main/tests/
s390x_features.c 113 size_t num_bytes, file_buf_size; local
126 num_bytes = 0;
134 num_bytes += n;
138 if (n < 0) num_bytes = 0; /* read error; ignore contents */
140 if (num_bytes > file_buf_size) {
143 file_buf = malloc(num_bytes + 1);
144 n = read(fh, file_buf, num_bytes);
145 if (n < 0) num_bytes = 0;
148 file_buf[num_bytes] = '\0';
  /frameworks/base/core/jni/
android_util_FileObserver.cpp 63 int num_bytes = read(fd, event_buf, sizeof(event_buf)); local
65 if (num_bytes < (int)sizeof(*event))
74 while (num_bytes >= (int)sizeof(*event))
97 num_bytes -= event_size;
  /external/skia/legacy/src/images/
SkJpegUtility.cpp 55 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
58 if (num_bytes > (long)src->bytes_in_buffer) {
59 long bytesToSkip = num_bytes - src->bytes_in_buffer;
73 src->next_input_byte += num_bytes;
74 src->bytes_in_buffer -= num_bytes;
109 static void skmem_skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
111 // SkDebugf("xxxxxxxxxxxxxx skmem_skip_input_data called %d\n", num_bytes);
112 src->next_input_byte = (const JOCTET*)((const char*)src->next_input_byte + num_bytes);
113 src->bytes_in_buffer -= num_bytes;
  /external/skia/src/images/
SkJpegUtility.cpp 55 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
58 if (num_bytes > (long)src->bytes_in_buffer) {
59 long bytesToSkip = num_bytes - src->bytes_in_buffer;
73 src->next_input_byte += num_bytes;
74 src->bytes_in_buffer -= num_bytes;
110 static void skmem_skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
112 // SkDebugf("xxxxxxxxxxxxxx skmem_skip_input_data called %d\n", num_bytes);
113 src->next_input_byte = (const JOCTET*)((const char*)src->next_input_byte + num_bytes);
114 src->bytes_in_buffer -= num_bytes;
  /external/srec/srec/EventLog/include/
riff.h 226 unsigned int num_bytes,
237 unsigned int *num_bytes,
  /hardware/invensense/libsensors_iio/software/core/mllite/linux/
mlos_linux.c 42 * @param num_bytes number of bytes
45 void *inv_malloc(unsigned int num_bytes)
48 void *alloc_ptr = malloc(num_bytes);
  /external/chromium/net/test/
test_server_win.cc 112 DWORD num_bytes; local
114 &num_bytes, NULL)) {
118 if (num_bytes <= 0) {
119 LOG(ERROR) << "ReadFile returned invalid byte count: " << num_bytes;
122 bytes_read += num_bytes;
  /external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
SDL_fbelo.c 135 int num_bytes; local
139 num_bytes = ELO_PACKET_SIZE;
142 num_bytes = read(fd,
147 if (num_bytes < 0) {
154 while (num_bytes) {
156 SDL_memcpy(&buffer[0], &buffer[1], num_bytes-1);
165 num_bytes--;
  /external/libnfc-nci/src/udrv/include/
uamp_api.h 125 ** num_bytes: number of bytes to write
131 BT_API UINT16 UAMP_Write(tUAMP_ID amp_id, UINT8 *p_buf, UINT16 num_bytes, tUAMP_CH channel);
  /sdk/emulator/qtools/
bb2sym.cpp 121 int num_bytes; local
123 num_bytes = sorted[ii]->bb.num_insns << 1;
125 num_bytes = sorted[ii]->bb.num_insns << 2;
126 addr_end = sorted[ii]->bb.bb_addr + num_bytes;
  /external/valgrind/main/VEX/priv/
guest_s390_helpers.c 331 s390x_dirtyhelper_CUxy(UChar *address, ULong data, ULong num_bytes)
335 vassert(num_bytes >= 1 && num_bytes <= 4);
337 /* Store the least significant NUM_BYTES bytes in DATA left to right
339 for (i = 1; i <= num_bytes; ++i) {
340 address[num_bytes - i] = data & 0xff;
358 | 0x0 | converted bytes | num_bytes | invalid_low_surrogate |
365 UInt b1, b2, b3, b4, num_bytes, invalid_low_surrogate = 0; local
371 num_bytes = 1;
373 num_bytes = 2
505 UInt num_bytes, invalid_character = 0; local
552 UInt num_bytes, invalid_character = 0; local
658 UInt num_bytes = 0, invalid_character = 0; local
    [all...]
  /external/chromium/chrome/browser/sessions/
base_session_service.cc 32 int num_bytes = str.size() * sizeof(char); local
33 if (*bytes_written + num_bytes < max_bytes) {
34 *bytes_written += num_bytes;
44 int num_bytes = str.size() * sizeof(char16); local
45 if (*bytes_written + num_bytes < max_bytes) {
46 *bytes_written += num_bytes;
  /external/chromium/net/socket/
tcp_client_socket_win.cc 791 DWORD num_bytes, flags; local
793 &num_bytes, FALSE, &flags);
799 read_bytes.Add(num_bytes);
800 if (num_bytes > 0)
802 LogByteTransfer(net_log_, NetLog::TYPE_SOCKET_BYTES_RECEIVED, num_bytes,
805 DoReadCallback(ok ? num_bytes : MapSystemError(WSAGetLastError()));
811 DWORD num_bytes, flags; local
813 &num_bytes, FALSE, &flags);
820 rv = static_cast<int>(num_bytes);
830 write_bytes.Add(num_bytes);
    [all...]

Completed in 903 milliseconds

1 2 3 4