Home
last modified time | relevance | path

Searched refs:shrink (Results 1 - 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/freetype/src/tools/
H A Dcordic.py7 shrink = 1.0 variable
26 shrink /= math.sqrt( 1 + x*x )
29 print "shrink factor = " + repr( shrink )
30 print "shrink factor 2 = " + repr( int( shrink * (2**32) ) )
31 print "expansion factor = " + repr( 1/shrink )
/third_party/littlefs/scripts/
H A Dtailpipe.py74 # clear the bottom of the canvas if we shrink
75 shrink = LinesIO.canvas_lines - len(self.lines)
76 if shrink > 0:
77 for i in range(shrink):
79 if shrink-1-i > 0:
80 sys.stdout.write('\x1b[%dA' % (shrink-1-i))
82 if shrink-1-i > 0:
83 sys.stdout.write('\x1b[%dB' % (shrink-1-i))
84 sys.stdout.write('\x1b[%dA' % shrink)
H A Dwatch.py110 # clear the bottom of the canvas if we shrink
111 shrink = LinesIO.canvas_lines - len(self.lines)
112 if shrink > 0:
113 for i in range(shrink):
115 if shrink-1-i > 0:
116 sys.stdout.write('\x1b[%dA' % (shrink-1-i))
118 if shrink-1-i > 0:
119 sys.stdout.write('\x1b[%dB' % (shrink-1-i))
120 sys.stdout.write('\x1b[%dA' % shrink)
H A Dtracebd.py96 # clear the bottom of the canvas if we shrink
97 shrink = LinesIO.canvas_lines - len(self.lines)
98 if shrink > 0:
99 for i in range(shrink):
101 if shrink-1-i > 0:
102 sys.stdout.write('\x1b[%dA' % (shrink-1-i))
104 if shrink-1-i > 0:
105 sys.stdout.write('\x1b[%dB' % (shrink-1-i))
106 sys.stdout.write('\x1b[%dA' % shrink)
H A Dplot.py210 # clear the bottom of the canvas if we shrink
211 shrink = LinesIO.canvas_lines - len(self.lines)
212 if shrink > 0:
213 for i in range(shrink):
215 if shrink-1-i > 0:
216 sys.stdout.write('\x1b[%dA' % (shrink-1-i))
218 if shrink-1-i > 0:
219 sys.stdout.write('\x1b[%dB' % (shrink-1-i))
220 sys.stdout.write('\x1b[%dA' % shrink)
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ms-feature-ranges.cc36 feature_records.shrink(0); in hb_ms_setup_features()
37 range_records.shrink(0); in hb_ms_setup_features()
145 range_features.shrink (0); in hb_ms_make_feature_ranges()
146 range_counts.shrink (0); in hb_ms_make_feature_ranges()
163 range_features.shrink (0); in hb_ms_make_feature_ranges()
164 range_counts.shrink (0); in hb_ms_make_feature_ranges()
H A Dhb-ot-map.cc217 feature_infos.shrink (j + 1); in compile()
293 feature_infos.shrink (0); /* Done with these */ in compile()
339 m.lookups[table_index].shrink (j + 1); in compile()
H A Dhb-aat-map.cc95 features.shrink (j + 1); in compile()
H A Dhb-priority-queue.hh69 heap.shrink (heap.length - 1); in pop_minimum()
H A Dhb-vector.hh271 void shrink (int size_) in shrink() function
H A Dhb-ot-color-cbdt-table.hh471 bitmap_size_context->cbdt_prime->shrink (old_cbdt_prime_length); in add_new_record()
763 cbdt_prime->shrink (cbdt_prime_len); in subset_size_table()
/third_party/skia/src/core/
H A DSkAutoMalloc.h51 void* reset(size_t size = 0, OnShrink shrink = kAlloc_OnShrink) { in reset()
52 if (size != fSize && (size > fSize || kReuse_OnShrink != shrink)) { in reset()
132 SkAutoMalloc::OnShrink shrink = SkAutoMalloc::kAlloc_OnShrink, in reset()
135 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize); in reset()
/third_party/skia/src/gpu/
H A DGrRectanizerSkyline.cpp91 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX;
93 fSkyline[i].fX += shrink;
94 fSkyline[i].fWidth -= shrink;
/third_party/ffmpeg/libavcodec/
H A Dmpegvideoencdsp.c238 c->shrink[0] = av_image_copy_plane; in ff_mpegvideoencdsp_init()
239 c->shrink[1] = shrink22; in ff_mpegvideoencdsp_init()
240 c->shrink[2] = shrink44; in ff_mpegvideoencdsp_init()
241 c->shrink[3] = shrink88; in ff_mpegvideoencdsp_init()
H A Dmpegvideoencdsp.h40 void (*shrink[4])(uint8_t *dst, int dst_wrap, const uint8_t *src, member
/third_party/libcoap/src/
H A Dcoap_pdu.c574 size_t shrink = 0; in coap_insert_option() local
592 /* size of next option (header may shrink in size as delta changes */ in coap_insert_option()
602 pdu->used_size + shift - shrink)) in coap_insert_option()
620 /* option header is going to shrink by one byte */ in coap_insert_option()
622 shrink = 1; in coap_insert_option()
627 /* option header is going to shrink by two bytes */ in coap_insert_option()
629 shrink = 2; in coap_insert_option()
631 /* option header is going to shrink by one bytes */ in coap_insert_option()
634 shrink = 1; in coap_insert_option()
641 memmove(&option[shift], &option[shrink], in coap_insert_option()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DLLVMReactorDebugInfo.cpp157 auto shrink = [this](size_t newsize) { in syncScope()
172 shrink(backtrace.size()); in syncScope()
185 shrink(i); in syncScope()
198 shrink(i + 1); in syncScope()
/third_party/skia/modules/canvaskit/npm_build/
H A Dtextapi_utils.js397 // Do this after shrink styles (we use text.length in an assert)
553 // shrink/remove styles
569 const shrink = Math.min(N, s._length - skip);
570 ASSERT(shrink > 0);
571 s._length -= shrink;
572 N -= shrink;
/third_party/skia/demos.skia.org/demos/textedit/
H A Dtextapi_utils.js372 // Do this after shrink styles (we use text.length in an assert)
532 // shrink/remove styles
548 const shrink = Math.min(N, s._length - skip);
549 ASSERT(shrink > 0);
550 s._length -= shrink;
551 N -= shrink;
/third_party/skia/modules/skplaintexteditor/include/
H A Dstringslice.h36 void shrink() { this->realloc(fLength); } in shrink() function in SkPlainTextEditor::StringSlice
/third_party/mesa3d/src/intel/vulkan/
H A Danv_descriptor_set.c657 uint32_t shrink = dynamic_binding->array_size - var_desc_count; in set_layout_descriptor_count() local
662 return set_layout->descriptor_count - shrink; in set_layout_descriptor_count()
675 uint32_t shrink = dynamic_binding->array_size - var_desc_count; in set_layout_buffer_view_count() local
680 return set_layout->buffer_view_count - shrink; in set_layout_buffer_view_count()
693 uint32_t shrink = dynamic_binding->array_size - var_desc_count; in anv_descriptor_set_layout_descriptor_buffer_size() local
700 set_size = set_layout->descriptor_buffer_size - shrink; in anv_descriptor_set_layout_descriptor_buffer_size()
703 shrink * dynamic_binding->descriptor_stride; in anv_descriptor_set_layout_descriptor_buffer_size()
/third_party/lwip/src/core/
H A Dpbuf.c389 * @param p pbuf to shrink.
406 u16_t shrink; in pbuf_realloc() local
418 shrink = (u16_t)(p->tot_len - new_len); in pbuf_realloc()
428 q->tot_len = (u16_t)(q->tot_len - shrink); in pbuf_realloc()
436 /* shrink allocated memory for PBUF_RAM */ in pbuf_realloc()
/third_party/python/Lib/test/
H A Dtest_calendar.py421 def shrink(cal): function
426 shrink(calendar.Calendar().yeardatescalendar(2004)),
/third_party/python/Lib/lib2to3/tests/data/
H A Dpy3_test_grammar.py115 x = "doesn't \"shrink\" does it"
116 y = 'doesn\'t "shrink" does it'
118 x = "does \"shrink\" doesn't it"
119 y = 'does "shrink" doesn\'t it'
H A Dpy2_test_grammar.py87 x = "doesn't \"shrink\" does it"
88 y = 'doesn\'t "shrink" does it'
90 x = "does \"shrink\" doesn't it"
91 y = 'does "shrink" doesn\'t it'

Completed in 21 milliseconds

12