Home
last modified time | relevance | path

Searched refs:get (Results 2151 - 2175 of 11876) sorted by relevance

1...<<81828384858687888990>>...476

/third_party/skia/gm/
H A Dfontregen.cpp14 // the Plot with the first set of text will not get overwritten by the new large text.
44 font.textToGlyphs(text.c_str(), len, SkTextEncoding::kUTF8, glyphs.get(), len); in make_blob()
45 font.getXPos(glyphs.get(), len, pos.get()); in make_blob()
46 return SkTextBlob::MakeFromPosTextH(text.c_str(), len, pos.get(), 0, font); in make_blob()
H A Dencode_alpha_jpeg.cpp67 read_into_pixmap(&src, info, fStorage.get(), srcImg);
77 read_into_pixmap(&src, info, fStorage.get(), srcImg);
86 read_into_pixmap(&src, info, fStorage.get(), srcImg);
94 read_into_pixmap(&src, info, fStorage.get(), srcImg);
/third_party/rust/crates/rustix/tests/process/
H A Did.rs44 process::getpid().as_raw_nonzero().get() as libc::pid_t, in test_getpid()
76 process::getpgid(None).unwrap().as_raw_nonzero().get() as libc::pid_t, in test_getpgid()
87 .get() as libc::pid_t, in test_getpgid()
98 process::getpgrp().as_raw_nonzero().get() as libc::pid_t, in test_getpgrp()
/third_party/spirv-tools/source/fuzz/
H A Dreplayer.cpp109 MakeUnique<FactManager>(ir_context.get()), validator_options_, in Run()
132 if (transformation->IsApplicable(ir_context.get(), in Run()
136 transformation->Apply(ir_context.get(), transformation_context.get()); in Run()
/third_party/spirv-tools/test/opt/
H A Deliminate_dead_functions_test.cpp103 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F()
104 EXPECT_EQ(assembly, std::get<0>(result)); in TEST_F()
142 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F()
143 EXPECT_EQ(assembly, std::get<0>(result)); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DAttributeMap.cpp32 EGLAttrib AttributeMap::get(EGLAttrib key) const in get() function in egl::AttributeMap
39 EGLAttrib AttributeMap::get(EGLAttrib key, EGLAttrib defaultValue) const in get() function in egl::AttributeMap
47 return static_cast<EGLint>(get(key)); in getAsInt()
52 return static_cast<EGLint>(get(key, static_cast<EGLAttrib>(defaultValue))); in getAsInt()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dformat_agent_plugin_test.cpp125 ASSERT_NE(imageSource.get(), nullptr); in HWTEST_F()
130 ASSERT_NE(pixelMap.get(), nullptr); in HWTEST_F()
167 ASSERT_NE(imageSource.get(), nullptr); in HWTEST_F()
172 ASSERT_NE(pixelMap.get(), nullptr); in HWTEST_F()
297 ASSERT_NE(imageSource.get(), nullptr); in HWTEST_F()
302 ASSERT_NE(pixelMap.get(), nullptr); in HWTEST_F()
339 ASSERT_NE(imageSource.get(), nullptr); in HWTEST_F()
344 ASSERT_NE(pixelMap.get(), nullptr); in HWTEST_F()
410 ASSERT_NE(imageSource.get(), nullptr); in HWTEST_F()
415 ASSERT_NE(pixelMap.get(), nullpt in HWTEST_F()
[all...]
/third_party/python/Lib/test/
H A Dmapping_tests.py84 #get
87 self.assertEqual(d.get(key, knownvalue), value)
88 self.assertEqual(d.get(knownkey, knownvalue), knownvalue)
272 self.assertTrue(d.get(list(self.other.keys())[0]) is None)
273 self.assertEqual(d.get(list(self.other.keys())[0], 3), 3)
275 self.assertTrue(d.get(list(self.other.keys())[0]) is None)
276 self.assertEqual(d.get(list(self.other.keys())[0], 3), 3)
277 self.assertEqual(d.get(list(self.inmapping.keys())[0]),
279 self.assertEqual(d.get(list(self.inmapping.keys())[0], 3),
281 self.assertRaises(TypeError, d.get)
[all...]
/third_party/skia/tests/
H A DUtilsTest.cpp25 int get() const { return fN; } in get() function in RefClass
38 REPORTER_ASSERT(reporter, &obj == tmp.get()); in test_autounref()
44 REPORTER_ASSERT(reporter, nullptr == tmp.get()); in test_autounref()
365 REPORTER_ASSERT(reporter, std::get<0>(t) == 1); in DEF_TEST()
366 REPORTER_ASSERT(reporter, std::get<1>(t) == 10.f); in DEF_TEST()
367 REPORTER_ASSERT(reporter, std::get<2>(t) == 20); in DEF_TEST()
368 REPORTER_ASSERT(reporter, std::get<3>(t) == 100); in DEF_TEST()
369 REPORTER_ASSERT(reporter, std::get<4>(t) == 20); in DEF_TEST()
375 REPORTER_ASSERT(reporter, std::get<0>(t) == 4); in DEF_TEST()
376 REPORTER_ASSERT(reporter, std::get< in DEF_TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp202 // TBD: figure out a way to get this or remove the instruction in EmitInstrWithCustomInserter()
210 // TBD: figure out a way to get this or remove the instruction in EmitInstrWithCustomInserter()
543 BuildMI(BB, DL, TII->get(Opc)) in emitSel16()
560 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg()) in emitSel16()
606 BuildMI(BB, DL, TII->get(Opc2)) in emitSelT16()
609 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); in emitSelT16()
624 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg()) in emitSelT16()
672 BuildMI(BB, DL, TII->get(Opc2)) in emitSeliT16()
675 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); in emitSeliT16()
690 BuildMI(*BB, BB->begin(), DL, TII->get(Mip in emitSeliT16()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp154 // If we get here, there are no calls to llvm.vastart in the function body, in DeleteDeadVarargs()
162 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(), in DeleteDeadVarargs()
192 PAL = AttributeList::get(Fn.getContext(), PAL.getFnAttributes(), in DeleteDeadVarargs()
296 Arg.replaceAllUsesWith(UndefValue::get(Arg.getType())); in RemoveDeadArgumentsFromCallers()
316 CS.setArgument(ArgNo, UndefValue::get(Arg->getType())); in RemoveDeadArgumentsFromCallers()
818 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in RemoveDeadStuffFromFunction()
821 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in RemoveDeadStuffFromFunction()
847 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction()
856 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
859 FunctionType *NFTy = FunctionType::get(NRetT in RemoveDeadStuffFromFunction()
[all...]
H A DLowerTypeTests.cpp393 ArrayType *Int8Arr0Ty = ArrayType::get(Type::getInt8Ty(M.getContext()), 0);
584 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest()
585 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest()
587 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
592 // get initialized, we RAUW and erase them later in allocateByteArrays() once in createByteArray()
625 ConstantExpr::getIntToPtr(ConstantInt::get(Int8Ty, Mask), Int8PtrTy)); in allocateByteArrays()
631 Constant *ByteArrayConst = ConstantDataArray::get(M.getContext(), BAB.Bytes); in allocateByteArrays()
639 Constant *Idxs[] = {ConstantInt::get(IntPtrTy, 0), in allocateByteArrays()
640 ConstantInt::get(IntPtrTy, ByteArrayOffsets[I])}; in allocateByteArrays()
684 return B.CreateICmpNE(ByteAndMask, ConstantInt::get(Int8T in createBitSetTest()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/
H A Dscons_utils.py123 seek = kw.get('seek')
124 skip = kw.get('skip')
125 count = kw.get('count')
126 bs = kw.get('bs', 1024)
178 value = options.get(option)
185 return int(options.get(option))
211 return int(options.get(option))
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dscons_utils.py123 seek = kw.get('seek')
124 skip = kw.get('skip')
125 count = kw.get('count')
126 bs = kw.get('bs', 1024)
178 value = options.get(option)
185 return int(options.get(option))
211 return int(options.get(option))
/foundation/arkui/ace_engine/frameworks/bridge/codec/
H A Dcodec_data.h142 return IsInt() ? std::get<int32_t>(data_) : defValue; in GetIntValue()
146 return IsLong() ? std::get<int64_t>(data_) : IsInt() ? std::get<int32_t>(data_) : defValue; in GetLongValue()
150 return IsDouble() ? std::get<double>(data_) in GetDoubleValue()
151 : IsLong() ? std::get<int64_t>(data_) : IsInt() ? std::get<int32_t>(data_) : defValue; in GetDoubleValue()
181 return IsFunction() ? std::get<int32_t>(data_) : defValue; in GetFunctionValue()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_fwk_metadata_utils.cpp51 auto srcHeader = srcMetadata->get(); in MergeMetadata()
53 auto dstHeader = dstMetadata->get(); in MergeMetadata()
60 "Failed to get metadata item at index: %{public}d", index); in MergeMetadata()
78 auto metadataHeader = srcMetadata->get(); in CopyMetadata()
89 int32_t result = OHOS::Camera::FindCameraMetadataItemIndex(dstMetadata->get(), srcItem.item, &itemIndex); in UpdateMetadataTag()
103 auto metadataHeader = srcMetadata->get(); in DumpMetadataInfo()
165 MEDIA_WARNING_LOG("DumpMetadataItemInfo get unknown dataType:%{public}d", dataType); in DumpMetadataItemInfo()
172 common_metadata_header_t* header = metadata->get(); in RecreateMetadata()
190 auto header = metadata->get(); in LogFormatCameraMetadata()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcreate_randomaccessfile.cpp33 HILOGE("Failed to get file entity"); in GetFileEntity()
58 auto fd = fileEntity->fd_.get()->GetFD(); in ParseJsFile()
65 HILOGE("Failed to get valid fd, fail reason: %{public}s, fd: %{public}d", strerror(errno), fd); in ParseJsFile()
183 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), flags, S_IRUSR | in Sync()
190 fileInfo.fdg->SetFD(open_req.get()->result, false); in Sync()
211 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo->path.get(), flags, S_IRUSR | in AsyncExec()
216 fileInfo->fdg->SetFD(open_req.get()->result, false); in AsyncExec()
H A Dmove.cpp64 if (!resGetFirstArg || CheckDir(string(src.get()))) { in ParseJsOperand()
69 if (!resGetSecondArg || CheckDir(string(dest.get()))) { in ParseJsOperand()
93 int ret = uv_fs_stat(nullptr, stat_req.get(), src.c_str(), nullptr); in CopyAndDeleteFile()
191 int ret = MoveFile(string(src.get()), string(dest.get()), mode); in Sync()
213 auto cbExec = [srcPath = string(src.get()), destPath = string(dest.get()), mode = mode]() -> NError { in Async()
H A Dread_text.cpp61 string_view encodingStr(encoding.get()); in GetReadTextArg()
82 int ret = uv_fs_open(nullptr, open_req.get(), path.c_str(), O_RDONLY, in ReadTextAsync()
95 HILOGE("Failed to get stat of file by fd: %{public}d", sfd.GetFD()); in ReadTextAsync()
113 arg->len = uv_fs_read(nullptr, read_req.get(), sfd.GetFD(), &readbuf, 1, offset, nullptr); in ReadTextAsync()
132 return uv_fs_open(nullptr, open_req.get(), path.c_str(), O_RDONLY, in OpenFile()
145 return uv_fs_read(nullptr, read_req.get(), fd, &readbuf, 1, offset, nullptr); in ReadFromFile()
171 int fd = OpenFile(path.get()); in Sync()
181 HILOGE("Failed to get stat of file by fd: %{public}d", sfd.GetFD()); in Sync()
231 auto cbExec = [path = string(path.get()), arg, offset = offset, hasLen = hasLen, len = len]() -> NError { in Async()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_gpu_context.cpp92 grOptions.fPersistentCache = skiaPersistentCache_.get(); in BuildFromGL()
125 grOptions.fPersistentCache = skiaPersistentCache_.get(); in BuildFromVK()
302 SkTraceMemoryDump* skTraceMemoryDump = traceMemoryDump->GetImpl<SkiaTraceMemoryDump>()->GetTraceMemoryDump().get(); in DumpMemoryStatisticsByTag()
322 SkTraceMemoryDump* skTraceMemoryDump = traceMemoryDump->GetImpl<SkiaTraceMemoryDump>()->GetTraceMemoryDump().get(); in DumpMemoryStatistics()
438 contextPostMap_[uintptr_t(grContext_.get())] = func; in RegisterPostFunc()
444 if (grContext != nullptr && contextPostMap_.count(uintptr_t(grContext.get())) > 0) { in GetPostFunc()
445 return contextPostMap_[uintptr_t(grContext.get())]; in GetPostFunc()
/third_party/gn/src/gn/
H A Dinput_file_manager.cc138 InputFileData* data = found->second.get(); in AsyncLoadFile()
157 schedule_this = [callback, root = data->parsed_root.get()]() { in AsyncLoadFile()
184 data = new_data.get(); in SyncLoadFile()
193 data = found->second.get(); in SyncLoadFile()
244 return data->parsed_root.get(); in SyncLoadFile()
300 ParseNode* unowned_root = root.get(); in LoadFile()
307 InputFileData* data = input_files_[name].get(); in LoadFile()
334 // separately to get some parallelism. But normally there will only be one in LoadFile()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DValidIdentifiers.java68 Set<String> oldSet = _subdivisionData.get(key); in ValiditySet()
104 Set<String> oldSet = subdivisionData.get(key); in contains()
126 UResourceBundle validityInfo = suppData.get("idValidity");
172 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); in isValid()
175 ValiditySet validitySet = subtable.get(datasubtype); in isValid()
187 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); in isValid()
192 ValiditySet validitySet = subtable.get(datasubtype); in isValid()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
H A DMf2DataModelFormatter.java175 Expression selector = selectors.get(i); in findBestMatchingPattern()
176 String valToCheck = keysToCheck.get(i); in findBestMatchingPattern()
177 Selector func = selectorFunctions.get(i); in findBestMatchingPattern()
222 Expression localPh = dm.getLocalVariables().get(varName); in variableToObjectEx()
226 return arguments.get(varName); in variableToObjectEx()
245 Expression localPh = dm.getLocalVariables().get(varName); in formatPlaceholder()
254 toFormat = arguments.get(varName); in formatPlaceholder()
/third_party/icu/icu4c/source/common/
H A Dservls.cpp45 ICULocaleService::get(const Locale& locale, UErrorCode& status) const in get() function in ICULocaleService
47 return get(locale, LocaleKey::KIND_ANY, NULL, status); in get()
51 ICULocaleService::get(const Locale& locale, int32_t kind, UErrorCode& status) const in get() function in ICULocaleService
53 return get(locale, kind, NULL, status); in get()
57 ICULocaleService::get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const in get() function in ICULocaleService
59 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); in get()
63 ICULocaleService::get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const in get() function in ICULocaleService
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBTMXExporter.java60 buffer.append(String.valueOf(gc.get(Calendar.YEAR))); in convertToISO()
61 int month = gc.get(Calendar.MONTH)+1; in convertToISO()
63 int day = gc.get(Calendar.DAY_OF_MONTH); in convertToISO()
66 int hour = gc.get(Calendar.HOUR_OF_DAY); in convertToISO()
68 int minute = gc.get(Calendar.MINUTE); in convertToISO()
70 int second = gc.get(Calendar.SECOND); in convertToISO()
121 String value = (String)lookups.get(key); in appendTUV()

Completed in 22 milliseconds

1...<<81828384858687888990>>...476