Home
last modified time | relevance | path

Searched refs:run_end (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec.cpp1413 uint32_t run_end = 1; in RunLengthEncode() local
1415 uint8_t y = src_buf[run_end]; in RunLengthEncode()
1416 while (run_end < src_size) { in RunLengthEncode()
1418 while (x == y && (run_end - run_start < max_len - 1)) in RunLengthEncode()
1419 y = src_buf[++run_end]; in RunLengthEncode()
1423 run_end++; in RunLengthEncode()
1424 if (run_end < src_size) in RunLengthEncode()
1425 y = src_buf[run_end]; in RunLengthEncode()
1427 if (run_end - run_start > 1) { // Matched run but not at end of input. in RunLengthEncode()
1428 out[0] = 257 - (run_end - run_start); in RunLengthEncode()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dtopk_op.cc169 auto* run_end = run_begin + 1; in Compute() local
170 if (run_end == end) break; in Compute()
171 if (input_data[*run_begin] == input_data[*run_end]) { in Compute()
172 while (++run_end != end) { in Compute()
173 if (input_data[*run_begin] != input_data[*run_end]) break; in Compute()
175 std::sort(run_begin, run_end); in Compute()
177 run_begin = run_end; in Compute()