/dports/www/drupal8/drupal-8.9.20/core/modules/block/tests/src/Functional/ |
H A D | BlockCacheTest.php | 91 $old_content = $current_content; 95 $this->assertText($old_content, 'Block is served from the cache.'); 104 $old_content = $current_content; 121 $this->assertText($old_content, 'Block is served from the per-role cache.'); 138 $old_content = $current_content; 143 $this->assertText($old_content, 'Block content served from cache.'); 183 $old_content = $current_content; 188 $this->assertText($old_content, 'Block is served from per-user cache.'); 196 $this->assertText($old_content, 'Per-user block cache is persistent.'); 211 $old_content = $current_content; [all …]
|
/dports/www/drupal9/drupal-9.2.10/core/modules/block/tests/src/Functional/ |
H A D | BlockCacheTest.php | 91 $old_content = $current_content; 95 $this->assertSession()->pageTextContains($old_content); 105 $old_content = $current_content; 116 $this->assertSession()->pageTextContains($old_content); 126 $this->assertSession()->pageTextContains($old_content); 143 $old_content = $current_content; 149 $this->assertSession()->pageTextContains($old_content); 191 $old_content = $current_content; 197 $this->assertSession()->pageTextContains($old_content); 207 $this->assertSession()->pageTextContains($old_content); [all …]
|
/dports/games/gnome-2048/gnome-2048-3.38.2/src/ |
H A D | test-tw12ht.vala | 116 string old_content, new_content; 120 old_content = "2 2\n0 2\n2 4\n4\n"; 125 old_content = "3 2\n0 2 0\n0 2 4\n-42\n"; 130 old_content = "3 2\n0 2\n0 4\n4 2\n8\n"; 135 old_content = "3 2\n0 2\n0 4\n4 3\n-42\n"; 140 old_content = "3 2\n0 2\n0 4\n4 -2\n-42\n"; 155 old_content = "3 2\n0 2\n0 4 2\n4 2\n-42\n"; 160 old_content = "3 2\n0 2\n0 4\n8 2\n16\n"; 163 assert_true (new_content != old_content); 166 private static void test_load_grid (ref string old_content, [all …]
|
/dports/sysutils/vector/vector-0.10.0/scripts/generate/post_processors/ |
H A D | last_modified_setter.rb | 14 old_content = File.read(target_path).lstrip 16 if content_changed?(old_content, content) 21 old_content 26 def content_changed?(old_content, new_content) argument 27 old_content = remove_last_modified_on(old_content) 29 old_content != new_content
|
/dports/devel/py-pygit2/pygit2-1.7.1/test/ |
H A D | test_apply_diff.py | 45 def old_content(testrepo): function 76 def test_apply_diff_to_index(testrepo, old_content, patch_diff): argument 80 assert read_content(testrepo) == old_content 90 def test_diff_applies_to_workdir(testrepo, old_content, patch_diff): argument 95 assert read_content(testrepo) == old_content 104 def test_diff_applies_to_index(testrepo, old_content, patch_diff): argument 109 assert read_content(testrepo) == old_content 118 def test_diff_applies_to_both(testrepo, old_content, patch_diff): argument 123 assert read_content(testrepo) == old_content
|
/dports/x11/wmcliphist/wmcliphist/ |
H A D | clipboard.c | 55 static gchar *old_content = ""; in my_get_selection_text() local 66 if (g_utf8_collate(text, old_content) != 0 && in my_get_selection_text() 77 g_free(old_content); in my_get_selection_text() 78 old_content = content; in my_get_selection_text() 111 static gchar *old_content = ""; in my_get_xselection() local 126 memcmp(content, old_content, length) != 0) && in my_get_xselection() 131 g_free(old_content); in my_get_xselection() 132 old_content = content; in my_get_xselection()
|
/dports/security/zeronet/ZeroNet-0.7.1/src/Content/ |
H A D | ContentManager.py | 74 old_content = self.contents.get(content_inner_path) 111 … if old_content and old_content["files"].get(relative_path): # We have the file in the old content 122 if old_content and old_content.get("files_optional", {}).get(relative_path): 140 if old_content: 142 old_content.get("files", {}), 143 **old_content.get("files_optional", {}) 172 … if old_content.get("files_optional") and old_content["files_optional"].get(file_relative_path): 835 old_content = self.contents.get(inner_path) 836 if old_content: 837 …old_content_size = len(json.dumps(old_content, indent=1)) + sum([file["size"] for file in list(old… [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/ |
H A D | edit-context.c | 958 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1013 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1058 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1100 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1198 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1243 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1288 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1326 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1373 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1571 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/ |
H A D | edit-context.c | 957 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1012 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1057 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1099 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1197 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1242 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1287 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1325 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1372 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1570 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/ |
H A D | edit-context.c | 958 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1013 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1058 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1100 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1198 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1243 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1288 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1326 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1373 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1571 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/ |
H A D | edit-context.c | 951 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1006 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1051 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1093 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1191 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1236 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1281 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1319 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1366 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1564 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/ |
H A D | edit-context.c | 957 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1012 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1057 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1099 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1197 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1242 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1287 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1325 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1372 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1570 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/ |
H A D | edit-context.c | 951 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1006 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1051 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1093 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1191 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1236 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1281 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1319 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1366 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1564 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/ |
H A D | edit-context.c | 958 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1013 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1058 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1100 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1198 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1243 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1288 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1326 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1373 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1571 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/ |
H A D | edit-context.c | 957 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1012 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1057 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1099 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1197 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1242 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1287 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1325 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1372 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1570 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/ |
H A D | edit-context.c | 958 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1013 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1058 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1100 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1198 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1243 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1288 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1326 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1373 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1571 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/ |
H A D | edit-context.c | 958 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1013 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1058 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1100 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1198 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1243 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1288 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1326 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1373 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1571 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/ |
H A D | edit-context.c | 957 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1012 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1057 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1099 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1197 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1242 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1287 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1325 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1372 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1570 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/ |
H A D | edit-context.c | 950 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1005 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1050 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1092 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1190 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1235 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1280 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1318 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1365 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1563 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/ |
H A D | edit-context.c | 951 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1006 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1051 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1093 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1191 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1236 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1281 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1319 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1366 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1564 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/ |
H A D | edit-context.c | 950 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1005 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1050 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1092 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1190 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1235 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1280 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1318 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1365 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1563 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc8/gcc-8.5.0/gcc/ |
H A D | edit-context.c | 958 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1013 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1058 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1100 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1198 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1243 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1288 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1326 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1373 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1571 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/ |
H A D | edit-context.c | 950 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_before() local 1005 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after() local 1050 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_at_line_end() local 1092 const char *old_content = ("/* before */\n" in test_applying_fixits_insert_after_failure() local 1190 const char *old_content = ("/* before */\n" in test_applying_fixits_growing_replace() local 1235 const char *old_content = ("/* before */\n" in test_applying_fixits_shrinking_replace() local 1280 const char *old_content = "foo = bar ();\n"; in test_applying_fixits_replace_containing_newline() local 1318 const char *old_content = ("/* before */\n" in test_applying_fixits_remove() local 1365 const char *old_content = ("/* before */\n" in test_applying_fixits_multiple() local 1563 const char *old_content = ("/* before */\n" in test_applying_fixits_modernize_named_init() local [all …]
|
/dports/www/moinmoin/moin-1.9.11/MoinMoin/mail/ |
H A D | mailimport.py | 276 old_content = Page(request, pagename).get_raw_body() 277 if old_content: 278 new_content = u"%s\n-----\n" % old_content 301 old_content = Page(request, parent_page).get_raw_body().splitlines() 305 for lineno, line in enumerate(old_content): 306 if line.startswith("## mail_overview") and old_content[lineno+1].startswith("||"): 329 content = "\n".join(old_content[:table_ends] + [new_line] + old_content[table_ends:]) 331 content = "\n".join(old_content) + table_header + new_line
|
/dports/print/tex-xdvik/xdvik-22.87/texk/xdvik/gui/ |
H A D | statusline.c | 432 const char *old_content, in internal_print_statusline() argument 447 if (old_content != NULL) in internal_print_statusline() 448 (void)fputs(old_content, stdout); in internal_print_statusline() 458 if (old_content != NULL && old_content[0] != '\0') { in internal_print_statusline() 459 offset += strlen(old_content); in internal_print_statusline() 460 strncpy(buf, old_content, MAX_LEN); in internal_print_statusline() 462 if (strlen(old_content) < MAX_LEN - 1) { in internal_print_statusline()
|