/external/libnfc-nci/src/nfa/include/ |
H A D | nfa_mem_co.h | 53 NFC_API extern void *nfa_mem_co_alloc (UINT32 num_bytes);
|
/external/chromium/net/base/ |
H A D | 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;
|
H A D | upload_data_stream.cc | 31 void UploadDataStream::MarkConsumedAndFillBuffer(size_t num_bytes) { argument 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/jpeg/ |
H A D | jdatasrc.c | 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 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/ |
H A D | jdatasrc.c | 128 skip_input_data (j_decompress_ptr cinfo, long num_bytes) argument 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/ |
H A D | 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/ |
H A D | 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, 177 PrependInteger(uint8* val, int num_bytes, std::list<uint8>* data) argument 183 PrependIntegerImpl(uint8* val, int num_bytes, std::list<uint8>* data, bool big_endian) argument 278 PrependBytes(uint8* val, int start, int num_bytes, std::list<uint8>* data) argument 294 uint8 num_bytes = 0; local 312 PrependBitString(uint8* val, int num_bytes, std::list<uint8>* output) argument [all...] |
/external/chromium/net/udp/ |
H A D | 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) { argument 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); 292 ProcessSuccessfulWrite(int num_bytes) argument [all...] |
H A D | udp_socket_win.h | 127 bool ProcessSuccessfulRead(int num_bytes, IPEndPoint* address); 128 void ProcessSuccessfulWrite(int num_bytes);
|
/external/chromium/chrome/browser/chromeos/ |
H A D | 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/ |
H A D | 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); 231 OnReadCompleted(URLRequest* request, int num_bytes) argument 255 ConsumeBytesRead(URLRequest* request, int num_bytes) argument
|
H A D | 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/ |
H A D | 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';
|
/external/skia/src/images/ |
H A D | SkJpegUtility.cpp | 55 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { argument 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) { argument 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/srec/srec/EventLog/include/ |
H A D | riff.h | 226 unsigned int num_bytes, 237 unsigned int *num_bytes,
|
/external/chromium/net/test/ |
H A D | 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;
|
H A D | test_server_posix.cc | 83 ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read, local 85 if (num_bytes <= 0) 87 bytes_read += num_bytes;
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | 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/nfc/tags/ |
H A D | rw_main.c | 76 void rw_main_update_tx_stats (UINT32 num_bytes, BOOLEAN is_retry) argument 78 rw_cb.stats.bytes_sent+=num_bytes; 136 void rw_main_update_rx_stats (UINT32 num_bytes) argument 138 rw_cb.stats.bytes_received+=num_bytes;
|
/external/libnfc-nci/src/udrv/include/ |
H A D | 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);
|
/external/chromium/chrome/browser/sessions/ |
H A D | 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/ |
H A D | 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...] |
/external/webrtc/src/system_wrappers/source/ |
H A D | file_impl.cc | 254 size_t num_bytes = fwrite(buf, 1, length, _id); local 255 if (num_bytes > 0) 257 _sizeInBytes += num_bytes;
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nas/ |
H A D | SDL_nasaudio.c | 306 this2->really += event->num_bytes; 308 this2->buf_free += event->num_bytes; 310 this2->buf_free = event->num_bytes; 318 this2->really += event->num_bytes; 320 this2->buf_free += event->num_bytes; 322 this2->buf_free = event->num_bytes;
|
/external/srec/srec/EventLog/src/ |
H A D | EventLog.c | 136 ESR_ReturnCode SR_EventLogAudioWrite(SR_EventLog* self, void* buffer, size_t num_bytes) argument 143 return self->audioWrite(self, buffer, num_bytes);
|