| /foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
| H A D | skia_decoration_painter.cpp | 461 auto current = colorStops_[i].offset; in ClampNegativeOffsets() local 462 if (GreatOrEqual(current, 0.0f)) { in ClampNegativeOffsets() 464 float fraction = -lastNegativeOffset / (current - lastNegativeOffset); in ClampNegativeOffsets() 473 lastNegativeOffset = current; in ClampNegativeOffsets()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
| H A D | drawing_decoration_painter.cpp | 434 auto current = colorStops_[i].offset; in ClampNegativeOffsets() local 435 if (GreatOrEqual(current, 0.0f)) { in ClampNegativeOffsets() 437 float fraction = -lastNegativeOffset / (current - lastNegativeOffset); in ClampNegativeOffsets() 446 lastNegativeOffset = current; in ClampNegativeOffsets()
|
| /third_party/curl/lib/vtls/ |
| H A D | vtls.c | 718 store->age = *general_age; /* set current age */ in Curl_ssl_addsessionid() 1390 const struct Curl_ssl *current; in multissl_version() local 1392 current = Curl_ssl == &Curl_ssl_multi ? available_backends[0] : Curl_ssl; in multissl_version() 1394 if(current != selected) { in multissl_version() 1399 selected = current; in multissl_version()
|
| /third_party/icu/icu4c/source/test/cintltst/ |
| H A D | custrtst.c | 1281 /* test current() */ in compareIterators() 1282 c1=iter1->current(iter1); in compareIterators() 1283 c2=iter2->current(iter2); in compareIterators() 1285 log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); in compareIterators() 1456 c=iter2->current(iter2); in testIteratorState() 1458 log_err("%s->current(at %d)=U+%04x!=U+%04x\n", n, middle, c, u[2]); in testIteratorState() 1486 log_err("%s->getIndex(current)=%d!=%d as expected\n", n, i, middle); in testIteratorState() 1489 log_err("%s->getIndex(current)=%d!=%d after setState()\n", n, j, i); in testIteratorState() 1514 if( iter.current( in TestUCharIterator() [all...] |
| /third_party/libsnd/src/ |
| H A D | common.c | 824 ** If format is NULL, psf_binheader_readf returns the current offset. 1040 case '2' : /* 2 byte value with the current endian-ness */ in psf_binheader_readf() 1051 case '3' : /* 3 byte value with the current endian-ness */ in psf_binheader_readf() 1061 case '4' : /* 4 byte value with the current endian-ness */ in psf_binheader_readf() 1072 case '8' : /* 8 byte value with the current endian-ness */ in psf_binheader_readf() 1152 case 'j' : /* Seek to position from current position. */ in psf_binheader_readf() 1394 { time_t current ; in psf_get_date_str() local 1397 time (¤t) ; in psf_get_date_str() 1401 tmptr = gmtime_r (¤t, &timedata) ; in psf_get_date_str() 1404 tmptr = gmtime (¤t) ; in psf_get_date_str() [all...] |
| /third_party/mesa3d/src/mesa/main/ |
| H A D | texobj.c | 150 * Return a pointer to the current texture object for the given target 151 * on the current texture unit. 785 * Note: we don't care about the current texture sampler state here. in _mesa_test_texobj_completeness() 787 * or _MipmapComplete depending on the current minification filter mode. in _mesa_test_texobj_completeness() 1316 * Check if the given texture object is bound to the current draw or 1476 * in the current context. in delete_textures() 1726 * texture object, then bind it in the current texture unit. 1902 struct gl_texture_object *current = texUnit->_Current; in bind_textures() local 1905 if (current && current in bind_textures() [all...] |
| /third_party/libinput/tools/ |
| H A D | libinput-record.c | 1285 struct record_device *current = d; in handle_libinput_events() local 1299 if (device != current->device) { in handle_libinput_events() 1304 current = tmp; in handle_libinput_events() 1312 print_libinput_event(current, e); in handle_libinput_events()
|
| /third_party/node/deps/v8/src/interpreter/ |
| H A D | interpreter-assembler.cc | 898 // in the current native context. in ConstructWithSpread() 905 TNode<HeapObject> current = var_current.value(); in ConstructWithSpread() local 906 TNode<Uint16T> current_instance_type = LoadInstanceType(current); in ConstructWithSpread() 914 // Check that the JSFunction {current} is in the current native in ConstructWithSpread() 917 CAST(LoadObjectField(current, JSFunction::kContextOffset)); in ConstructWithSpread() 927 // Continue with the [[BoundTargetFunction]] of {current}. in ConstructWithSpread() 929 current, JSBoundFunction::kBoundTargetFunctionOffset); in ConstructWithSpread() 1015 // Make sure we include the current bytecode in the budget calculation. in UpdateInterruptBudget() 1296 // current bytecod in UpdateInterruptBudgetOnReturn() [all...] |
| /third_party/node/deps/v8/src/torque/ |
| H A D | types.cc | 158 for (const Type* current = parent_; current; current = current->parent_) { in Depth() 610 // fields up to and including the current one. in ComputeSlotKindsHelper()
|
| /third_party/python/Modules/ |
| H A D | _asynciomodule.c | 1419 /* Save the current exception, if any. */ in FutureObj_finalize() 1983 "Leaving task %R does not match the current task %R.", in leave_task() 2439 /* Save the current exception, if any. */ in TaskObj_finalize() 3312 PyObject *current; in module_free_freelists() local 3319 current = next; in module_free_freelists() 3320 next = (PyObject*) ((futureiterobject*) current)->future; in module_free_freelists() 3321 PyObject_GC_Del(current); in module_free_freelists()
|
| /third_party/python/Modules/_io/ |
| H A D | bufferedio.c | 621 /* Sets the current error to BlockingIOError */ 793 the current logical position. */ in buffered_flush_and_rewind_unlocked() 1239 Py_off_t current, avail; in _io__Buffered_seek_impl() local 1240 /* Check if seeking leaves us inside the current buffer, in _io__Buffered_seek_impl() 1246 current = RAW_TELL(self); in _io__Buffered_seek_impl() 1251 offset = target - (current - RAW_OFFSET(self)); in _io__Buffered_seek_impl() 1256 return PyLong_FromOff_t(current - avail + offset); in _io__Buffered_seek_impl() 1515 /* First copy what we have in the current buffer. */ in _bufferedreader_read_all() 1945 /* First write the current buffer */ in _io_BufferedWriter_write_impl()
|
| /third_party/python/Python/ |
| H A D | hamt.c | 860 /* Copy existing key/value pairs from the current Bitmap in hamt_node_bitmap_assoc() 1123 /* There are a few keys that have the same hash at the current shift in hamt_node_bitmap_find() 1340 /* This is a totally new key. Clone the current node, in hamt_node_collision_assoc() 1666 /* Copy all elements from the current Array node to the new one. */ in hamt_node_array_clone() 1723 /* Copy all elements from the current Array node to the in hamt_node_array_assoc() 2278 PyHamtNode *current = iter->i_nodes[iter->i_level]; in hamt_iterator_next() local 2280 if (IS_BITMAP_NODE(current)) { in hamt_iterator_next() 2283 else if (IS_ARRAY_NODE(current)) { in hamt_iterator_next() 2287 assert(IS_COLLISION_NODE(current)); in hamt_iterator_next()
|
| /base/telephony/core_service/test/unittest/core_service_gtest/ |
| H A D | zero_branch_test.cpp | 198 CurrentCellInformation current; in HWTEST_F() local 205 current.ratType = TelRilRatType::NETWORK_TYPE_GSM; in HWTEST_F() 206 EXPECT_TRUE(cellInfo->ProcessCurrentCell(¤t)); in HWTEST_F() 207 current.ratType = TelRilRatType::NETWORK_TYPE_LTE; in HWTEST_F() 208 EXPECT_TRUE(cellInfo->ProcessCurrentCell(¤t)); in HWTEST_F() 209 current.ratType = TelRilRatType::NETWORK_TYPE_WCDMA; in HWTEST_F() 210 EXPECT_TRUE(cellInfo->ProcessCurrentCell(¤t)); in HWTEST_F() 211 current.ratType = TelRilRatType::NETWORK_TYPE_TDSCDMA; in HWTEST_F() 212 EXPECT_TRUE(cellInfo->ProcessCurrentCell(¤t)); in HWTEST_F() 213 current in HWTEST_F() [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| H A D | UnicodeSet.java | 2769 // current character is not special, or if it is escaped, in applyPattern() 3407 // get current range in applyFilter() 4430 private int current; field in UnicodeSet.UnicodeSetIterator2 4442 current = sourceList[item++]; in UnicodeSetIterator2() 4466 int codepoint = current++; in next() 4468 if (current >= limit) { in next() 4473 current = sourceList[item++]; in next() 4842 * @param matches A boolean to either strip all that matches or don't match with the current UnicodeSet object. 4859 * Argument values for whether span() and similar functions continue while the current character is contained vs. 4900 * Continues a span() while there is no set element at the current positio [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| H A D | UnicodeSet.java | 2658 // current character is not special, or if it is escaped, in applyPattern() 3293 // get current range in applyFilter() 4288 private int current; field in UnicodeSet.UnicodeSetIterator2 4300 current = sourceList[item++]; in UnicodeSetIterator2() 4324 int codepoint = current++; in next() 4326 if (current >= limit) { in next() 4331 current = sourceList[item++]; in next() 4690 * @param matches A boolean to either strip all that matches or don't match with the current UnicodeSet object. 4708 * Argument values for whether span() and similar functions continue while the current character is contained vs. 4747 * Continues a span() while there is no set element at the current positio [all...] |
| /third_party/icu/icu4c/source/i18n/ |
| H A D | dtptngen.cpp | 1550 // 2. a skeleton is specified for the current pattern, but override=false; in that case we are checking in addPatternWithSkeleton() 1563 // same skeleton from the specified locale, so skip the current item if skeletonWasSpecified is true for in addPatternWithSkeleton() 1958 DateTimeMatcher current = it.next(); in getRedundants() local 1964 skipMatcher = new DateTimeMatcher(current); in getRedundants() 1971 *skipMatcher = current; in getRedundants() 1973 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants() 1979 if (current.equals(skipMatcher)) { in getRedundants() 2494 // check the current char is between A-Z or a-z in setTokens() 2573 // This function assumes the current itemIndex points to the quote literal.
|
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | dtptngen.cpp | 1542 // 2. a skeleton is specified for the current pattern, but override=false; in that case we are checking in addPatternWithSkeleton() 1555 // same skeleton from the specified locale, so skip the current item if skeletonWasSpecified is true for in addPatternWithSkeleton() 1950 DateTimeMatcher current = it.next(); in getRedundants() local 1956 skipMatcher = new DateTimeMatcher(current); in getRedundants() 1963 *skipMatcher = current; in getRedundants() 1965 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants() 1971 if (current.equals(skipMatcher)) { in getRedundants() 2486 // check the current char is between A-Z or a-z in setTokens() 2565 // This function assumes the current itemIndex points to the quote literal.
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | dtptngen.cpp | 1470 // 2. a skeleton is specified for the current pattern, but override=false; in that case we are checking 1483 // same skeleton from the specified locale, so skip the current item if skeletonWasSpecified is true for 1871 DateTimeMatcher current = it.next(); 1877 skipMatcher = new DateTimeMatcher(current); 1884 *skipMatcher = current; 1886 UnicodeString trial = getBestPattern(current.getPattern(), status); 1892 if (current.equals(skipMatcher)) { 2407 // check the current char is between A-Z or a-z 2486 // This function assumes the current itemIndex points to the quote literal.
|
| /third_party/node/deps/v8/src/init/ |
| H A D | bootstrapper.cc | 283 v8::RegisteredExtension* current, 1242 for (Object current = heap->native_contexts_list(); in AddToWeakNativeContextList() 1243 !current.IsUndefined(isolate); in AddToWeakNativeContextList() 1244 current = Context::cast(current).next_context_link()) { in AddToWeakNativeContextList() 1245 DCHECK(current != context); in AddToWeakNativeContextList() 6002 v8::RegisteredExtension* current, in InstallExtension() 6006 if (extension_states->get_state(current) == INSTALLED) return true; in InstallExtension() 6007 // The current node has already been visited so there must be a in InstallExtension() 6009 if (!Utils::ApiCheck(extension_states->get_state(current) ! in InstallExtension() 6001 InstallExtension(Isolate* isolate, v8::RegisteredExtension* current, ExtensionStates* extension_states) InstallExtension() argument [all...] |
| /third_party/mesa3d/src/imgui/ |
| H A D | imgui_draw.cpp | 440 // If current command is used with different settings we need to add a new command in UpdateClipRect() 449 // Try to merge with previous command if it matches, else use current command in UpdateClipRect() 459 // If current command is used with different settings we need to add a new command in UpdateTextureID() 468 // Try to merge with previous command if it matches, else use current command in UpdateTextureID() 485 ImVec4 current = _ClipRectStack.Data[_ClipRectStack.Size-1]; in PushClipRect() local 486 if (cr.x < current.x) cr.x = current.x; in PushClipRect() 487 if (cr.y < current.y) cr.y = current.y; in PushClipRect() 488 if (cr.z > current in PushClipRect() [all...] |
| /third_party/skia/third_party/externals/imgui/ |
| H A D | imgui_draw.cpp | 510 // If current command is used with different settings we need to add a new command in _OnChangedClipRect() 519 // Try to merge with previous command if it matches, else use current command in _OnChangedClipRect() 532 // If current command is used with different settings we need to add a new command in _OnChangedTextureID() 541 // Try to merge with previous command if it matches, else use current command in _OnChangedTextureID() 583 ImVec4 current = _CmdHeader.ClipRect; in PushClipRect() local 584 if (cr.x < current.x) cr.x = current.x; in PushClipRect() 585 if (cr.y < current.y) cr.y = current.y; in PushClipRect() 586 if (cr.z > current in PushClipRect() [all...] |
| H A D | imgui_internal.h | 129 struct ImGuiPopupData; // Storage for current popup stack 439 static inline float ImLinearSweep(float current, float target, float speed) { if (current < target) return ImMin(current + speed, target); if (current > target) return ImMax(current - speed, target); return current; } in ImLinearSweep() argument 756 ImGuiItemStatusFlags_Edited = 1 << 2, // Value exposed by item was edited in the current frame (should match the bool return value of most widgets) 841 ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar 996 ImU16 Widths[4]; // Width of: Icon, Label, Shortcut, Mark (accumulators for current fram [all...] |
| /base/telephony/sms_mms/services/sms/ |
| H A D | sms_base_message.cpp | 447 index = fullDataIter->current(); in SplitMessageUcs2()
|
| /foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
| H A D | scrollable.h | 56 using WatchFixCallback = std::function<double(double final, double current)>;
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
| H A D | scrollable.h | 56 using WatchFixCallback = std::function<double(double final, double current)>;
|