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

1 2

  /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/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;
  /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;
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;
  /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/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/valgrind/main/none/tests/s390x/
cu24.c 98 uint64_t num_bytes = dst_len - result.len1; local
101 if (num_bytes % 4 != 0)
104 for (i = 0; i < num_bytes / 4; i++) {
cu24_1.c 98 uint64_t num_bytes = dst_len - result.len1; local
101 if (num_bytes % 4 != 0)
104 for (i = 0; i < num_bytes / 4; i++) {
cu12.c 129 uint64_t num_bytes = dst_len - result.len1; local
132 if (num_bytes % 2 != 0)
135 for (i = 0; i < num_bytes / 2; i++) {
cu12_1.c 129 uint64_t num_bytes = dst_len - result.len1; local
132 if (num_bytes % 2 != 0)
135 for (i = 0; i < num_bytes / 2; i++) {
cu14.c 129 uint64_t num_bytes = dst_len - result.len1; local
132 if (num_bytes % 4 != 0)
135 for (i = 0; i < num_bytes / 4; i++) {
cu14_1.c 129 uint64_t num_bytes = dst_len - result.len1; local
132 if (num_bytes % 4 != 0)
135 for (i = 0; i < num_bytes / 4; i++) {
  /external/webrtc/src/system_wrappers/source/
file_impl.cc 254 size_t num_bytes = fwrite(buf, 1, length, _id); local
255 if (num_bytes > 0)
257 _sizeInBytes += num_bytes;
  /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;
bbprof.cpp 203 int num_bytes; local
205 num_bytes = sorted[ii]->bb.num_insns << 1;
207 num_bytes = sorted[ii]->bb.num_insns << 2;
208 addr_end = sorted[ii]->bb.bb_addr + num_bytes;
  /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/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/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);
  /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/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';
  /external/chromium/chrome/browser/net/
connection_tester.cc 308 int num_bytes; local
309 if (request->Read(unused_buffer, kReadBufferSize, &num_bytes)) {
310 OnReadCompleted(request, num_bytes);
  /external/libpng/
png.c 92 /* Tells libpng that we have already handled the first "num_bytes" bytes
94 * stream we can set num_bytes = 8 so that libpng will not attempt to read
100 png_set_sig_bytes(png_structp png_ptr, int num_bytes)
107 if (num_bytes > 8)
110 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
164 png_uint_32 num_bytes; local
173 num_bytes = (png_uint_32)items * size;
176 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
183 if (num_bytes > (png_uint_32)0x8000L
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
png.c 90 /* Tells libpng that we have already handled the first "num_bytes" bytes
92 * stream we can set num_bytes = 8 so that libpng will not attempt to read
98 png_set_sig_bytes(png_structp png_ptr, int num_bytes)
102 if (num_bytes > 8)
105 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
159 png_uint_32 num_bytes; local
167 num_bytes = (png_uint_32)items * size;
170 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
177 if (num_bytes > (png_uint_32)0x8000L
    [all...]
  /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--;

Completed in 1476 milliseconds

1 2