/external/toybox/toys/pending/ |
fmt.c | 34 int cols = 0, is_first = 1, indent_end = 0, line_length; local 36 while ((line_length = getline(&line, &allocated_length, fp)) > 0) { 39 while (b < line_length && isspace(line[b])) b++; 40 if (b == line_length) { 49 for (; b < line_length; b = e + 1) { 51 for (e = b + 1; e < line_length && !isspace(line[e]);) e++; 52 if (e >= line_length) break;
|
/art/ |
CPPLINT.cfg | 33 filter=-whitespace/line_length
|
/external/libpng/contrib/tools/ |
chkfmt | 90 line_length=100;; 95 line_length=132;; 98 line_length=96;; 101 line_length=80;; 111 splt="`fold -$line_length "$file".$$ | diff -c "$file".$$ -`"
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/ |
layer_utils.py | 41 def print_summary(model, line_length=None, positions=None, print_fn=None): 46 line_length: Total length of printed lines 93 line_length = line_length or 65 96 positions = [int(line_length * p) for p in positions] 100 line_length = line_length or 98 103 positions = [int(line_length * p) for p in positions] 120 print_fn('_' * line_length) 122 print_fn('=' * line_length) [all...] |
/system/bt/btif/src/ |
btif_debug_btsnoop.cc | 200 size_t line_length = 0; local 219 if (line_length >= MAX_LINE_LENGTH) { 221 line_length = 0; 223 line_length += b64_ntop(b64_in, read, b64_out, 5);
|
/system/nfc/src/adaptation/ |
debug_nfcsnoop.cc | 156 size_t line_length = 0; local 175 if (line_length >= MAX_LINE_LENGTH) { 177 line_length = 0; 179 line_length += b64_ntop(b64_in, read, b64_out, 5);
|
/external/libchrome/base/ |
environment.cc | 157 size_t line_length = ParseEnvLine(line, &key); local 162 result.append(line, line_length); 164 cur_env += line_length; 197 size_t line_length = ParseEnvLine(env[i], &key); local 203 value_storage.append(env[i], line_length);
|
/system/extras/tests/framebuffer/ |
fb_test.c | 98 fb->stride = fi.line_length / bytes_per_pixel; 106 fb->stride = fi.line_length / bytes_per_pixel; 135 fprintf(stderr, "fi.line_length = %d\n", fi->line_length); 209 int stride = fi.line_length / (vi.bits_per_pixel >> 3); 244 int stride = fi.line_length / (vi.bits_per_pixel >> 3);
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
check_lint.sh | 24 ASAN_LIT_TEST_LINT_FILTER=${ASAN_TEST_LINT_FILTER},-whitespace/line_length 27 TSAN_LIT_TEST_LINT_FILTER=${TSAN_TEST_LINT_FILTER},-whitespace/line_length 30 LSAN_LIT_TEST_LINT_FILTER=${LSAN_RTL_LINT_FILTER},-whitespace/line_length
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_gzip.py | 123 line_length = 0
125 L = f.readline(line_length)
126 if not L and line_length != 0: break
127 self.assertTrue(len(L) <= line_length)
128 line_length = (line_length + 1) % 50
|
/system/core/demangle/ |
demangle.cpp | 73 size_t line_length = 0; local 75 while ((getline(&line, &line_length, stdin)) != -1) {
|
/device/google/cuttlefish_common/common/vsoc/lib/ |
screen_region_view.h | 57 int line_length() const { return align(x_res() * bytes_per_pixel()); } function in class:vsoc::screen::ScreenRegionView
|
/device/linaro/hikey/gralloc960/ |
framebuffer_device.cpp | 93 m->info.yoffset = offset / m->finfo.line_length; 132 if ( hnd->byte_stride == (int)m->finfo.line_length ) 134 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); 146 m->finfo.line_length); 148 fb_offset += m->finfo.line_length; 356 size_t fbSize = round_up_to_page_size(finfo.line_length * info.yres_virtual); 477 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8084/libgralloc/ |
framebuffer.cpp | 94 m->info.yoffset = (int)(offset / m->finfo.line_length); 230 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 231 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 235 if (info.yres_virtual < ((size * 2) / line_length) ) { 237 info.yres_virtual = (int)(size / line_length); 331 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 410 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8226/libgralloc/ |
framebuffer.cpp | 95 m->info.yoffset = (int)(offset / m->finfo.line_length); 231 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 232 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 236 if (info.yres_virtual < ((size * 2) / line_length) ) { 238 info.yres_virtual = (int)(size / line_length); 332 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 411 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8909/libgralloc/ |
framebuffer.cpp | 89 m->info.yoffset = (int)(offset / m->finfo.line_length); 228 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 229 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 233 if (info.yres_virtual < ((size * 2) / line_length) ) { 235 info.yres_virtual = (int)(size / line_length); 329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
framebuffer.cpp | 89 m->info.yoffset = (int)(offset / m->finfo.line_length); 228 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 229 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 233 if (info.yres_virtual < ((size * 2) / line_length) ) { 235 info.yres_virtual = (int)(size / line_length); 329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8960/libgralloc/ |
framebuffer.cpp | 94 m->info.yoffset = offset / m->finfo.line_length; 223 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 224 info.yres_virtual = (size * numberOfBuffers) / line_length; 228 if (info.yres_virtual < ((size * 2) / line_length) ) { 230 info.yres_virtual = size / line_length; 316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8994/libgralloc/ |
framebuffer.cpp | 97 m->info.yoffset = (int)(offset / m->finfo.line_length); 234 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 235 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 239 if (info.yres_virtual < ((size * 2) / line_length) ) { 241 info.yres_virtual = (int)(size / line_length); 335 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 440 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/hardware/qcom/display/msm8996/libgralloc/ |
framebuffer.cpp | 84 m->info.yoffset = (int)(offset / m->finfo.line_length); 221 uint32_t line_length = (info.xres * info.bits_per_pixel / 8); local 222 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 226 if (info.yres_virtual < ((size * 2) / line_length) ) { 228 info.yres_virtual = (int)(size / line_length); 322 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* 427 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
|
/external/python/cpython2/Lib/test/ |
test_gzip.py | 172 line_length = 0 174 L = f.readline(line_length) 175 if not L and line_length != 0: break 176 self.assertTrue(len(L) <= line_length) 177 line_length = (line_length + 1) % 50
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_gzip.py | 130 line_length = 0 132 L = f.readline(line_length) 133 if not L and line_length != 0: break 134 self.assertTrue(len(L) <= line_length) 135 line_length = (line_length + 1) % 50
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_gzip.py | 130 line_length = 0 132 L = f.readline(line_length) 133 if not L and line_length != 0: break 134 self.assertTrue(len(L) <= line_length) 135 line_length = (line_length + 1) % 50
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gzip.py | 130 line_length = 0 132 L = f.readline(line_length) 133 if not L and line_length != 0: break 134 self.assertTrue(len(L) <= line_length) 135 line_length = (line_length + 1) % 50
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gzip.py | 130 line_length = 0 132 L = f.readline(line_length) 133 if not L and line_length != 0: break 134 self.assertTrue(len(L) <= line_length) 135 line_length = (line_length + 1) % 50
|