Home
last modified time | relevance | path

Searched refs:buffer_pos (Results 1 – 9 of 9) sorted by relevance

/external/curl/docs/examples/
Dfopen.c72 size_t buffer_pos; /* end of data in buffer*/ member
101 rembuff=url->buffer_len - url->buffer_pos; /* remaining space in buffer */ in write_callback()
117 memcpy(&url->buffer[url->buffer_pos], buffer, size); in write_callback()
118 url->buffer_pos += size; in write_callback()
136 if((!file->still_running) || (file->buffer_pos > want)) in fill_buffer()
203 } while(file->still_running && (file->buffer_pos < want)); in fill_buffer()
211 if((file->buffer_pos - want) <=0) { in use_buffer()
215 file->buffer_pos=0; in use_buffer()
222 (file->buffer_pos - want)); in use_buffer()
224 file->buffer_pos -= want; in use_buffer()
[all …]
/external/libmicrohttpd/src/microhttpd/
Dpostprocessor.c186 size_t buffer_pos; member
372 if (equals + pp->buffer_pos > pp->buffer_size) in post_process_urlencoded()
377 memcpy (&buf[pp->buffer_pos], &post_data[poff], equals); in post_process_urlencoded()
378 pp->buffer_pos += equals; in post_process_urlencoded()
381 buf[pp->buffer_pos] = '\0'; /* 0-terminate key */ in post_process_urlencoded()
382 pp->buffer_pos = 0; /* reset for next key */ in post_process_urlencoded()
539 if (pp->buffer_pos < 2 + blen) in find_boundary()
541 if (pp->buffer_pos == pp->buffer_size) in find_boundary()
556 dash = memchr (buf, '-', pp->buffer_pos); in find_boundary()
558 (*ioffptr) += pp->buffer_pos; /* skip entire buffer */ in find_boundary()
[all …]
/external/v8/src/
Dconversions-inl.h399 int buffer_pos = 0; in InternalStringToInt() local
401 if (buffer_pos <= kMaxSignificantDigits) { in InternalStringToInt()
404 DCHECK(buffer_pos < kBufferSize); in InternalStringToInt()
405 buffer[buffer_pos++] = static_cast<char>(*current); in InternalStringToInt()
416 SLOW_DCHECK(buffer_pos < kBufferSize); in InternalStringToInt()
417 buffer[buffer_pos] = '\0'; in InternalStringToInt()
418 Vector<const char> buffer_vector(buffer, buffer_pos); in InternalStringToInt()
514 int buffer_pos = 0; in InternalStringToDouble() local
553 DCHECK(buffer_pos == 0); in InternalStringToDouble()
616 DCHECK(buffer_pos < kBufferSize); in InternalStringToDouble()
[all …]
/external/v8/src/profiler/
Dheap-snapshot-generator.cc2794 static int utoa_impl(T value, const Vector<char>& buffer, int buffer_pos) { in utoa_impl() argument
2802 buffer_pos += number_of_digits; in utoa_impl()
2803 int result = buffer_pos; in utoa_impl()
2806 buffer[--buffer_pos] = '0' + last_digit; in utoa_impl()
2814 static int utoa(T value, const Vector<char>& buffer, int buffer_pos) { in utoa() argument
2817 return utoa_impl(unsigned_value, buffer, buffer_pos); in utoa()
2830 int buffer_pos = 0; in SerializeEdge() local
2832 buffer[buffer_pos++] = ','; in SerializeEdge()
2834 buffer_pos = utoa(edge->type(), buffer, buffer_pos); in SerializeEdge()
2835 buffer[buffer_pos++] = ','; in SerializeEdge()
[all …]
/external/libmicrohttpd/src/microspdy/
Dstream.c38 size_t buffer_pos = session->read_buffer_beginning; in SPDYF_stream_new() local
94 session->read_buffer_beginning = buffer_pos; in SPDYF_stream_new()
/external/dhcpcd-6.8.2/
Dif-bsd.c347 state->buffer_len = state->buffer_pos = 0; in if_openrawsocket()
429 state->buffer_pos = 0; in if_readrawpacket()
432 memcpy(&packet, state->buffer + state->buffer_pos, in if_readrawpacket()
436 if (state->buffer_pos + packet.bh_caplen + packet.bh_hdrlen > in if_readrawpacket()
439 payload = state->buffer + state->buffer_pos + in if_readrawpacket()
446 state->buffer_pos += BPF_WORDALIGN(packet.bh_hdrlen + in if_readrawpacket()
448 if (state->buffer_pos >= state->buffer_len) { in if_readrawpacket()
449 state->buffer_len = state->buffer_pos = 0; in if_readrawpacket()
Ddhcp.h235 size_t buffer_size, buffer_len, buffer_pos; member
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.registry_3.5.0.v20100503.jar ... RandomAccessFile inputFile private String filePath private int buffer_size private int buffer_pos private long buffer_start private long file_pointer private byte[] ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...