Home
last modified time | relevance | path

Searched refs:char_idx (Results 1 - 5 of 5) sorted by relevance

/third_party/unity/test/tests/
H A Dtest_unity_parameterized.c290 static unsigned char_idx = 0; in test_EnumCharAndArrayMatrices() local
297 TEST_ASSERT_EQUAL_CHAR(exp_char[char_idx], c); in test_EnumCharAndArrayMatrices()
299 char_idx = (char_idx + 1) % 6; in test_EnumCharAndArrayMatrices()
300 if (char_idx == 0.0f) in test_EnumCharAndArrayMatrices()
/third_party/python/Modules/
H A D_operator.c1215 Py_ssize_t nattrs, idx, char_idx; in attrgetter_new() local
1254 for (char_idx = 0; char_idx < item_len; ++char_idx) { in attrgetter_new()
1255 if (PyUnicode_READ(kind, data, char_idx) == '.') in attrgetter_new()
/third_party/glfw/deps/
H A Dnuklear.h12881 int char_idx = 0; in nk_font_bake() local
12907 for (char_idx = 0; char_idx < range->num_chars; char_idx++) in nk_font_bake()
12915 const struct nk_tt_packedchar *pc = &range->chardata_for_range[char_idx]; in nk_font_bake()
12917 codepoint = (nk_rune)(range->first_unicode_codepoint_in_range + char_idx); in nk_font_bake()
12919 (int)height, char_idx, &dummy_x, &dummy_y, &q, 0); in nk_font_bake()
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp2903 static float STB_TEXTEDIT_GETWIDTH(STB_TEXTEDIT_STRING* obj, int line_start_idx, int char_idx) { ImWchar c = obj->TextW[line_start_idx+char_idx]; if (c == '\n') return STB_TEXTEDIT_GETWIDTH_NEWLINE; return GImGui->Font->GetCharAdvance(c) * (GImGui->FontSize / GImGui->Font->FontSize); }
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp3665 static float STB_TEXTEDIT_GETWIDTH(ImGuiInputTextState* obj, int line_start_idx, int char_idx) { ImWchar c = obj->TextW[line_start_idx + char_idx]; if (c == '\n') return STB_TEXTEDIT_GETWIDTH_NEWLINE; ImGuiContext& g = *GImGui; return g.Font->GetCharAdvance(c) * (g.FontSize / g.Font->FontSize); }

Completed in 66 milliseconds