| /third_party/skia/src/pathops/ |
| H A D | SkPathOpsTightBounds.cpp | 61 SkOpContour* current = contourList; in TightBounds() local 62 SkPathOpsBounds bounds = current->bounds(); in TightBounds() 63 while ((current = current->next())) { in TightBounds() 64 bounds.add(current->bounds()); in TightBounds()
|
| /third_party/skia/src/gpu/geometry/ |
| H A D | GrTriangulator.cpp | 181 // Compute intersection based on current segment vertices; if an intersection is found but the in recursive_edge_intersect() 710 static void rewind(EdgeList* activeEdges, Vertex** current, Vertex* dst, const Comparator& c) { in rewind() argument 711 if (!current || *current == dst || c.sweep_lt((*current)->fPoint, dst->fPoint)) { in rewind() 714 Vertex* v = *current; in rewind() 733 *current = v; in rewind() 736 static void rewind_if_necessary(Edge* edge, EdgeList* activeEdges, Vertex** current, in rewind_if_necessary() argument 738 if (!activeEdges || !current) { in rewind_if_necessary() 747 rewind(activeEdges, current, leftTo in rewind_if_necessary() 774 setTop(Edge* edge, Vertex* v, EdgeList* activeEdges, Vertex** current, const Comparator& c) const setTop() argument 788 setBottom(Edge* edge, Vertex* v, EdgeList* activeEdges, Vertex** current, const Comparator& c) const setBottom() argument 802 mergeEdgesAbove(Edge* edge, Edge* other, EdgeList* activeEdges, Vertex** current, const Comparator& c) const mergeEdgesAbove() argument 823 mergeEdgesBelow(Edge* edge, Edge* other, EdgeList* activeEdges, Vertex** current, const Comparator& c) const mergeEdgesBelow() argument 860 mergeCollinearEdges(Edge* edge, EdgeList* activeEdges, Vertex** current, const Comparator& c) const mergeCollinearEdges() argument 881 splitEdge(Edge* edge, Vertex* v, EdgeList* activeEdges, Vertex** current, const Comparator& c) const splitEdge() argument 922 intersectEdgePair(Edge* left, Edge* right, EdgeList* activeEdges, Vertex** current, const Comparator& c) const intersectEdgePair() argument 1056 checkForIntersection(Edge* left, Edge* right, EdgeList* activeEdges, Vertex** current, VertexList* mesh, const Comparator& c) const checkForIntersection() argument [all...] |
| /third_party/mesa3d/src/intel/dev/ |
| H A D | intel_hwconfig.c | 141 const struct hwconfig *current = hwconfig; in intel_process_hwconfig_table() local 144 while (current < end) { in intel_process_hwconfig_table() 145 assert(current + 1 < end); in intel_process_hwconfig_table() 147 (struct hwconfig*)((uint32_t*)current + 2 + current->len); in intel_process_hwconfig_table() 149 item_callback_func(devinfo, current); in intel_process_hwconfig_table() 150 current = next; in intel_process_hwconfig_table() 152 assert(current == end); in intel_process_hwconfig_table() 158 * hwconfig value with the current value in the devinfo and log a warning
|
| /third_party/node/deps/npm/node_modules/diff/lib/patch/ |
| H A D | create.js | 81 var current = diff[i], 82 lines = current.lines || current.value.replace(/\n$/, '').split('\n'); 83 current.lines = lines; 85 if (current.added || current.removed) { 120 return (current.added ? '+' : '-') + entry; 124 if (current.added) {
|
| /third_party/node/deps/npm/test/fixtures/ |
| H A D | eresolve-explanations.js | 24 current: { 115 current: { 133 current: { 181 current: { 303 'no current node, but has current edge': { 305 current: null, 345 'no current node, no current edge, idk': { 347 current [all...] |
| /third_party/mesa3d/src/gallium/drivers/i915/ |
| H A D | i915_state_dynamic.c | 51 if (i915->current.dynamic[offset] == state) in set_dynamic() 54 i915->current.dynamic[offset] = state; in set_dynamic() 65 if (!memcmp(src, &i915->current.dynamic[offset], dwords * 4)) in set_dynamic_array() 69 i915->current.dynamic[offset + i] = src[i]; in set_dynamic_array() 147 bc[1] = pack_ui32_float4(color[i915->current.color_swizzle[2]], in upload_BLENDCOLOR() 148 color[i915->current.color_swizzle[1]], in upload_BLENDCOLOR() 149 color[i915->current.color_swizzle[0]], in upload_BLENDCOLOR() 150 color[i915->current.color_swizzle[3]]); in upload_BLENDCOLOR()
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | af_crystalizer.c | 78 type current = src[c]; \ 81 dst[c] = (current - prv[c] * mult) * scale; \ 84 dst[c] = current + (current - prv[c]) * mult; \ 85 prv[c] = current; \ 102 type current = src[n]; \ 105 dst[n] = (current - prv[0] * mult) * scale; \ 108 dst[n] = current + (current - prv[0]) * mult; \ 109 prv[0] = current; \ [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| H A D | CanonicalIterator.java | 60 * Gets the NFD form of the current source we are iterating over. 74 for (int i = 0; i < current.length; ++i) { in reset() 75 current[i] = 0; in reset() 93 buffer.append(pieces[i][current[i]]); in next() 99 for (int i = current.length - 1; ; --i) { in next() 104 current[i]++; in next() 105 if (current[i] < pieces[i].length) break; // got sequence in next() 106 current[i] = 0; in next() 124 current = new int[1]; in setSource() 150 current in setSource() 240 private int[] current; global() field in CanonicalIterator [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| H A D | CanonicalIterator.java | 60 * Gets the NFD form of the current source we are iterating over. 72 for (int i = 0; i < current.length; ++i) { in reset() 73 current[i] = 0; in reset() 90 buffer.append(pieces[i][current[i]]); in next() 96 for (int i = current.length - 1; ; --i) { in next() 101 current[i]++; in next() 102 if (current[i] < pieces[i].length) break; // got sequence in next() 103 current[i] = 0; in next() 120 current = new int[1]; in setSource() 146 current in setSource() 236 private int[] current; global() field in CanonicalIterator [all...] |
| /third_party/rust/crates/unicode-width/scripts/ |
| H A D | unicode.py | 78 """Returns the current Unicode version by fetching and processing `ReadMe.txt`.""" 120 current = 0 133 assert current <= high 134 while current <= high: 137 width_map.append(EffectiveWidth.NARROW if current < low else width) 138 current += 1 153 current = 0 164 assert current <= codepoint 165 while current <= codepoint: 166 if name.endswith(", Last>") or current [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Shader/ |
| H A D | PixelPipeline.cpp | 38 current = diffuse; in fixedFunction() 58 specularPixel(current, specular); in fixedFunction() 260 current.x = Min(current.x, Short4(0x0FFF)); current.x = Max(current.x, Short4(0x0000)); in applyShader() 261 current.y = Min(current.y, Short4(0x0FFF)); current.y = Max(current in applyShader() [all...] |
| /third_party/backends/backend/escl/ |
| H A D | escl.c | 108 escl_free_device(ESCL_Device *current) in escl_free_device() argument 110 if (!current) return NULL; in escl_free_device() 111 free((void*)current->ip_address); in escl_free_device() 112 free((void*)current->model_name); in escl_free_device() 113 free((void*)current->type); in escl_free_device() 114 free((void*)current->is); in escl_free_device() 115 free((void*)current->uuid); in escl_free_device() 116 free((void*)current->unix_socket); in escl_free_device() 117 curl_slist_free_all(current->hack); in escl_free_device() 118 free(current); in escl_free_device() 189 escl_check_and_add_device(ESCL_Device *current) escl_check_and_add_device() argument 230 escl_add_in_list(ESCL_Device *current) escl_add_in_list() argument 266 ESCL_Device *current = NULL; escl_device_add() local [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | svq1dec.c | 75 int nonref; // 1 if the current frame won't be referenced 317 static void svq1_skip_block(uint8_t *current, uint8_t *previous, in svq1_skip_block() argument 325 dst = current; in svq1_skip_block() 335 uint8_t *current, uint8_t *previous, in svq1_motion_inter_block() 370 dst = current; in svq1_motion_inter_block() 378 uint8_t *current, uint8_t *previous, in svq1_motion_inter_4v_block() 440 dst = current; in svq1_motion_inter_4v_block() 446 current += 8 * (pitch - 1); in svq1_motion_inter_4v_block() 448 current += 8; in svq1_motion_inter_4v_block() 456 uint8_t *current, uint8_ in svq1_decode_delta_block() 334 svq1_motion_inter_block(HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_motion_inter_block() argument 377 svq1_motion_inter_4v_block(HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_motion_inter_4v_block() argument 454 svq1_decode_delta_block(AVCodecContext *avctx, HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_decode_delta_block() argument 626 uint8_t *current; svq1_decode_frame() local [all...] |
| H A D | smacker.c | 75 int current; member 81 int current, length; member 120 if (hc->current >= 256) { in smacker_decode_tree() 126 hc->entries[hc->current++] = (HuffEntry){ get_bits(gb, 8), length }; in smacker_decode_tree() 151 if (ctx->current >= ctx->length) { in smacker_decode_bigtree() 165 ctx->last[0] = ctx->current; in smacker_decode_bigtree() 168 ctx->last[1] = ctx->current; in smacker_decode_bigtree() 171 ctx->last[2] = ctx->current; in smacker_decode_bigtree() 175 ctx->values[ctx->current++] = val; in smacker_decode_bigtree() 180 t = ctx->current in smacker_decode_bigtree() [all...] |
| /third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
| H A D | radeon_drm_cs.c | 205 /* Set the first command buffer as current. */ in radeon_drm_cs_create() 211 rcs->current.buf = cs->csc->buf; in radeon_drm_cs_create() 212 rcs->current.max_dw = ARRAY_SIZE(cs->csc->buf); in radeon_drm_cs_create() 457 assert(rcs->current.cdw == 0); in radeon_drm_cs_validate() 458 if (rcs->current.cdw != 0) { in radeon_drm_cs_validate() 468 assert(rcs->current.cdw <= rcs->current.max_dw); in radeon_drm_cs_check_space() 469 return rcs->current.max_dw - rcs->current.cdw >= dw; in radeon_drm_cs_check_space() 593 while (rcs->current in radeon_drm_cs_flush() [all...] |
| /third_party/json/include/nlohmann/detail/input/ |
| H A D | binary_reader.hpp | 149 if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof())) in sax_parse() 203 if (current == 0x00) in get_bson_cstr() 207 *out++ = static_cast<typename string_t::value_type>(current); in get_bson_cstr() 423 switch (get_char ? get() : current) in parse_cbor_internal() 454 return sax->number_unsigned(static_cast<number_unsigned_t>(current)); in parse_cbor_internal() 505 return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current)); in parse_cbor_internal() 628 conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler); in parse_cbor_internal() 682 return get_cbor_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler); in parse_cbor_internal() 743 switch (current) in parse_cbor_internal() 779 switch (current) in parse_cbor_internal() 2957 char_int_type current = std::char_traits<char_type>::eof(); global() member in detail::binary_reader [all...] |
| /third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_cs.c | 799 rcs->current.cdw = 0; in amdgpu_get_new_ib() 800 rcs->current.buf = NULL; in amdgpu_get_new_ib() 802 /* Allocate a new buffer for IBs if the current buffer is all used. */ in amdgpu_get_new_ib() 819 rcs->current.buf = (uint32_t*)(ib->ib_mapped + ib->used_ib_space); in amdgpu_get_new_ib() 822 cs->csc->ib_main_addr = rcs->current.buf; in amdgpu_get_new_ib() 825 rcs->current.max_dw = ib_size / 4 - amdgpu_cs_epilog_dws(cs); in amdgpu_get_new_ib() 833 *ib->ptr_ib_size = rcs->current.cdw | in amdgpu_set_ib_size() 836 *ib->ptr_ib_size = rcs->current.cdw; in amdgpu_set_ib_size() 844 ib->used_ib_space += rcs->current.cdw * 4; in amdgpu_ib_finalize() 846 ib->max_ib_size = MAX2(ib->max_ib_size, rcs->prev_dw + rcs->current in amdgpu_ib_finalize() [all...] |
| /third_party/cups-filters/filter/ |
| H A D | sys5ippprinter.c | 623 int current, /* Current filter */ in exec_filters() local 651 current = 0; in exec_filters() 659 filter = next, current = 1 - current) in exec_filters() 676 if (filterfds[!current][1] > 1) in exec_filters() 678 close(filterfds[1 - current][0]); in exec_filters() 679 close(filterfds[1 - current][1]); in exec_filters() 681 filterfds[1 - current][0] = -1; in exec_filters() 682 filterfds[1 - current][0] = -1; in exec_filters() 686 open_pipe(filterfds[1 - current]); in exec_filters() [all...] |
| /third_party/cups-filters/cupsfilters/ |
| H A D | pdftoippprinter.c | 673 int current, /* Current filter */ in exec_filters() local 701 current = 0; in exec_filters() 709 filter = next, current = 1 - current) { in exec_filters() 723 if (filterfds[!current][1] > 1) { in exec_filters() 724 close(filterfds[1 - current][0]); in exec_filters() 725 close(filterfds[1 - current][1]); in exec_filters() 727 filterfds[1 - current][0] = -1; in exec_filters() 728 filterfds[1 - current][0] = -1; in exec_filters() 732 open_pipe(filterfds[1 - current]); in exec_filters() [all...] |
| /third_party/jinja2/ |
| H A D | lexer.py | 307 token = self.stream.current 320 one token ahead. The current active token is stored as :attr:`current`. 334 self.current = Token(1, TOKEN_INITIAL, "") 341 return bool(self._pushed) or self.current.type is not TOKEN_EOF 355 result = self.current 357 self.current = old_token 369 if self.current.test(expr): 383 rv = self.current 386 self.current [all...] |
| /third_party/skia/third_party/externals/libwebp/src/enc/ |
| H A D | backward_references_cost_enc.c | 275 // With the current cost model, we usually have below 20 intervals. in CostManagerInit() 277 // different cost, hence MAX_LENGTH but that is impossible with the current in CostManagerInit() 376 CostInterval* current = manager->head_; in UpdateCostAtIndex() local 378 while (current != NULL && current->start_ <= i) { in UpdateCostAtIndex() 379 CostInterval* const next = current->next_; in UpdateCostAtIndex() 380 if (current->end_ <= i) { in UpdateCostAtIndex() 383 PopInterval(manager, current); in UpdateCostAtIndex() 386 UpdateCost(manager, i, current->index_, current in UpdateCostAtIndex() 395 PositionOrphanInterval(CostManager* const manager, CostInterval* const current, CostInterval* previous) PositionOrphanInterval() argument [all...] |
| /device/soc/rockchip/common/sdk_linux/include/linux/ |
| H A D | sched.h | 12 #include <asm/current.h>
135 current->task_state_change = _THIS_IP_; \
136 current->state = (state_value); \
142 current->task_state_change = _THIS_IP_; \
143 smp_store_mb(current->state, (state_value)); \
150 raw_spin_lock_irqsave(¤t->pi_lock, flags); \
151 current->task_state_change = _THIS_IP_; \
152 current->state = (state_value); \
153 raw_spin_unlock_irqrestore(¤t->pi_lock, flags); \
157 * set_current_state() includes a barrier so that the write of current [all...] |
| /third_party/libsnd/src/ |
| H A D | xi.c | 274 sf_count_t current ; in xi_write_header() local 280 current = psf_ftell (psf) ; in xi_write_header() 282 /* Reset the current header length to zero. */ in xi_write_header() 323 if (current > 0) in xi_write_header() 324 psf_fseek (psf, current, SEEK_SET) ; in xi_write_header() 1031 { signed char last_val, current ; in s2dsc_array() local 1037 { current = src [k] >> 8 ; in s2dsc_array() 1038 dest [k] = current - last_val ; in s2dsc_array() 1039 last_val = current ; in s2dsc_array() 1047 { signed char last_val, current ; in i2dsc_array() local 1063 { signed char last_val, current ; f2dsc_array() local 1079 { signed char last_val, current ; d2dsc_array() local 1193 { short diff, last_val, current ; f2dles_array() local 1210 { short diff, last_val, current ; d2dles_array() local [all...] |
| /third_party/mesa3d/bin/ |
| H A D | gen_release_notes_test.py | 38 'current, is_point, expected', 44 def test_next_version(current: str, is_point: bool, expected: str) -> None: 45 assert calculate_next_version(current, is_point) == expected 49 'current, is_point, expected', 54 def test_previous_version(current: str, is_point: bool, expected: str) -> None: 55 assert calculate_previous_version(current, is_point) == expected
|
| /third_party/node/test/common/ |
| H A D | measure-memory.js | 23 assert.strictEqual(typeof result.current, 'object'); 25 assertResultShape(result.current); 39 assert.strictEqual(typeof result.current, 'object'); 42 assertResultShape(result.current);
|