Home
last modified time | relevance | path

Searched refs:bytes_count (Results 1 – 13 of 13) sorted by relevance

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c390 ecma_length_t bytes_count = 0; in lit_read_code_point_from_utf8() local
393 bytes_count = 2; in lit_read_code_point_from_utf8()
398 bytes_count = 3; in lit_read_code_point_from_utf8()
404 bytes_count = 4; in lit_read_code_point_from_utf8()
408 JERRY_ASSERT (buf_size >= bytes_count); in lit_read_code_point_from_utf8()
410 for (uint32_t i = 1; i < bytes_count; ++i) in lit_read_code_point_from_utf8()
417 return bytes_count; in lit_read_code_point_from_utf8()
439 ecma_length_t bytes_count; in lit_read_code_unit_from_utf8() local
442 bytes_count = 2; in lit_read_code_unit_from_utf8()
448 bytes_count = 3; in lit_read_code_unit_from_utf8()
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc34 unsigned int bytes_count = 0; in trySubset() local
36 if (data[i]) ++bytes_count; in trySubset()
37 assert (bytes_count || !length); in trySubset()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-global.c305 uint32_t bytes_count; in ecma_builtin_global_object_decode_uri_helper() local
309 bytes_count = 2; in ecma_builtin_global_object_decode_uri_helper()
313 bytes_count = 3; in ecma_builtin_global_object_decode_uri_helper()
317 bytes_count = 4; in ecma_builtin_global_object_decode_uri_helper()
329 for (uint32_t i = 1; i < bytes_count; i++) in ecma_builtin_global_object_decode_uri_helper()
352 || !lit_is_valid_utf8_string (octets, bytes_count)) in ecma_builtin_global_object_decode_uri_helper()
359 lit_read_code_point_from_utf8 (octets, bytes_count, &cp); in ecma_builtin_global_object_decode_uri_helper()
/third_party/node/deps/v8/src/profiler/
Dtick-sample.cc34 int bytes_count; in IsNoFrameRegion() member
63 for (Pattern* pattern = patterns; pattern->bytes_count; ++pattern) { in IsNoFrameRegion()
67 MSAN_MEMORY_IS_INITIALIZED(pc - offset, pattern->bytes_count); in IsNoFrameRegion()
68 if (!memcmp(pc - offset, pattern->bytes, pattern->bytes_count)) in IsNoFrameRegion()
75 MSAN_MEMORY_IS_INITIALIZED(pc, pattern->bytes_count - offset); in IsNoFrameRegion()
76 if (!memcmp(pc, pattern->bytes + offset, pattern->bytes_count - offset)) in IsNoFrameRegion()
/third_party/alsa-utils/bat/
Dtinyalsa.c389 unsigned int bytes_count = bat->frames * bat->frame_size; in capture_sample() local
406 while (bytes_read < bytes_count && !pcm_read(pcm, buffer, bytes)) { in capture_sample()
434 unsigned int bytes_count = bat->frames * bat->frame_size; in latencytest_process_input() local
453 while (bytes_read < bytes_count && !pcm_read(pcm, buffer, bytes)) { in latencytest_process_input()
Dalsa.c552 int bytes_count = bat->frames * bat->frame_size; in read_from_pcm_loop() local
553 int remain = bytes_count; in read_from_pcm_loop()
612 int bytes_count = bat->frames * bat->frame_size; in latencytest_process_input() local
630 while (bytes_read < bytes_count) { in latencytest_process_input()
/third_party/python/Objects/
Dbytesobject.c2010 bytes_count(PyBytesObject *self, PyObject *args) in bytes_count() function
2480 {"count", (PyCFunction)bytes_count, METH_VARARGS,
/third_party/mesa3d/src/imgui/
Dimgui_widgets.cpp3014 void ImGuiInputTextCallbackData::DeleteChars(int pos, int bytes_count) in DeleteChars() argument
3016 IM_ASSERT(pos + bytes_count <= BufTextLen); in DeleteChars()
3018 const char* src = Buf + pos + bytes_count; in DeleteChars()
3023 if (CursorPos + bytes_count >= pos) in DeleteChars()
3024 CursorPos -= bytes_count; in DeleteChars()
3029 BufTextLen -= bytes_count; in DeleteChars()
Dimgui.h1443 IMGUI_API void DeleteChars(int pos, int bytes_count);
Dimgui.cpp1739 int bytes_count = 0; in ImTextCountUtf8BytesFromStr() local
1744 bytes_count++; in ImTextCountUtf8BytesFromStr()
1746 bytes_count += ImTextCountUtf8BytesFromChar(c); in ImTextCountUtf8BytesFromStr()
1748 return bytes_count; in ImTextCountUtf8BytesFromStr()
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp3798 void ImGuiInputTextCallbackData::DeleteChars(int pos, int bytes_count) in DeleteChars() argument
3800 IM_ASSERT(pos + bytes_count <= BufTextLen); in DeleteChars()
3802 const char* src = Buf + pos + bytes_count; in DeleteChars()
3807 if (CursorPos >= pos + bytes_count) in DeleteChars()
3808 CursorPos -= bytes_count; in DeleteChars()
3813 BufTextLen -= bytes_count; in DeleteChars()
Dimgui.h1990 IMGUI_API void DeleteChars(int pos, int bytes_count);
Dimgui.cpp1813 int bytes_count = 0; in ImTextCountUtf8BytesFromStr() local
1818 bytes_count++; in ImTextCountUtf8BytesFromStr()
1820 bytes_count += ImTextCountUtf8BytesFromChar(c); in ImTextCountUtf8BytesFromStr()
1822 return bytes_count; in ImTextCountUtf8BytesFromStr()