| /third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
| H A D | Precise_test.cpp | 35 DestroyCompiler(shaderOutputType.first); 45 sh::InitBuiltInResources(&mResourceList[shaderOutputType.first]); in Initialize() 46 mCompilerList[shaderOutputType.first] = nullptr; in Initialize() 63 InitializeCompiler(shaderOutputType.first); in InitializeCompiler() 98 EXPECT_TRUE(TestShaderCompile(shaderOutputType.first, shaderSource)); in TestShaderCompile() 101 sh::GetObjectBinaryBlob(mCompilerList[shaderOutputType.first]); in TestShaderCompile()
|
| /third_party/skia/src/core/ |
| H A D | SkRecordPattern.h | 109 // - first, second, third, ... return the data stored by their respective matchers in the pattern. 129 // Starting from *end, walk through the SkRecord to find the first span matching this pattern. 142 template <typename T> T* first() { return fFirst.get(); } in first() function in SkRecords::Pattern 143 template <typename T> T* second() { return fRest.template first<T>(); } in second() 148 // If first isn't a Greedy, try to match at i once. 150 int matchFirst(T* first, SkRecord* record, int i) { in matchFirst() argument 152 if (record->mutate(i, *first)) { in matchFirst() 159 // If first is a Greedy, walk i until it doesn't match. 161 int matchFirst(Greedy<T>* first, SkRecord* record, int i) { in matchFirst() argument 163 if (!record->mutate(i, *first)) { in matchFirst() [all...] |
| /third_party/skia/third_party/externals/spirv-tools/source/ |
| H A D | text_handler.h | 53 inline bool operator==(const IdType& first, const IdType& second) { in operator ==() argument 54 return (first.bitwidth == second.bitwidth) && in operator ==() 55 (first.isSigned == second.isSigned) && in operator ==() 56 (first.type_class == second.type_class); in operator ==() 60 inline bool operator!=(const IdType& first, const IdType& second) { in operator !=() argument 61 return !(first == second); in operator !=()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
| H A D | text_handler.h | 53 inline bool operator==(const IdType& first, const IdType& second) { in operator ==() argument 54 return (first.bitwidth == second.bitwidth) && in operator ==() 55 (first.isSigned == second.isSigned) && in operator ==() 56 (first.type_class == second.type_class); in operator ==() 60 inline bool operator!=(const IdType& first, const IdType& second) { in operator !=() argument 61 return !(first == second); in operator !=()
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | numrange_capi.cpp | 98 // Readonly-alias constructor (first argument is whether we are NUL-terminated) in unumrf_openForSkeletonWithCollapseAndIdentityFallback() 110 double first, in unumrf_formatDoubleRange() 119 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 121 formatter->fFormatter.formatImpl(result->fData, first == second, *ec); in unumrf_formatDoubleRange() 127 const char* first, int32_t firstLen, in unumrf_formatDecimalRange() 136 result->fData.quantity1.setToDecNumber({first, firstLen}, *ec); in unumrf_formatDecimalRange() 138 formatter->fFormatter.formatImpl(result->fData, first == second, *ec); in unumrf_formatDecimalRange() 108 unumrf_formatDoubleRange( const UNumberRangeFormatter* uformatter, double first, double second, UFormattedNumberRange* uresult, UErrorCode* ec) unumrf_formatDoubleRange() argument 125 unumrf_formatDecimalRange( const UNumberRangeFormatter* uformatter, const char* first, int32_t firstLen, const char* second, int32_t secondLen, UFormattedNumberRange* uresult, UErrorCode* ec) unumrf_formatDecimalRange() argument
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/ |
| H A D | InterfaceFile.cpp | 63 Target RHS) { return LHS.first < RHS; }); in addParentUmbrella() 65 if ((Iter != ParentUmbrellas.end()) && !(Target_ < Iter->first)) { in addParentUmbrella() 77 Target RHS) { return LHS.first < RHS; }); in addUUID() 79 if ((Iter != UUIDs.end()) && !(Target_ < Iter->first)) { in addUUID() 116 result.first->second = new (Allocator) Symbol{Kind, Name, Targets, Flags}; in addSymbol() 119 result.first->second->addTarget(Target); in addSymbol()
|
| /third_party/python/Lib/test/test_importlib/import_/ |
| H A D | test_meta_path.py | 12 specified in the sequence, starting with the first importer 13 [first called], and then continuing on down until one is found that doesn't 18 # [first called] 20 with util.mock_spec(mod) as first, util.mock_spec(mod) as second: 21 with util.import_state(meta_path=[first, second]): 22 self.assertIs(self.__import__(mod), first.modules[mod]) 27 with util.mock_spec('nonexistent') as first, \ 29 first.find_spec = lambda self, fullname, path=None, parent=None: None 30 with util.import_state(meta_path=[first, second]):
|
| /third_party/spirv-tools/source/ |
| H A D | text_handler.h | 53 inline bool operator==(const IdType& first, const IdType& second) { in operator ==() argument 54 return (first.bitwidth == second.bitwidth) && in operator ==() 55 (first.isSigned == second.isSigned) && in operator ==() 56 (first.type_class == second.type_class); in operator ==() 60 inline bool operator!=(const IdType& first, const IdType& second) { in operator !=() argument 61 return !(first == second); in operator !=()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
| H A D | span_string.cpp | 132 int32_t offset = (*it)->interval.first; in SplitSpansAndForward() 142 offset = newSpan->interval.first; in SplitSpansAndForward() 159 auto oldStart = (*it)->interval.first; in ApplyToSpans() 161 if (oldStart == intersection->first && intersection->second == oldEnd) { in ApplyToSpans() 168 if (oldStart < intersection->first && intersection->second < oldEnd) { in ApplyToSpans() 169 (*it)->interval = { oldStart, intersection->first }; in ApplyToSpans() 170 (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->first - oldStart)); in ApplyToSpans() 172 newSpan->interval = { intersection->first, intersection->second }; in ApplyToSpans() 174 wContent.substr(intersection->first - oldStart, intersection->second - intersection->first)); in ApplyToSpans() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
| H A D | list_height_offset_calculator.h | 37 startIndex_ = itemPosition.begin()->first; in ListHeightOffsetCalculator() 38 endIndex_ = itemPosition.rbegin()->first; in ListHeightOffsetCalculator() 80 estimateOffset_ = estimateHeight_ - targetPos_.first; in CalculateFrameNode() 125 while (itor != itemPosition_.end() && itor->first <= endIndex) { in GetLazyForEachIndexAverageHeight() 133 if (itor->first == startIndex_ || itor->first == endIndex_) { in GetLazyForEachIndexAverageHeight() 134 auto child = node->GetFrameChildByIndex(itor->first - currentIndex_, false); in GetLazyForEachIndexAverageHeight() 164 auto child = node->GetFrameChildByIndex(itor->first - currentIndex_, false); in CalculateOffset() 177 return estimateOffset_ - targetPos_.first; in CalculateOffset()
|
| /foundation/multimedia/audio_framework/test/fuzztest/audiomanager_fuzzer/ |
| H A D | audio_manager_fuzzer.cpp | 61 focusInfo.first.streamUsage = *reinterpret_cast<const StreamUsage *>(data); in AudioManagerFuzzTest() 62 focusInfo.first.contentType = *reinterpret_cast<const ContentType *>(data); in AudioManagerFuzzTest() 63 focusInfo.first.audioFocusType.streamType = *reinterpret_cast<const AudioStreamType *>(data); in AudioManagerFuzzTest() 64 focusInfo.first.audioFocusType.sourceType = *reinterpret_cast<const SourceType *>(data); in AudioManagerFuzzTest() 65 focusInfo.first.audioFocusType.isPlay = *reinterpret_cast<const bool *>(data); in AudioManagerFuzzTest() 66 focusInfo.first.sessionId = *reinterpret_cast<const int32_t *>(data); in AudioManagerFuzzTest() 67 focusInfo.first.pauseWhenDucked = *reinterpret_cast<const bool *>(data); in AudioManagerFuzzTest() 68 focusInfo.first.pid = *reinterpret_cast<const int32_t *>(data); in AudioManagerFuzzTest() 69 focusInfo.first.mode = *reinterpret_cast<const InterruptMode *>(data); in AudioManagerFuzzTest()
|
| /foundation/multimedia/camera_framework/services/deferred_processing_service/src/event_monitor/ |
| H A D | events_monitor.cpp | 72 NotifyObserversUnlocked(it->first, EventType::THERMAL_LEVEL_STATUS_EVENT, level); in NotifyThermalLevel() 109 NotifyObserversUnlocked(it->first, EventType::MEDIA_LIBRARY_STATUS_EVENT, available); in NotifyMediaLibraryStatus() 120 NotifyObserversUnlocked(it->first, EventType::HDI_STATUS_EVENT, status); in NotifyImageEnhanceStatus() 131 NotifyObserversUnlocked(it->first, EventType::SCREEN_STATUS_EVENT, status); in NotifyScreenStatus() 142 NotifyObserversUnlocked(it->first, EventType::CHARGING_STATUS_EVENT, status); in NotifyChargingStatus() 153 NotifyObserversUnlocked(it->first, EventType::BATTERY_STATUS_EVENT, status); in NotifyBatteryStatus() 164 NotifyObserversUnlocked(it->first, EventType::BATTERY_LEVEL_STATUS_EVENT, level); in NotifyBatteryLevel() 175 NotifyObserversUnlocked(it->first, EventType::SYSTEM_PRESSURE_LEVEL_EVENT, level); in NotifySystemPressureLevel() 185 NotifyObserversUnlocked(it->first, EventType::PHOTO_PROCESS_STATUS_EVENT, size); in NotifyPhotoProcessSize()
|
| /foundation/multimedia/av_session/services/session/server/remote/ |
| H A D | remote_session_source_impl.cpp | 117 if (iter->first == sinkDevice) { in CancelCastAudio() 133 SLOGI("iter %{public}s", iter->first.c_str()); in SetAVMetaData() 135 auto mask = GetSinkMetaMaskType(iter->first); in SetAVMetaData() 158 SLOGI("syncer %{public}s", iter->first.c_str()); in SetAVPlaybackState() 160 auto mask = GetSinkPlaybackStateMaskType(iter->first); in SetAVPlaybackState() 183 SLOGI("iter %{public}s", iter->first.c_str()); in SetSessionEventRemote() 206 SLOGI("iter %{public}s", iter->first.c_str()); in SetAVQueueItems() 228 SLOGI("iter %{public}s", iter->first.c_str()); in SetAVQueueTitle() 250 SLOGI("iter %{public}s", iter->first.c_str()); in SetExtrasRemote()
|
| /foundation/multimedia/player_framework/services/engine/histreamer/player/ |
| H A D | seek_agent.cpp | 150 if (std::find(audioTrackIds.begin(), audioTrackIds.end(), it->first) != audioTrackIds.end()) {
in SetBufferFilledListener() 152 = new AudioBufferFilledListener(shared_from_this(), it->second, it->first);
in SetBufferFilledListener() 157 MEDIA_LOG_I("Add Listener audio id : %{public}d", it->first);
in SetBufferFilledListener() 159 listenerMap_.insert({it->first, audioListener});
in SetBufferFilledListener() 163 if (it->first == videoTrackId) {
in SetBufferFilledListener() 165 = new VideoBufferFilledListener(shared_from_this(), it->second, it->first);
in SetBufferFilledListener() 170 MEDIA_LOG_I("Add Listener video id : %{public}d", it->first);
in SetBufferFilledListener() 172 listenerMap_.insert({it->first, videoListener});
in SetBufferFilledListener() 183 auto iterator = producerMap_.find(it->first);
in RemoveBufferFilledListener()
|
| /third_party/mesa3d/src/gallium/targets/libgl-gdi/ |
| H A D | stw_wgl.c | 202 DWORD first, in wglUseFontBitmapsA() 206 return wglUseFontBitmapsW(hdc, first, count, listBase); in wglUseFontBitmapsA() 221 DWORD first, in wglUseFontBitmapsW() 243 DWORD size = GetGlyphOutline(hdc, first + i, GGO_BITMAP, &gm, 0, in wglUseFontBitmapsW() 257 size = GetGlyphOutline(hdc, first + i, GGO_BITMAP, &gm, in wglUseFontBitmapsW() 280 DWORD first, in wglUseFontOutlinesA() 289 (void) first; in wglUseFontOutlinesA() 305 DWORD first, in wglUseFontOutlinesW() 314 (void) first; in wglUseFontOutlinesW() 200 wglUseFontBitmapsA( HDC hdc, DWORD first, DWORD count, DWORD listBase ) wglUseFontBitmapsA() argument 219 wglUseFontBitmapsW( HDC hdc, DWORD first, DWORD count, DWORD listBase ) wglUseFontBitmapsW() argument 278 wglUseFontOutlinesA( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) wglUseFontOutlinesA() argument 303 wglUseFontOutlinesW( HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf ) wglUseFontOutlinesW() argument
|
| /third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
| H A D | unicodetext.h | 131 UnicodeText(const const_iterator& first, const const_iterator& last); 144 UnicodeText& PointTo(const const_iterator& first, 165 UnicodeText& append(ForwardIterator first, const ForwardIterator last) { in append() argument 166 while (first != last) { push_back(*first++); } in append() 171 UnicodeText& append(const const_iterator& first, const const_iterator& last); 226 friend difference_type distance(const CI& first, const CI& last); 270 // Substring searching. Returns the beginning of the first 290 static string UTF8Substring(const const_iterator& first, 388 return r.first in UnicodeTextRangeIsEmpty() [all...] |
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-ot-shape-complex-use-machine.hh | 374 if (0) fprintf (stderr, "syllable %d..%d %s\n", (*ts).second.first, (*te).second.first, #syllable_type); \ 375 for (unsigned i = (*ts).second.first; i < (*te).second.first; ++i) \ 401 { unsigned index = (*it).first; if (index < n) it += n - index; else if (index > n) it -= index - n; } in operator =() 402 void operator = (const machine_index_t& o) { *this = (*o.it).first; } in operator =() 403 bool operator == (const machine_index_t& o) const { return (*it).first == (*o.it).first; } in operator ==() 437 for (unsigned i = p.first + 1; i < buffer->len; ++i) in find_syllables_use()
|
| /third_party/node/deps/v8/src/utils/ |
| H A D | bit-vector.cc | 15 bool first = true; in Print() local 19 if (!first) PrintF(","); in Print() 20 first = false; in Print()
|
| /foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
| H A D | dom_dialog.cpp | 32 dialogChild_->SetWidth(dialogWidth_.first); in PrepareSpecializedComponent() 35 dialogChild_->SetHeight(dialogHeight_.first); in PrepareSpecializedComponent() 53 dialog.dialogHeight_.first = dialog.ParseDimension(val); in SetSpecializedStyle() 96 dialog.dialogWidth_.first = dialog.ParseDimension(val); in SetSpecializedStyle() 100 auto operatorIter = BinarySearchFindIndex(styleOperators, ArraySize(styleOperators), style.first.c_str()); in SetSpecializedStyle() 110 if (attr.first == DOM_SHOW) { in SetSpecializedAttr() 113 } else if (attr.first == DOM_DIALOG_STYLE_DRAGABLE) { in SetSpecializedAttr()
|
| /foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
| H A D | rs_skia_memory_tracer.cpp | 32 if (SkStrContains(resourceName, resource.first)) { in MapName() 72 std::string key = (itemizeType_) ? type : sizeResult->first; in ProcessElement() 129 log.AppendFormat(" %s:\n", namedItem.first.c_str()); // skia/sk_glyph_cache in LogOutput() 133 log.AppendFormat(" %s: %.2f %s (%d %s)\n", typedValue.first.c_str(), traceValue.value, in LogOutput() 141 log.AppendFormat(" %s: %.2f %s (%d %s)\n", namedItem.first.c_str(), traceValue.value, in LogOutput() 155 if (namedItem.first == "Scratch" || namedItem.first == "skia/gr_text_blob_cache") { in GetGLMemorySize()
|
| /third_party/benchmark/src/ |
| H A D | statistics.cc | 108 // can take this information from the first benchmark. in ComputeStats() 118 auto it = counter_stats.find(cnt.first); in ComputeStats() 121 .emplace(cnt.first, in ComputeStats() 123 .first; in ComputeStats() 140 auto it = counter_stats.find(cnt.first); in ComputeStats() 198 auto c = Counter(uc_stat, counter_stats[kv.first].c.flags, in ComputeStats() 199 counter_stats[kv.first].c.oneK); in ComputeStats() 200 data.counters[kv.first] = c; in ComputeStats()
|
| /third_party/libwebsockets/plugins/ |
| H A D | protocol_fulltext_demo.c | 53 uint8_t first:1; member 90 pss->first = 1; in callback_fts() 164 if (pss->first) in callback_fts() 172 pss->first ? ' ' : ',', (char *)(pss->ac + 1), in callback_fts() 176 pss->first = 0; in callback_fts() 193 "\"hits\": [", pss->first ? ' ' : ',', in callback_fts() 202 pss->first = 0; in callback_fts()
|
| /third_party/python/Lib/ |
| H A D | asynchat.py | 233 first = self.producer_fifo[0] 235 if not first: 237 if first is None: 244 data = first[:obs] 246 data = first.more() 264 if num_sent < len(data) or obs < len(first): 265 self.producer_fifo[0] = first[num_sent:]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
| H A D | PassTimingInfo.cpp | 107 // Constructed the first time this is called, iff -time-passes is enabled. in init() 122 // Appending description with a pass-instance number for all but the first one in newPassTimer() 181 return *(Pair.first->second.get()); in getPassTimer() 203 dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "(" in dump() 204 << I.first.second << ")\n"; in dump() 210 dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "(" in dump() 211 << I.first.second << ")\n"; in dump()
|
| /third_party/skia/third_party/externals/freetype/src/cache/ |
| H A D | ftccmap.c | 72 FT_UInt32 first; /* first character in node */ member 123 node->first = (query->char_code / FTC_CMAP_INDICES_MAX) * in FT_CALLBACK_DEF() 164 FT_UInt32 offset = (FT_UInt32)( query->char_code - node->first ); in FT_CALLBACK_DEF() 276 FT_ASSERT( char_code - FTC_CMAP_NODE( node )->first < in FT_EXPORT_DEF() 280 if ( char_code - FTC_CMAP_NODE( node )->first >= FTC_CMAP_INDICES_MAX ) in FT_EXPORT_DEF() 284 FTC_CMAP_NODE( node )->first]; in FT_EXPORT_DEF() 316 FTC_CMAP_NODE( node )->first] in FT_EXPORT_DEF()
|