/dports/devel/efl/efl-1.25.1/src/tests/eina/ |
H A D | eina_test_abstract_content.c | 13 const char *text_str = "TestAsDf"; in EFL_START_TEST() local 18 ck_assert_str_eq(eina_content_data_get(content).mem, text_str); in EFL_START_TEST() 26 const char *text_str = "TestAsDf"; in EFL_START_TEST() local 33 ck_assert_str_eq(file_content, text_str); in EFL_START_TEST() 45 const char *text_str = "TestAsDf"; in EFL_START_TEST() local 56 const char *text_str = "TestAsDf"; in EFL_START_TEST() local 61 ck_assert_str_eq(eina_content_data_get(c).mem, text_str); in EFL_START_TEST() 67 const char *text_str = "TestAsDf"; in EFL_START_TEST() local 72 ck_assert_str_eq(eina_content_data_get(c).mem, text_str); in EFL_START_TEST() 85 ck_assert_int_eq(sizeof(text_str), eina_content_data_get(c).len); in EFL_START_TEST() [all …]
|
/dports/multimedia/sabbu/sabbu-0.3.0/Source/ |
H A D | krySubReaderTXT.cpp | 69 char *text_str; in ReadScript() local 107 text_str = kry_strdup(ptr); in ReadScript() 117 text_str = kry_strdup(string_ignore_whitespce(g_utf8_next_char(name))); in ReadScript() 126 text_str = kry_strdup(ptr); in ReadScript() 135 for(i = strlen(text_str) - 1; i >= 0 && (text_str[i] == ' ' || text_str[i] == '\t'); i--) in ReadScript() 136 text_str[i] = 0; in ReadScript() 144 line->SetText(text_str); in ReadScript() 145 kry_free(text_str); in ReadScript()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdftext/ |
H A D | cpdf_linkextract_unittest.cpp | 35 WideString text_str(input); in TEST() local 36 EXPECT_FALSE(extractor.CheckMailLink(&text_str)) << input; in TEST() 56 WideString text_str(input); in TEST() local 59 EXPECT_TRUE(extractor.CheckMailLink(&text_str)) << input; in TEST() 60 EXPECT_STREQ(expected_str.c_str(), text_str.c_str()); in TEST() 83 WideString text_str(input); in TEST() local 86 EXPECT_FALSE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST() 178 WideString text_str(input); in TEST() local 181 EXPECT_TRUE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST() 183 EXPECT_STREQ(valid_cases[i].url_extracted, text_str.c_str()); in TEST()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdftext/ |
H A D | cpdf_linkextract_unittest.cpp | 36 WideString text_str(input); in TEST() local 37 EXPECT_FALSE(extractor.CheckMailLink(&text_str)) << input; in TEST() 57 WideString text_str(input); in TEST() local 60 EXPECT_TRUE(extractor.CheckMailLink(&text_str)) << input; in TEST() 61 EXPECT_STREQ(expected_str.c_str(), text_str.c_str()); in TEST() 84 WideString text_str(input); in TEST() local 87 EXPECT_FALSE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST() 179 WideString text_str(input); in TEST() local 182 EXPECT_TRUE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST() 184 EXPECT_STREQ(valid_cases[i].url_extracted, text_str.c_str()); in TEST()
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdftext/ |
H A D | fpdf_text_int_unittest.cpp | 33 CFX_WideString text_str(invalid_strs[i]); in TEST() local 34 EXPECT_FALSE(extractor.CheckMailLink(text_str)); in TEST() 53 CFX_WideString text_str(valid_strs[i][0]); in TEST() local 56 EXPECT_TRUE(extractor.CheckMailLink(text_str)); in TEST() 57 EXPECT_STREQ(text_str.c_str(), expected_str.c_str()); in TEST()
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdftext/ |
H A D | fpdf_text_int_unittest.cpp | 33 CFX_WideString text_str(invalid_strs[i]); in TEST() local 34 EXPECT_FALSE(extractor.CheckMailLink(text_str)); in TEST() 53 CFX_WideString text_str(valid_strs[i][0]); in TEST() local 56 EXPECT_TRUE(extractor.CheckMailLink(text_str)); in TEST() 57 EXPECT_STREQ(text_str.c_str(), expected_str.c_str()); in TEST()
|
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/arcade/glui/ |
H A D | bottombar.py | 159 text_str = "" 168 text_str = text_str + u" \u00b7 " + text 177 text_str = text_str + u" \u00b7 " + text 179 if len(text_str) > 3: 180 text_str = text_str[3:] # remove initial middle dot 181 tw, th = Render.get().measure_text(text_str, Font.subtitle_font) 183 text_str,
|
/dports/devel/py-monty/monty-2021.8.17/monty/ |
H A D | pprint.py | 46 def draw_tree(node, child_iter=lambda n: n.children, text_str=lambda n: str(n)): argument 60 return _draw_tree(node, "", child_iter, text_str) 63 def _draw_tree(node, prefix, child_iter, text_str): argument 72 buf.write(text_str(node)) 81 buf.write(_draw_tree(child, sub_prefix, child_iter, text_str))
|
/dports/sysutils/R-cran-processx/processx/src/win/ |
H A D | named_pipe.c | 114 const char* text_str = CHAR(STRING_ELT(text, 0)); in processx_write_named_pipe() local 119 text_str, in processx_write_named_pipe() 120 strlen(text_str), in processx_write_named_pipe() 125 if (!success || strlen(text_str) != n_written) { in processx_write_named_pipe()
|
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/qchem/ |
H A D | utils.py | 11 def read_pattern(text_str, patterns, terminate_on_match=False, postprocess=str): argument 35 for match in pattern.finditer(text_str): 43 text_str, argument 91 for mt in table_pattern.finditer(text_str):
|
/dports/www/netsurf/netsurf-3.10/content/handlers/javascript/duktape/ |
H A D | Document.bnd | 99 dom_string *text_str; 105 text_str, 108 dom_string_unref(text_str); 112 dom_string_unref(text_str); 127 dom_string *text_str; 134 text_str, 137 dom_string_unref(text_str); 141 dom_string_unref(text_str); 158 dom_string *text_str; 172 text_str, [all …]
|
H A D | DOMImplementation.bnd | 31 dom_string *text_str = NULL; 34 exc = dom_string_create((const uint8_t*)text, text_len, &text_str); 70 exc = dom_node_set_text_content(title, text_str); 93 if (text_str != NULL) { 94 dom_string_unref(text_str);
|
H A D | Event.bnd | 176 dom_string *text_str; 178 exc = dom_string_create((const uint8_t*)text, text_len, &text_str); 184 exc = dom_event_init(priv->evt, text_str, bubbles, cancellable); 185 dom_string_unref(text_str);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/localization/ |
H A D | localize.cpp | 816 strncpy(text_str, str_start, str_length); in lcl_ext_localize_sub() 817 text_str[str_length] = '\0'; in lcl_ext_localize_sub() 836 xstr_str = text_str; in lcl_ext_localize_sub() 977 text_str.assign(str_start, str_end); in lcl_ext_localize_sub() 996 xstr_str = text_str.c_str(); in lcl_ext_localize_sub() 1051 char text_str[PARSE_BUF_SIZE] = ""; in lcl_ext_localize() local 1060 if (strlen(text_str) < NAME_LENGTH) in lcl_ext_localize() 1086 SCP_string text_str = ""; in lcl_ext_localize() local 1095 if (text_str.length() < NAME_LENGTH) in lcl_ext_localize() 1098 if (extracted && text_str != out) in lcl_ext_localize() [all …]
|
/dports/graphics/colmap/colmap-3.6/src/ui/ |
H A D | log_widget.cc | 124 std::string text_str; in Update() local 127 text_str += "\n"; in Update() 129 text_str += text[i]; in Update() 134 log_widget->Append(text_str); in Update()
|
/dports/misc/xiphos/xiphos-4.2.1/src/editor/ |
H A D | link_dialog.c | 64 const gchar *text_str = NULL; in button_ok_clicked_cb() local 72 text_str = gtk_entry_get_text(GTK_ENTRY(entry_text)); in button_ok_clicked_cb() 87 (text_str ? text_str : "")); in button_ok_clicked_cb()
|
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | printer_tree.c | 509 const char *text_str; in tree_print_snode() local 608 line_len += ly_print(out, text_str); in tree_print_snode() 609 lydict_remove(opts->module->ctx, text_str); in tree_print_snode() 625 opts, &text_str); in tree_print_snode() 628 line_len += ly_print(out, text_str); in tree_print_snode() 629 lydict_remove(opts->module->ctx, text_str); in tree_print_snode() 640 text_str = ((struct lys_node_leaf *)node)->dflt; in tree_print_snode() 641 if (text_str) { in tree_print_snode() 643 line_len += ly_print(out, "<%s>", text_str); in tree_print_snode() 681 line_len += ly_print(out, text_str); in tree_print_snode() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ppapi/shared_impl/ |
H A D | ppb_input_event_shared.cc | 241 StringVar* text_str = StringVar::FromPPVar(text); in CreateIMEInputEvent() local 242 if (!text_str) in CreateIMEInputEvent() 244 data.character_text = text_str->value(); in CreateIMEInputEvent() 279 StringVar* text_str = StringVar::FromPPVar(character_text); in CreateKeyboardInputEvent() local 280 if (!text_str) in CreateKeyboardInputEvent() 282 data.character_text = text_str->value(); in CreateKeyboardInputEvent()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/shared_impl/ |
H A D | ppb_input_event_shared.cc | 241 StringVar* text_str = StringVar::FromPPVar(text); in CreateIMEInputEvent() local 242 if (!text_str) in CreateIMEInputEvent() 244 data.character_text = text_str->value(); in CreateIMEInputEvent() 279 StringVar* text_str = StringVar::FromPPVar(character_text); in CreateKeyboardInputEvent() local 280 if (!text_str) in CreateKeyboardInputEvent() 282 data.character_text = text_str->value(); in CreateKeyboardInputEvent()
|
/dports/science/nest/nest-simulator-3.1/sli/ |
H A D | interpret.cc | 874 std::string text_str( text ); in message() local 877 if ( text_str.size() != 0 ) in message() 885 for ( size_t i = 0; i < text_str.size(); ++i ) in message() 887 if ( text_str.at( i ) == '\n' && i != text_str.size() - 1 ) in message() 901 …size_t space = text_str.find( ' ', i ) < text_str.find( '\n' ) ? text_str.find( ' ', i ) : text_st… in message() 906 space = text_str.size(); in message() 912 if ( i != 0 && text_str.at( i - 1 ) == ' ' in message() 922 if ( not( width - pos == 0 && text_str.at( i ) == ' ' ) ) in message() 925 out << text_str.at( i ); in message()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/tools/strings_tool/ |
H A D | strings_tool.cpp | 67 auto text_str = lit->getString().str(); in getEscapedStringLiteralContent() local 70 replaceAll(text_str, "\n", "\\n"); in getEscapedStringLiteralContent() 72 replaceAll(text_str, "\t", "\\t"); in getEscapedStringLiteralContent() 74 replaceAll(text_str, "\"", "\\\""); in getEscapedStringLiteralContent() 76 return text_str; in getEscapedStringLiteralContent()
|
/dports/sysutils/lnav/lnav-0.10.1/src/ |
H A D | readline_curses.cc | 231 auto text_str = std::string(text_in); in completion_generator() local 234 shlex arg_lexer(text_str); in completion_generator() 239 text_str = result; in completion_generator() 251 if (cmpfunc(text_str.c_str(), poss_str, text_str.length()) == 0 || in completion_generator() 254 cmpfunc(text_str.c_str(), &poss_str[1], text_str.length()) == 0)) { in completion_generator() 260 if (std::count(text_str.begin(), text_str.end(), '/') == poss_slash_count) { in completion_generator() 280 if (fts::fuzzy_match(text_str.c_str(), poss_str.c_str(), score) && score > 0) { in completion_generator() 289 if (std::count(text_str.begin(), text_str.end(), '/') == poss_slash_count) { in completion_generator() 319 if (text_str == matches[0]) { in completion_generator()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/localization/ |
H A D | localize.cpp | 683 char text_str[PARSE_BUF_SIZE]=""; in lcl_ext_localize_sub() local 726 if (!lcl_ext_get_text(in, text_str)) { in lcl_ext_localize_sub() 751 if ( strlen(text_str) > max_len ) in lcl_ext_localize_sub() 752 …error_display(0, "Token too long: [%s]. Length = %i. Max is %i.\n", text_str, strlen(text_str), … in lcl_ext_localize_sub() 754 strncpy(out, text_str, max_len); in lcl_ext_localize_sub() 772 if ( strlen(text_str) > max_len ) in lcl_ext_localize_sub() 775 strncpy(out, text_str, max_len); in lcl_ext_localize_sub() 787 SCP_string text_str = ""; in lcl_ext_localize_sub() local 818 if (!lcl_ext_get_text(in, text_str)) { in lcl_ext_localize_sub() 837 out = text_str; in lcl_ext_localize_sub() [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtktextbufferserialize.c | 40 GString *text_str; member 423 g_string_append (context->text_str, "<text>"); in serialize_text() 448 g_string_append (context->text_str, "</apply_tag>"); in serialize_text() 457 g_string_append_printf (context->text_str, "</apply_tag>"); in serialize_text() 527 g_string_append (context->text_str, escaped_text); in serialize_text() 556 g_string_append (context->text_str, escaped_text); in serialize_text() 565 g_string_append (context->text_str, "</apply_tag>"); in serialize_text() 568 g_string_append (context->text_str, "</text>\n</text_view_markup>\n"); in serialize_text() 607 context.text_str = g_string_new (NULL); in _gtk_text_buffer_serialize_rich_text() 626 g_string_append_len (text, context.text_str->str, context.text_str->len); in _gtk_text_buffer_serialize_rich_text() [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtktextbufferserialize.c | 42 GString *text_str; member 440 g_string_append (context->text_str, "<text>"); in serialize_text() 465 g_string_append (context->text_str, "</apply_tag>"); in serialize_text() 474 g_string_append_printf (context->text_str, "</apply_tag>"); in serialize_text() 544 g_string_append (context->text_str, escaped_text); in serialize_text() 573 g_string_append (context->text_str, escaped_text); in serialize_text() 580 g_string_append (context->text_str, "</apply_tag>"); in serialize_text() 583 g_string_append (context->text_str, "</text>\n</text_view_markup>\n"); in serialize_text() 620 context.text_str = g_string_new (NULL); in _gtk_text_buffer_serialize_rich_text() 639 g_string_append_len (text, context.text_str->str, context.text_str->len); in _gtk_text_buffer_serialize_rich_text() [all …]
|