Home
last modified time | relevance | path

Searched refs:found_line (Results 1 – 25 of 38) sorted by relevance

12

/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/system/
H A Dknown_hosts.py126 found, replace_or_add, found_line = search_for_host_key(module, host, key, path, sshkeygen)
128 params['diff'] = compute_diff(path, found_line, replace_or_add, state, key)
159 … if found_line == (line_number + 1) and (replace_or_add or state == 'absent'):
250 found_line = int(re.search(r'found: line (\d+)', l).group(1))
258 return True, False, found_line # found exactly the same key, don't replace
260 return True, True, found_line
301 def compute_diff(path, found_line, replace_or_add, state, key): argument
317 …if (replace_or_add or state == 'absent') and found_line is not None and 1 <= found_line <= len(lin…
318 del lines[found_line - 1]
319 if state == 'present' and (replace_or_add or found_line is None):
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/modules/
H A Dknown_hosts.py134 found, replace_or_add, found_line = search_for_host_key(module, host, key, path, sshkeygen)
136 params['diff'] = compute_diff(path, found_line, replace_or_add, state, key)
167 … if found_line == (line_number + 1) and (replace_or_add or state == 'absent'):
258 found_line = int(re.search(r'found: line (\d+)', l).group(1))
266 return True, False, found_line # found exactly the same key, don't replace
268 return True, True, found_line
309 def compute_diff(path, found_line, replace_or_add, state, key): argument
325 …if (replace_or_add or state == 'absent') and found_line is not None and 1 <= found_line <= len(lin…
326 del lines[found_line - 1]
327 if state == 'present' and (replace_or_add or found_line is None):
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/modules/
H A Dknown_hosts.py134 found, replace_or_add, found_line = search_for_host_key(module, host, key, path, sshkeygen)
136 params['diff'] = compute_diff(path, found_line, replace_or_add, state, key)
167 … if found_line == (line_number + 1) and (replace_or_add or state == 'absent'):
258 found_line = int(re.search(r'found: line (\d+)', l).group(1))
266 return True, False, found_line # found exactly the same key, don't replace
268 return True, True, found_line
309 def compute_diff(path, found_line, replace_or_add, state, key): argument
325 …if (replace_or_add or state == 'absent') and found_line is not None and 1 <= found_line <= len(lin…
326 del lines[found_line - 1]
327 if state == 'present' and (replace_or_add or found_line is None):
/dports/sysutils/ansible2/ansible-2.9.27/test/units/modules/system/
H A Dtest_known_hosts.py24 diff = compute_diff(path, found_line=None, replace_or_add=False, state='present', key=key)
37 diff = compute_diff(path, found_line=None, replace_or_add=False, state='present', key=key)
51 diff = compute_diff(path, found_line=1, replace_or_add=False, state='present', key=key)
65 diff = compute_diff(path, found_line=1, replace_or_add=True, state='present', key=key)
79 diff = compute_diff(path, found_line=1, replace_or_add=False, state='absent', key=key)
92 diff = compute_diff(path, found_line=None, replace_or_add=False, state='absent', key=key)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/modules/
H A Dtest_known_hosts.py27 diff = compute_diff(path, found_line=None, replace_or_add=False, state='present', key=key)
40 diff = compute_diff(path, found_line=None, replace_or_add=False, state='present', key=key)
54 diff = compute_diff(path, found_line=1, replace_or_add=False, state='present', key=key)
68 diff = compute_diff(path, found_line=1, replace_or_add=True, state='present', key=key)
82 diff = compute_diff(path, found_line=1, replace_or_add=False, state='absent', key=key)
95 diff = compute_diff(path, found_line=None, replace_or_add=False, state='absent', key=key)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/modules/
H A Dtest_known_hosts.py27 diff = compute_diff(path, found_line=None, replace_or_add=False, state='present', key=key)
40 diff = compute_diff(path, found_line=None, replace_or_add=False, state='present', key=key)
54 diff = compute_diff(path, found_line=1, replace_or_add=False, state='present', key=key)
68 diff = compute_diff(path, found_line=1, replace_or_add=True, state='present', key=key)
82 diff = compute_diff(path, found_line=1, replace_or_add=False, state='absent', key=key)
95 diff = compute_diff(path, found_line=None, replace_or_add=False, state='absent', key=key)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/merge_requests/
H A Doutdated_discussion_diff_lines_service.rb18 found_line = false
21 if found_line
30 found_line = l.old_line == line_position["new_line"]
/dports/devel/pear-PHPTAL/PHPTAL-1.3.0/PHPTAL/
H A DTemplateException.php137 $found_line=false;
145 $found_line=true;
158 return $found_line && $found_file;
/dports/science/py-ase/ase-3.22.0/ase/calculators/
H A Dorca.py101 found_line = re_energy.search(text)
102 if found_line and not re_not_converged.search(found_line.group()):
103 self.results['energy'] = float(found_line.group().split()[-1]) * Hartree
/dports/audio/ampache/ampache-php74-5.0.0/vendor/scn/phptal/src/Exception/
H A DTemplateException.php173 $found_line = false;
181 $found_line = true;
194 return $found_line && $found_file;
/dports/astro/py-astropy/astropy-5.0/astropy/io/ascii/
H A Dcds.py93 found_line = False
97 found_line = True
98 elif found_line: # First line after list of file descriptions
/dports/graphics/hugin/hugin-2020.0.0/src/hugin1/calibrate_lens/
H A DLensCalImageCtrl.cpp90 int found_line=-1; in OnMouseEvent() local
127 found_line=i; in OnMouseEvent()
131 if(found_line==-1) in OnMouseEvent()
137 lines[found_line].status=HuginLines::valid_line_disabled; in OnMouseEvent()
141 lines[found_line].status=HuginLines::valid_line; in OnMouseEvent()
/dports/textproc/R-cran-spelling/spelling/R/
H A Dspell-check.R113 summarize_words <- function(file_names, found_line){ argument
114 words_by_file <- lapply(found_line, names)
123 paste0(basename(file_names[i]), ":", found_line[[i]][word])
/dports/games/freecell-solver/freecell-solver-6.2.0/
H A Ddbm_solver.c620 bool found_line; in main() local
624 found_line = false; in main()
633 found_line = true; in main()
639 if (found_line) in main()
712 } while (found_line && (!queue_solution_was_found)); in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Symbol/
H A DCompileUnit.cpp301 uint32_t found_line = line_entry.line; in ResolveSymbolContext() local
317 line_idx + 1, file_indexes.front(), found_line, true, &line_entry); in ResolveSymbolContext()
320 line_idx + 1, file_indexes, found_line, true, &line_entry); in ResolveSymbolContext()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Symbol/
H A DCompileUnit.cpp301 uint32_t found_line = line_entry.line; in ResolveSymbolContext() local
317 line_idx + 1, file_indexes.front(), found_line, true, &line_entry); in ResolveSymbolContext()
320 line_idx + 1, file_indexes, found_line, true, &line_entry); in ResolveSymbolContext()
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Symbol/
H A DCompileUnit.cpp300 uint32_t found_line = line_entry.line; in ResolveSymbolContext() local
316 line_idx + 1, file_indexes.front(), found_line, true, &line_entry); in ResolveSymbolContext()
319 line_idx + 1, file_indexes, found_line, true, &line_entry); in ResolveSymbolContext()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Symbol/
H A DCompileUnit.cpp300 uint32_t found_line = line_entry.line; in ResolveSymbolContext() local
316 line_idx + 1, file_indexes.front(), found_line, true, &line_entry); in ResolveSymbolContext()
319 line_idx + 1, file_indexes, found_line, true, &line_entry); in ResolveSymbolContext()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Symbol/
H A DCompileUnit.cpp301 uint32_t found_line = line_entry.line; in ResolveSymbolContext() local
317 line_idx + 1, file_indexes.front(), found_line, true, &line_entry); in ResolveSymbolContext()
320 line_idx + 1, file_indexes, found_line, true, &line_entry); in ResolveSymbolContext()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/ng/inline/
H A Dng_ruby_utils.cc110 bool found_line = false; in GetOverhang() local
136 found_line = true; in GetOverhang()
149 if (!found_line || !ruby_text_style) in GetOverhang()
/dports/graphics/vulkan-validation-layers/Vulkan-ValidationLayers-1.2.203/layers/
H A Dgpu_utils.cpp476 bool found_line = std::regex_match(string, captures, line_regex); in GetLineAndFilename() local
477 if (!found_line) return false; in GetLineAndFilename()
568 bool found_line = GetLineAndFilename(*it, &parsed_line_number, parsed_filename); in UtilGenerateSourceMessages() local
569 if (!found_line) continue; in UtilGenerateSourceMessages()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/vulkan-validation-layers/src/layers/
H A Dgpu_utils.cpp474 bool found_line = std::regex_match(string, captures, line_regex); in GetLineAndFilename() local
475 if (!found_line) return false; in GetLineAndFilename()
566 bool found_line = GetLineAndFilename(*it, &parsed_line_number, parsed_filename); in UtilGenerateSourceMessages() local
567 if (!found_line) continue; in UtilGenerateSourceMessages()
/dports/net-mgmt/nagios/nagios-3.5.1/cgi/
H A Dhistory.c495 int found_line = FALSE; in get_history() local
937 found_line = TRUE; in get_history()
950 if(found_line == FALSE) { in get_history()
/dports/net-mgmt/nagios4/nagios-4.4.6/cgi/
H A Dhistory.c465 int found_line = FALSE; in get_history() local
907 found_line = TRUE; in get_history()
920 if(found_line == FALSE) { in get_history()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtktextlayout.c3044 GtkTextLine *found_line = NULL; in find_display_line_below() local
3060 while (line && !found_line) in find_display_line_below()
3078 found_line = line; in find_display_line_below()
3094 found_line = line; in find_display_line_below()
3099 gtk_text_layout_get_iter_at_line (layout, iter, found_line, found_byte); in find_display_line_below()
3112 GtkTextLine *found_line = NULL; in find_display_line_above() local
3124 while (line && !found_line) in find_display_line_above()
3152 found_line = line; in find_display_line_above()
3168 if (found_line) in find_display_line_above()
3169 gtk_text_layout_get_iter_at_line (layout, iter, found_line, found_byte); in find_display_line_above()

12