Home
last modified time | relevance | path

Searched refs:str_end (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc333 const char* str_end; in ParseTextEvent() local
334 for (str_end = buf; str_end < end && *str_end; str_end++) { in ParseTextEvent()
336 if (str_end >= end - 2) in ParseTextEvent()
339 auto tag = base::StringView(buf, static_cast<size_t>(str_end - buf)); in ParseTextEvent()
348 buf = str_end + 1; // Move |buf| to the start of the message. in ParseTextEvent()
/external/kmod/tools/
Dmodprobe.c680 char **new_argv, *str_start, *str_end, *str, *s, *quote; in prepend_options_from_env() local
701 str_end = str_start + envlen; in prepend_options_from_env()
724 for (it = s - 1; it < str_end - 2; it++) in prepend_options_from_env()
726 str_end -= 2; in prepend_options_from_env()
727 *str_end = '\0'; in prepend_options_from_env()
/external/python/cpython2/Modules/_io/
Dbytesio.c29 const char *str_end; in get_line() local
35 str_end = self->buf + self->string_size; in get_line()
37 n < str_end && *n != '\n'; in get_line()
41 if (n < str_end) in get_line()
/external/dtc/tests/
Dlabel01.dts41 prop: string = str: "foo", str_mid: "stuffstuff\t\t\t\n\n\n" str_end: ;
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp838 const char *str_end; in set_opaque_indices() local
840 (str_end = strchr(name_copy, ']'))) { in set_opaque_indices()
841 memmove(str_start, str_end + 1, 1 + strlen(str_end + 1)); in set_opaque_indices()
/external/mesa3d/src/imgui/
Dimgui_internal.h177 IMGUI_API const char* ImStrchrRange(const char* str_begin, const char* str_end, char c);
179 IMGUI_API const char* ImStreolRange(const char* str, const char* str_end); // End …
1214 ImGuiID GetID(const char* str, const char* str_end = NULL);
1216 ImGuiID GetIDNoKeepAlive(const char* str, const char* str_end = NULL);
Dimgui.cpp1325 const char* ImStrchrRange(const char* str, const char* str_end, char c) in ImStrchrRange() argument
1327 const char* p = (const char*)memchr(str, (int)c, str_end - str); in ImStrchrRange()
1340 const char* ImStreolRange(const char* str, const char* str_end) in ImStreolRange() argument
1342 const char* p = (const char*)memchr(str, '\n', str_end - str); in ImStreolRange()
1343 return p ? p : str_end; in ImStreolRange()
2128 void ImGuiTextBuffer::append(const char* str, const char* str_end) in append() argument
2130 int len = str_end ? (int)(str_end - str) : (int)strlen(str); in append()
2566 ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end) in GetID() argument
2569 ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); in GetID()
2582 ImGuiID ImGuiWindow::GetIDNoKeepAlive(const char* str, const char* str_end) in GetIDNoKeepAlive() argument
[all …]
Dimgui.h1594 IMGUI_API void append(const char* str, const char* str_end = NULL);