Searched refs:line_lengths (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_build_helpers.cpp | 119 size_t line_lengths[num_lines]; in test_load_multistring_source() local 122 line_lengths[i] = strlen(sample_kernel_code_multi_line[i]); in test_load_multistring_source() 128 line_lengths, &error); in test_load_multistring_source() 156 size_t line_lengths[num_lines]; in test_load_two_kernel_source() local 159 line_lengths[i] = strlen(sample_kernel_code_two_line[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() 252 size_t line_lengths[num_lines]; in test_load_discreet_length_source() local 255 line_lengths[i] = strlen(sample_kernel_code_bad_multi_line[i]); in test_load_discreet_length_source() 260 line_lengths[2] -= strlen("thisisanerror"); in test_load_discreet_length_source() 265 line_lengths, &error); in test_load_discreet_length_source() [all …]
|
/external/rust/crates/textwrap/src/ |
D | lib.rs | 913 let line_lengths = |i| if i == 0 { initial_width } else { subsequent_width }; in wrap() localVariable 916 core::WrapAlgorithm::OptimalFit => core::wrap_optimal_fit(&broken_words, line_lengths), in wrap() 917 core::WrapAlgorithm::FirstFit => core::wrap_first_fit(&broken_words, line_lengths), in wrap()
|