Home
last modified time | relevance | path

Searched refs:buf_end (Results 1 – 24 of 24) sorted by relevance

/external/igt-gpu-tools/overlay/
Dconfig.c93 const char *buf_end = buf + len; in parse() local
98 for (line = 0 ; ++line; buf = skip_past_eol(buf, buf_end)) { in parse()
99 buf = skip_whitespace(buf, buf_end); in parse()
100 if (buf >= buf_end) in parse()
106 end = find(++buf, buf_end, ']'); in parse()
125 sep = find(buf, buf_end, '='); in parse()
127 sep = find(buf, buf_end, ':'); in parse()
129 sep = find(buf, buf_end, '\n'); in parse()
144 buf = skip_whitespace(sep + 1, buf_end); in parse()
145 end = find(buf, buf_end, '\n'); in parse()
/external/libunwind/src/
Dos-linux.h38 char *buf_end; member
93 mi->buf = mi->buf_end = cp + mi->buf_size; in maps_init()
218 ssize_t bytes_left = mi->buf_end - mi->buf; in maps_next()
235 memmove (mi->buf_end - mi->buf_size, mi->buf, bytes_left); in maps_next()
237 mi->buf = mi->buf_end - mi->buf_size; in maps_next()
247 memmove (mi->buf_end - nread - bytes_left, mi->buf, in maps_next()
249 mi->buf = mi->buf_end - nread - bytes_left; in maps_next()
311 munmap (mi->buf_end - mi->buf_size, mi->buf_size); in maps_close()
312 mi->buf = mi->buf_end = NULL; in maps_close()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_job_queue.c26 jobq->buf_end = buf + buf_size; in vp9_jobq_init()
66 if (jobq->buf_end >= jobq->buf_wr + job_size) { in vp9_jobq_queue()
90 if (jobq->buf_end >= jobq->buf_rd + job_size) { in vp9_jobq_dequeue()
Dvp9_job_queue.h27 uint8_t *buf_end; member
Dvp9_decoder.h50 int buf_start, buf_end; // pbi->tile_buffers to decode, inclusive member
Dvp9_decodeframe.c2203 const int num_tiles_left = tile_data->buf_end - n; in tile_worker_hook()
2252 } while (!tile_data->xd.corrupted && ++n <= tile_data->buf_end); in tile_worker_hook()
2254 if (pbi->lpf_mt_opt && n < tile_data->buf_end && cm->lf.filter_level && in tile_worker_hook()
2260 set_rows_after_error(lf_sync, 0, cm->mi_rows, tile_data->buf_end - n, in tile_worker_hook()
2530 tile_data->buf_end = buf_start + count - 1; in decode_tiles_mt()
2536 assert(tile_data->buf_end == tile_cols - 1); in decode_tiles_mt()
/external/libiio/src/
Dchannel.c599 uintptr_t buf_end = (uintptr_t) iio_buffer_end(buf); in iio_channel_read_raw() local
603 src_ptr < buf_end && dst_ptr + length <= end; in iio_channel_read_raw()
614 uintptr_t buf_end = (uintptr_t) iio_buffer_end(buf); in iio_channel_read() local
618 src_ptr < buf_end && dst_ptr + length <= end; in iio_channel_read()
630 uintptr_t buf_end = (uintptr_t) iio_buffer_end(buf); in iio_channel_write_raw() local
634 dst_ptr < buf_end && src_ptr + length <= end; in iio_channel_write_raw()
645 uintptr_t buf_end = (uintptr_t) iio_buffer_end(buf); in iio_channel_write() local
649 dst_ptr < buf_end && src_ptr + length <= end; in iio_channel_write()
/external/libvpx/libvpx/vp9/
Dsimple_encode.cc188 double *buf_end = in ObserveFirstPassStats() local
189 buf_start + sizeof(impl_ptr_->first_pass_stats[i]) / sizeof(*buf_end) - in ObserveFirstPassStats()
191 std::vector<double> this_stats(buf_start, buf_end); in ObserveFirstPassStats()
/external/wpa_supplicant_8/hs20/client/
Dest.c548 char *pos, *end, *buf_end; in generate_csr() local
560 buf_end = pos + ptr->length; in generate_csr()
563 while (pos < buf_end && *pos != '\n') in generate_csr()
565 if (pos == buf_end) { in generate_csr()
572 while (end < buf_end && *end != '-') in generate_csr()
/external/perfetto/src/traced/probes/ftrace/kallsyms/
Dkernel_symbol_map.cc362 const uint8_t* const buf_end = &buf_[buf_.size()]; in Lookup() local
368 rdptr = protozero::proto_utils::ParseVarInt(rdptr, buf_end, &v); in Lookup()
394 rdptr = protozero::proto_utils::ParseVarInt(rdptr, buf_end, &v); in Lookup()
/external/mesa3d/src/imgui/
Dimstb_textedit.h1140 const char* buf_end = (char*)state->undo_rec + sizeof(state->undo_rec); (void)buf_end; in stb_textedit_discard_redo() local
1142 IM_ASSERT(((char*)(state->undo_rec + state->redo_point + 1) + move_size) <= buf_end); in stb_textedit_discard_redo()
Dimgui_widgets.cpp3230 const char* buf_end = NULL; in InputTextEx() local
3231 … edit_state.CurLenW = ImTextStrFromUtf8(edit_state.TextW.Data, buf_size, buf, NULL, &buf_end); in InputTextEx()
3232 …edit_state.CurLenA = (int)(buf_end - buf); // We can't get the result from ImStrncpy() above becau… in InputTextEx()
3280 const char* buf_end = NULL; in InputTextEx() local
3281 …ate.CurLenW = ImTextStrFromUtf8(edit_state.TextW.Data, edit_state.TextW.Size, buf, NULL, &buf_end); in InputTextEx()
3282 edit_state.CurLenA = (int)(buf_end - buf); in InputTextEx()
3769 const char* buf_end = NULL; in InputTextEx() local
3771 …text_size = ImVec2(size.x, InputTextCalcTextLenAndLineCount(buf_display, &buf_end) * g.FontSize); … in InputTextEx()
3773 buf_end = buf_display + strlen(buf_display); in InputTextEx()
3774 if (is_multiline || (buf_end - buf_display) < buf_display_max_length) in InputTextEx()
[all …]
Dimgui.cpp1636 ImWchar* buf_end = buf + buf_size; in ImTextStrFromUtf8() local
1637 while (buf_out < buf_end-1 && (!in_text_end || in_text < in_text_end) && *in_text) in ImTextStrFromUtf8()
1724 const char* buf_end = buf + buf_size; in ImTextStrToUtf8() local
1725 while (buf_out < buf_end-1 && (!in_text_end || in_text < in_text_end) && *in_text) in ImTextStrToUtf8()
1731 buf_out += ImTextCharToUtf8(buf_out, (int)(buf_end-buf_out-1), c); in ImTextStrToUtf8()
9017 char* buf_end = buf + ini_size; in LoadIniSettingsFromMemory() local
9025 for (char* line = buf; line < buf_end; line = line_end + 1) in LoadIniSettingsFromMemory()
9031 while (line_end < buf_end && *line_end != '\n' && *line_end != '\r') in LoadIniSettingsFromMemory()
9348 char *buf_p = buf, *buf_end = buf + IM_ARRAYSIZE(buf); in ShowMetricsWindow() local
9355 …buf_p += ImFormatString(buf_p, buf_end - buf_p, "%s %04d: pos (%8.2f,%8.2f), uv (%.6f,%.6f), col %… in ShowMetricsWindow()
[all …]
/external/webp/src/dec/
Dvp8_dec.c205 const uint8_t* buf_end = buf + size; in ParsePartitions() local
228 return (part_start < buf_end) ? VP8_STATUS_OK : in ParsePartitions()
/external/python/cpython3/Objects/
Dfloatobject.c940 char *buf, *buf_end, shortbuf[100], *mybuf=shortbuf; in double_round() local
947 buf = _Py_dg_dtoa(x, 3, ndigits, &decpt, &sign, &buf_end); in double_round()
956 buflen = buf_end - buf; in double_round()
/external/python/cpython2/Objects/
Dfloatobject.c1095 char *buf, *buf_end, shortbuf[100], *mybuf=shortbuf; in _Py_double_round() local
1165 buf = _Py_dg_dtoa(x, 3, ndigits+halfway_case, &decpt, &sign, &buf_end); in _Py_double_round()
1171 buflen = buf_end - buf; in _Py_double_round()
/external/pcre/dist2/src/sljit/
DsljitNativeARM_32.c583 sljit_uw *buf_end; in sljit_generate_code() local
641 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
721 } while (buf_ptr < buf_end); in sljit_generate_code()
738 buf_end = buf_ptr + compiler->cpool_fill; in sljit_generate_code()
740 while (buf_ptr < buf_end) { in sljit_generate_code()
DsljitNativeSPARC_common.c299 sljit_ins *buf_end; in sljit_generate_code() local
326 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
355 } while (buf_ptr < buf_end); in sljit_generate_code()
DsljitNativeX86_common.c492 sljit_u8 *buf_end; in sljit_generate_code() local
518 buf_end = buf_ptr + buf->used_size; in sljit_generate_code()
552 } while (buf_ptr < buf_end); in sljit_generate_code()
553 SLJIT_ASSERT(buf_ptr == buf_end); in sljit_generate_code()
DsljitNativeARM_64.c224 sljit_ins *buf_end; in sljit_generate_code() local
252 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
275 } while (buf_ptr < buf_end); in sljit_generate_code()
DsljitNativeARM_T2_32.c366 sljit_u16 *buf_end; in sljit_generate_code() local
392 buf_end = buf_ptr + (buf->used_size >> 1); in sljit_generate_code()
415 } while (buf_ptr < buf_end); in sljit_generate_code()
DsljitNativePPC_common.c333 sljit_ins *buf_end; in sljit_generate_code() local
367 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
427 } while (buf_ptr < buf_end); in sljit_generate_code()
DsljitNativeMIPS_common.c458 sljit_ins *buf_end; in sljit_generate_code() local
485 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
513 } while (buf_ptr < buf_end); in sljit_generate_code()
DsljitNativeTILEGX_64.c1002 sljit_ins *buf_end; in sljit_generate_code() local
1025 buf_end = buf_ptr + (buf->used_size >> 3); in sljit_generate_code()
1057 } while (buf_ptr < buf_end); in sljit_generate_code()