Home
last modified time | relevance | path

Searched refs:bytes_count (Results 1 – 16 of 16) 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/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc41 unsigned int bytes_count = 0; in trySubset() local
43 if (data[i]) ++bytes_count; in trySubset()
44 assert (bytes_count || !length); in trySubset()
/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/flutter/skia/third_party/externals/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.h1436 IMGUI_API void DeleteChars(int pos, int bytes_count);
Dimgui.cpp1701 int bytes_count = 0; in ImTextCountUtf8BytesFromStr() local
1706 bytes_count++; in ImTextCountUtf8BytesFromStr()
1708 bytes_count += ImTextCountUtf8BytesFromChar(c); in ImTextCountUtf8BytesFromStr()
1710 return bytes_count; in ImTextCountUtf8BytesFromStr()
/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()