Home
last modified time | relevance | path

Searched refs:line_count (Results 1 - 25 of 37) sorted by relevance

12

/third_party/backends/backend/
H A Dtest-picture.c51 SANE_Word line_count; in init_picture_buffer() local
134 for (line_count = 0; line_count < lines; line_count++) in init_picture_buffer()
157 ^ (!(line_count > in init_picture_buffer()
167 b[line_count * bpl + x] = value; in init_picture_buffer()
179 ^ (line_count > (SANE_Word) (p_size + 0.5))) in init_picture_buffer()
189 b[line_count * bpl + x + x1] = value; in init_picture_buffer()
196 ^ (line_count > (SANE_Int) (p_size + 0.5))) in init_picture_buffer()
204 b[line_count * bp in init_picture_buffer()
[all...]
H A Dgt68xx_mid.c55 SANE_Int line_count, i; in gt68xx_delay_buffer_init() local
72 delay->line_count = line_count = delay_count + 1; in gt68xx_delay_buffer_init()
76 delay->mem_block = (SANE_Byte *) malloc (bytes_per_line * line_count); in gt68xx_delay_buffer_init()
83 for (i = 0; i < bytes_per_line * line_count; i++) in gt68xx_delay_buffer_init()
87 (unsigned int **) malloc (sizeof (unsigned int *) * line_count); in gt68xx_delay_buffer_init()
96 for (i = 0; i < line_count; ++i) in gt68xx_delay_buffer_init()
124 ((delay)->lines[((delay)->read_index + (dist)) % (delay)->line_count])
131 (delay)->read_index = ((delay)->read_index + 1) % (delay)->line_count; \
132 (delay)->write_index = ((delay)->write_index + 1) % (delay)->line_count; \
[all...]
H A Dgt68xx_mid.h57 SANE_Int line_count; member
H A Dartec_eplus48u.h240 SANE_Int line_count; member
H A Davision.h701 uint8_t line_count [2]; member
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
H A Dsection_parser.cc131 size_t line_count, in AddSection()
138 line_count, kPassThroughShader}); in AddSection()
152 {section_type, shader_type, fmt, line_count, contents.substr(0, size)}); in AddSection()
157 size_t line_count = 0; in SplitSections() local
167 ++line_count; in SplitSections()
174 return Result(std::to_string(line_count) + ": Invalid character"); in SplitSections()
176 section_start = line_count; in SplitSections()
188 section_start = line_count; in SplitSections()
193 return Result(std::to_string(line_count) + ": Missing section close"); in SplitSections()
200 return Result(std::to_string(line_count) in SplitSections()
128 AddSection(NodeType section_type, ShaderType shader_type, ShaderFormat fmt, size_t line_count, const std::string& contents) AddSection() argument
[all...]
/third_party/googletest/googletest/test/
H A Dgtest_list_output_unittest.py272 line_count = 0
274 expected_line = expected_lines[line_count]
280 'on line %d' % (actual, expected_output, line_count)))
281 line_count = line_count + 1
/third_party/alsa-utils/alsamixer/
H A Dtextbox.c72 unsigned int line_count; in show_textfile() local
84 line_count = 0; in show_textfile()
86 line_count += buf[i] == '\n'; in show_textfile()
87 lines = ccalloc(line_count, sizeof *lines); in show_textfile()
88 line_count = 0; in show_textfile()
92 lines[line_count++] = start_line; in show_textfile()
99 create_text_box(lines, line_count, file_name, attrs.textbox); in show_textfile()
/third_party/backends/backend/genesys/
H A Dutilities.h103 std::size_t line_count, std::size_t elements_per_line, in compute_array_percentile_approx()
106 if (line_count == 0) { in compute_array_percentile_approx()
110 if (line_count == 1) { in compute_array_percentile_approx()
116 column_elems.resize(line_count, 0); in compute_array_percentile_approx()
118 std::size_t select_elem = std::min(static_cast<std::size_t>(line_count * percentile), in compute_array_percentile_approx()
119 line_count - 1); in compute_array_percentile_approx()
124 for (std::size_t iy = 0; iy < line_count; ++iy) { in compute_array_percentile_approx()
102 compute_array_percentile_approx(T* result, const T* data, std::size_t line_count, std::size_t elements_per_line, float percentile) compute_array_percentile_approx() argument
H A Ddevice.h308 int line_count = 0; member
H A Ddevice.cpp238 << " line_count: " << dev.line_count << '\n' in operator <<()
/third_party/nghttp2/
H A Dgit-clang-format273 line_count) pairs.
286 line_count = 1
288 line_count = int(match.group(3))
289 if line_count > 0:
290 matches.setdefault(filename, []).append(Range(start_line, line_count))
362 '-lines=%s:%s' % (start_line, start_line+line_count-1)
363 for start_line, line_count in line_ranges])
/third_party/ffmpeg/libavcodec/
H A Dsnow_dwt.h48 int line_count; member
94 int ff_slice_buffer_init(slice_buffer *buf, int line_count,
H A Dpgssubdec.c166 int pixel_count, line_count; in decode_rle() local
176 line_count = 0; in decode_rle()
178 while (buf < rle_bitmap_end && line_count < rect->h) { in decode_rle()
208 line_count++; in decode_rle()
H A Dsnow_dwt.c28 int ff_slice_buffer_init(slice_buffer *buf, int line_count, in ff_slice_buffer_init() argument
35 buf->line_count = line_count; in ff_slice_buffer_init()
38 buf->line = av_calloc(line_count, sizeof(*buf->line)); in ff_slice_buffer_init()
82 av_assert1(line >= 0 && line < buf->line_count); in ff_slice_buffer_release()
98 for (i = 0; i < buf->line_count; i++) in ff_slice_buffer_flush()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_transfer.c237 int line_count = height > 2047 ? 2047 : height; in nv50_m2mf_transfer_rect() local
251 src_ofst += line_count * src->pitch; in nv50_m2mf_transfer_rect()
257 dst_ofst += line_count * dst->pitch; in nv50_m2mf_transfer_rect()
262 PUSH_DATA (push, line_count); in nv50_m2mf_transfer_rect()
266 height -= line_count; in nv50_m2mf_transfer_rect()
267 sy += line_count; in nv50_m2mf_transfer_rect()
268 dy += line_count; in nv50_m2mf_transfer_rect()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_transfer.c70 int line_count = height > 2047 ? 2047 : height; in nvc0_m2mf_transfer_rect() local
85 src_ofst += line_count * src->pitch; in nvc0_m2mf_transfer_rect()
92 dst_ofst += line_count * dst->pitch; in nvc0_m2mf_transfer_rect()
97 PUSH_DATA (push, line_count); in nvc0_m2mf_transfer_rect()
101 height -= line_count; in nvc0_m2mf_transfer_rect()
102 sy += line_count; in nvc0_m2mf_transfer_rect()
103 dy += line_count; in nvc0_m2mf_transfer_rect()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBReporterScanner.java163 int line_count = 0; in scanDirectory()
166 line_count++; in scanDirectory()
178 Occurance occ = new Occurance(f.getName(), f.getAbsolutePath(), line_count); in scanDirectory()
/third_party/ffmpeg/libavformat/
H A Dhttp.c70 int line_count; member
1081 static int process_line(URLContext *h, char *line, int line_count) in process_line() argument
1095 if (line_count == 0) { in process_line()
1346 err = process_line(h, line, s->line_count); in http_read_header()
1351 s->line_count++; in http_read_header()
1525 s->line_count = 0; in http_connect()
2093 s->line_count = 0; in http_proxy_open()
/third_party/mbedtls/tests/scripts/
H A Dgenerate_test_code.py590 line_count = 1
595 line_count += 1
596 return line[:opening.start(0)].rstrip() + '\n' * line_count
/third_party/cups-filters/filter/foomatic-rip/
H A Dutil.h121 int line_count(const char *str);
/third_party/node/deps/v8/src/profiler/
H A Dprofile-generator.cc412 unsigned line_count = static_cast<unsigned>(line_ticks_.size()); in GetLineTicks() local
414 if (line_count == 0) return true; in GetLineTicks()
415 if (length < line_count) return false; in GetLineTicks()
/third_party/node/deps/v8/src/runtime/
H A Druntime-debug.cc565 const int line_count = line_ends_array.length(); in ScriptLinePosition() local
566 DCHECK_LT(0, line_count); in ScriptLinePosition()
569 // If line == line_count, we return the first position beyond the last line. in ScriptLinePosition()
570 if (line > line_count) return -1; in ScriptLinePosition()
/third_party/skia/third_party/externals/angle2/src/tests/
H A Dcapture_replay_tests.py347 line_count = 0
349 line_count += 1
353 return '\n' + '\n'.join(lines[-line_count:]) + '\n'
/third_party/nghttp2/src/
H A Dh2load.cc1989 int line_count = 0; in read_script_from_file() local
1991 line_count++; in read_script_from_file()
1993 std::cerr << "Empty line detected at line " << line_count in read_script_from_file()
2001 << line_count << ". \n\t" << script_line << std::endl; in read_script_from_file()
2012 std::cerr << "Time value error at line " << line_count << ". \n\t" in read_script_from_file()

Completed in 28 milliseconds

12