Home
last modified time | relevance | path

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

/external/v8/src/
Dconversions-inl.h340 int buffer_pos = 0; in InternalStringToInt() local
342 if (buffer_pos <= kMaxSignificantDigits) { in InternalStringToInt()
345 ASSERT(buffer_pos < kBufferSize); in InternalStringToInt()
346 buffer[buffer_pos++] = static_cast<char>(*current); in InternalStringToInt()
357 ASSERT(buffer_pos < kBufferSize); in InternalStringToInt()
358 buffer[buffer_pos] = '\0'; in InternalStringToInt()
359 Vector<const char> buffer_vector(buffer, buffer_pos); in InternalStringToInt()
455 int buffer_pos = 0; in InternalStringToDouble() local
487 ASSERT(buffer_pos == 0); in InternalStringToDouble()
524 ASSERT(buffer_pos < kBufferSize); in InternalStringToDouble()
[all …]
/external/dhcpcd/
Dbpf.c100 iface->buffer_len = iface->buffer_pos = 0; in open_socket()
186 iface->buffer_pos = 0; in get_raw_packet()
189 memcpy(&packet, iface->buffer + iface->buffer_pos, in get_raw_packet()
193 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen > in get_raw_packet()
202 iface->buffer_pos += BPF_WORDALIGN(packet.bh_hdrlen + in get_raw_packet()
204 if (iface->buffer_pos >= iface->buffer_len) in get_raw_packet()
205 iface->buffer_len = iface->buffer_pos = 0; in get_raw_packet()
Ddhcpcd.h125 size_t buffer_size, buffer_len, buffer_pos; member