Home
last modified time | relevance | path

Searched refs:num_lines (Results 1 – 25 of 65) sorted by relevance

123

/external/OpenCL-CTS/test_conformance/compiler/
Dtest_build_helpers.cpp116 constexpr int num_lines = ARRAY_SIZE(sample_kernel_code_multi_line); in test_load_multistring_source() local
119 size_t line_lengths[num_lines]; in test_load_multistring_source()
120 for (i = 0; i < num_lines; i++) in test_load_multistring_source()
126 program = clCreateProgramWithSource(context, num_lines, in test_load_multistring_source()
153 constexpr int num_lines = ARRAY_SIZE(sample_kernel_code_two_line); in test_load_two_kernel_source() local
156 size_t line_lengths[num_lines]; in test_load_two_kernel_source()
157 for (i = 0; i < num_lines; i++) in test_load_two_kernel_source()
164 context, num_lines, sample_kernel_code_two_line, line_lengths, &error); in test_load_two_kernel_source()
217 int num_lines = ARRAY_SIZE(sample_kernel_code_multi_line); in test_load_null_terminated_multi_line_source() local
221 context, num_lines, sample_kernel_code_multi_line, NULL, &error); in test_load_null_terminated_multi_line_source()
[all …]
/external/OpenCL-CTS/test_conformance/device_execution/
Dutils.cpp23 …text context, cl_command_queue queue, const char** source, unsigned int num_lines, const char* ker… in run_single_kernel() argument
25 …return run_single_kernel_args(context, queue, source, num_lines, kernel_name, results, res_size, 0… in run_single_kernel()
28 …text context, cl_command_queue queue, const char** source, unsigned int num_lines, const char* ker… in run_single_kernel_args() argument
30 …return run_n_kernel_args(context, queue, source, num_lines, kernel_name, 1, 1, results, res_size, … in run_single_kernel_args()
33 …text context, cl_command_queue queue, const char** source, unsigned int num_lines, const char* ker… in run_n_kernel_args() argument
43 err_ret = create_single_kernel_helper(context, &program, &kernel, num_lines, in run_n_kernel_args()
Dutils.h42 unsigned int num_lines; member
69 …text context, cl_command_queue queue, const char** source, unsigned int num_lines, const char* ker…
70 …text context, cl_command_queue queue, const char** source, unsigned int num_lines, const char* ker…
71 …text context, cl_command_queue queue, const char** source, unsigned int num_lines, const char* ker…
/external/llvm-project/lldb/source/Commands/
DCommandObjectSource.cpp61 if (option_arg.getAsInteger(0, num_lines)) in SetOptionValue()
95 num_lines = 0; in OptionParsingStarting()
110 uint32_t num_lines; member in CommandObjectSourceInfo::CommandOptions
142 uint32_t num_lines = m_options.num_lines; in DumpLinesInSymbolContexts() local
168 if (num_lines > 0 && num_matches > num_lines) in DumpLinesInSymbolContexts()
200 uint32_t num_lines = m_options.num_lines; in DumpFileLinesInCompUnit() local
241 if (num_lines > 0 && num_matches > num_lines) in DumpFileLinesInCompUnit()
644 if (option_arg.getAsInteger(0, num_lines)) in SetOptionValue()
700 num_lines = 0; in OptionParsingStarting()
716 uint32_t num_lines; member in CommandObjectSourceList::CommandOptions
[all …]
DCommandObjectExpression.cpp509 const size_t num_lines = lines.GetSize(); in IOHandlerIsInputComplete() local
510 if (num_lines > 0 && lines[num_lines - 1].empty()) { in IOHandlerIsInputComplete()
/external/libjpeg-turbo/
Djcapistd.c79 JDIMENSION num_lines) in jpeg_write_scanlines() argument
105 if (num_lines > rows_left) in jpeg_write_scanlines()
106 num_lines = rows_left; in jpeg_write_scanlines()
109 (*cinfo->main->process_data) (cinfo, scanlines, &row_ctr, num_lines); in jpeg_write_scanlines()
122 JDIMENSION num_lines) in jpeg_write_raw_data() argument
150 if (num_lines < lines_per_iMCU_row) in jpeg_write_raw_data()
Djdapistd.c318 read_and_discard_scanlines(j_decompress_ptr cinfo, JDIMENSION num_lines) in read_and_discard_scanlines() argument
350 for (n = 0; n < num_lines; n++) in read_and_discard_scanlines()
402 jpeg_skip_scanlines(j_decompress_ptr cinfo, JDIMENSION num_lines) in jpeg_skip_scanlines() argument
421 if (cinfo->output_scanline + num_lines >= cinfo->output_height) { in jpeg_skip_scanlines()
422 num_lines = cinfo->output_height - cinfo->output_scanline; in jpeg_skip_scanlines()
426 return num_lines; in jpeg_skip_scanlines()
429 if (num_lines == 0) in jpeg_skip_scanlines()
436 lines_after_iMCU_row = num_lines - lines_left_in_iMCU_row; in jpeg_skip_scanlines()
451 if ((num_lines < lines_left_in_iMCU_row + 1) || in jpeg_skip_scanlines()
454 read_and_discard_scanlines(cinfo, num_lines); in jpeg_skip_scanlines()
[all …]
Djpeglib.h961 JDIMENSION num_lines);
971 JDIMENSION num_lines);
1008 JDIMENSION num_lines);
/external/autotest/site_utils/
Dlog_socket_server_unittest.py66 num_lines = sum(1 for line in open(log_filename))
67 if process_number != num_lines:
70 log_filename, process_number, num_lines)
71 self.assertNotEqual(0, num_lines, 'No log message was written to file '
/external/webp/src/utils/
Drescaler_utils.c111 const int num_lines = (wrk->y_accum + wrk->y_sub - 1) / wrk->y_sub; in WebPRescaleNeededLines() local
112 return (num_lines > max_num_lines) ? max_num_lines : num_lines; in WebPRescaleNeededLines()
115 int WebPRescalerImport(WebPRescaler* const wrk, int num_lines, in WebPRescalerImport() argument
118 while (total_imported < num_lines && !WebPRescalerHasPendingOutput(wrk)) { in WebPRescalerImport()
/external/autotest/tko/parsers/
Dversion_1.py331 num_lines = len(ignored_lines)
332 if num_lines > 2:
334 num_lines)
338 elif num_lines == 2:
340 num_lines)
343 elif num_lines == 1:
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/
DDefaultController.py28 num_lines = len(fp.readlines())
29 for line in range(1, num_lines + 1):
/external/iproute2/misc/
Dlnstat.c173 int num_lines; member
201 th.num_lines = h+1; in build_hdr_string()
210 for (h = 1; h <= th.num_lines; h++) { in build_hdr_string()
224 for (i = 0; i < th->num_lines; i++) { in print_hdr()
Dlnstat_util.c42 int j, num_lines = 0; in scan_lines() local
55 num_lines++; in scan_lines()
68 return num_lines; in scan_lines()
/external/llvm-project/lldb/examples/python/
Dlldbtk.py301 num_lines = self.cu.GetNumLineEntries()
306 'children': num_lines > 0,
325 num_lines = self.cu.GetNumLineEntries()
326 summary = '%u line entries' % (num_lines)
330 'children': num_lines > 0,
335 num_lines = self.cu.GetNumLineEntries()
336 for i in range(num_lines):
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtext_line_dataset_test.py49 num_lines, argument
57 for j in range(num_lines):
61 if j + 1 != num_lines or i == 0:
/external/llvm-project/lldb/source/Core/
DIOHandlerCursesGUI.cpp691 const size_t num_lines = help_delegate_up->GetNumLines(); in CreateHelpSubwindow() local
706 if (num_lines + 2 < static_cast<size_t>(bounds.size.height)) { in CreateHelpSubwindow()
707 bounds.origin.y += (bounds.size.height - num_lines + 2) / 2; in CreateHelpSubwindow()
708 bounds.size.height = num_lines + 2; in CreateHelpSubwindow()
2928 const size_t num_lines = m_text.GetSize(); in WindowDelegateDraw() local
2930 if (num_lines <= num_visible_lines) in WindowDelegateDraw()
2947 const size_t num_lines = m_text.GetSize(); in WindowDelegateHandleChar() local
2950 if (num_lines <= num_visible_lines) { in WindowDelegateHandleChar()
2962 if (m_first_visible_line + num_visible_lines < num_lines) in WindowDelegateHandleChar()
2978 if (m_first_visible_line + num_visible_lines < num_lines) { in WindowDelegateHandleChar()
[all …]
/external/rust/crates/codespan-reporting/examples/
Dreadme_preview.rs93 let num_lines = buffer.iter().filter(|byte| **byte == b'\n').count() + 1; in main() localVariable
99 let height = padding + num_lines * (font_size + line_spacing) + padding; in main()
/external/llvm-project/lldb/include/lldb/Core/
DIOHandler.h318 const size_t num_lines = lines.GetSize(); in IOHandlerIsInputComplete() local
319 if (num_lines > 0 && lines[num_lines - 1] == m_end_line) { in IOHandlerIsInputComplete()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dreader_dataset_ops_test_base.py279 num_lines, argument
287 for j in range(num_lines):
291 if j + 1 != num_lines or i == 0:
/external/openssh/
Dmoduli.c578 char *checkpoint_file, unsigned long start_lineno, unsigned long num_lines) in prime_test() argument
593 if (num_lines == 0) in prime_test()
596 end_lineno = start_lineno + num_lines; in prime_test()
/external/python/cpython2/Lib/test/
Dtest_tokenize.py15 num_lines = len(source_string.splitlines())
22 if missing_trailing_nl and type == NEWLINE and end[0] == num_lines:
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common.py227 def num_lines(self): member in RichTextLines
285 orig_num_lines = self.num_lines() # Record original number of lines.
310 other_num_lines = other.num_lines() # Record original number of lines.
468 new_line_indices.append(out.num_lines())
Ddebugger_cli_common_test.py64 self.assertEqual(2, screen_output.num_lines())
141 self.assertEqual(4, screen_output_1.num_lines())
177 self.assertEqual(2, screen_output_1.num_lines())
204 self.assertEqual(2, screen_output_1.num_lines())
799 self.assertEqual(1, sliced.num_lines())
813 self.assertEqual(1, sliced.num_lines())
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/apidoc/
Depydoc.js149 function num_lines(s) { function
167 if (num_lines(elt.innerHTML) > min_lines)

123