/third_party/skia/tests/ |
H A D | DMSAATest.cpp | 94 draw_paint_with_dmsaa(sdc.get(), SK_PMColor4fTRANSPARENT, SkBlendMode::kSrc); in DEF_GPUTEST_FOR_CONTEXTS() 95 check_sdc_color(reporter, sdc.get(), dContext, SK_PMColor4fTRANSPARENT); in DEF_GPUTEST_FOR_CONTEXTS() 101 check_sdc_color(reporter, sdc.get(), dContext, kTransYellow); in DEF_GPUTEST_FOR_CONTEXTS() 104 // attachment. This will fail if the yellow from the main texture doesn't get copied into the in DEF_GPUTEST_FOR_CONTEXTS() 106 draw_paint_with_dmsaa(sdc.get(), kTransCyan, SkBlendMode::kSrcOver); in DEF_GPUTEST_FOR_CONTEXTS() 109 check_sdc_color(reporter, sdc.get(), dContext, dstColor); in DEF_GPUTEST_FOR_CONTEXTS() 125 draw_paint_with_dmsaa(sdc.get(), SK_PMColor4fTRANSPARENT, SkBlendMode::kSrc); in DEF_GPUTEST_FOR_CONTEXTS() 126 check_sdc_color(reporter, sdc.get(), dContext, SK_PMColor4fTRANSPARENT); in DEF_GPUTEST_FOR_CONTEXTS() 131 draw_paint_with_dmsaa(sdc.get(), kTransYellow, SkBlendMode::kDarken); in DEF_GPUTEST_FOR_CONTEXTS() 134 draw_paint_with_dmsaa(sdc.get(), kTransCya in DEF_GPUTEST_FOR_CONTEXTS() [all...] |
H A D | GrMipMappedTest.cpp | 81 auto device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 93 proxy = sk_ref_sp(sk_gpu_test::GetTextureImageProxy(image.get(), dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 138 GrTextureProxy* proxy = sk_gpu_test::GetTextureImageProxy(image.get(), dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 205 ERRORF(reporter, "Failed to get GrGLTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 221 ERRORF(reporter, "Failed to get GrVkImageInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 237 ERRORF(reporter, "Failed to get GrMtlTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 255 ERRORF(reporter, "Failed to get GrMtlTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 273 ERRORF(reporter, "Failed to get GrDawnTextureInfo"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 315 auto device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 326 texProxy = sk_gpu_test::GetTextureImageProxy(image.get(), dContex in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
H A D | AVRInstrInfo.cpp | 52 BuildMI(MBB, MI, DL, get(AVR::MOVWRdRr), DestReg) in copyPhysReg() 61 BuildMI(MBB, MI, DL, get(AVR::MOVRdRr), DestLo) in copyPhysReg() 63 BuildMI(MBB, MI, DL, get(AVR::MOVRdRr), DestHi) in copyPhysReg() 77 BuildMI(MBB, MI, DL, get(Opc), DestReg) in copyPhysReg() 152 BuildMI(MBB, MI, DL, get(Opcode)) in storeRegToStackSlot() 188 BuildMI(MBB, MI, DL, get(Opcode), DestReg) in loadRegFromStackSlot() 199 return get(AVR::BREQk); in getBrCond() 201 return get(AVR::BRNEk); in getBrCond() 203 return get(AVR::BRGEk); in getBrCond() 205 return get(AV in getBrCond() [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | castable_test.cc | 104 EXPECT_EQ(a, frog.get()); in TEST() 145 ASSERT_EQ(frog->As<Animal>(), static_cast<Animal*>(frog.get())); in TEST() 146 ASSERT_EQ(bear->As<Animal>(), static_cast<Animal*>(bear.get())); in TEST() 147 ASSERT_EQ(gecko->As<Animal>(), static_cast<Animal*>(gecko.get())); in TEST() 149 ASSERT_EQ(frog->As<Amphibian>(), static_cast<Amphibian*>(frog.get())); in TEST() 154 ASSERT_EQ(bear->As<Mammal>(), static_cast<Mammal*>(bear.get())); in TEST() 159 ASSERT_EQ(gecko->As<Reptile>(), static_cast<Reptile*>(gecko.get())); in TEST() 170 static_cast<Animal*>(frog.get())); in TEST() 172 static_cast<Animal*>(bear.get())); in TEST() 174 static_cast<Animal*>(gecko.get())); in TEST() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_unmarshal_thread_test.cpp | 70 bool success = data->WriteParcelable(transactionData.get()); in HWTEST_F() 92 bool success = data->WriteParcelable(transactionData.get()); in HWTEST_F() 114 ASSERT_EQ(instance.ReportTransactionDataStatistics(callingPid, transactionData.get(), !isSystemCall), false); in HWTEST_F() 115 ASSERT_EQ(instance.ReportTransactionDataStatistics(callingPid, transactionData.get(), !isSystemCall), false); in HWTEST_F() 116 ASSERT_EQ(instance.ReportTransactionDataStatistics(callingPid, transactionData.get(), !isSystemCall), false); in HWTEST_F() 119 ASSERT_EQ(instance.ReportTransactionDataStatistics(callingPid, transactionData.get(), isSystemCall), false); in HWTEST_F() 120 ASSERT_EQ(instance.ReportTransactionDataStatistics(callingPid, transactionData.get(), isSystemCall), false); in HWTEST_F() 121 ASSERT_EQ(instance.ReportTransactionDataStatistics(callingPid, transactionData.get(), isSystemCall), false); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | draw_textblob_test.cpp | 31 canvas->DrawTextBlob(textblob.get(), 100, 100); // Screen coordinates(100, 100) in OnTestFunction() 38 canvas->DrawTextBlob(textblob.get(), 100, 200); // Screen coordinates(100, 200) in OnTestFunction() 45 canvas->DrawTextBlob(textblob.get(), 300, 100); // Screen coordinates(300, 100) in OnTestFunction() 50 canvas->DrawTextBlob(textblob.get(), 300, 200); // Screen coordinates(300, 200) in OnTestFunction() 58 canvas->DrawTextBlob(textblob.get(), 500, 100); // Screen coordinates(500, 100) in OnTestFunction() 66 canvas->DrawTextBlob(textblob.get(), 500, 200); // Screen coordinates(500, 200) in OnTestFunction() 77 canvas->DrawTextBlob(textblob.get(), 500, 300); // Screen coordinates(500, 300) in OnTestFunction() 96 canvas->DrawTextBlob(textblob.get(), 300, 200); // Screen coordinates(300, 200) in OnTestPerformance()
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | resource_application_record.cpp | 99 this->uid_ = value.at("uid").get<int32_t>();
in ParseFromJson() 100 this->pid_ = value.at("pid").get<int32_t>();
in ParseFromJson() 101 this->bundleName_ = value.at("bundleName").get<std::string>();
in ParseFromJson() 102 this->resourceNumber_ = value.at("resourceNumber").get<uint32_t>();
in ParseFromJson() 118 uint32_t resourceIndex = persistTime.at("resourceIndex").get<uint32_t>();
in ParseFromJson() 119 bool isPersist_ = persistTime.at("isPersist").get<bool>();
in ParseFromJson() 120 int64_t endTime_ = persistTime.at("endTime").get<int64_t>();
in ParseFromJson() 121 std::string reason_ = persistTime.at("reason").get<std::string>();
in ParseFromJson()
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | allow_record.cpp | 51 uint32_t allowTypeIndex = persistTime.at("allowTypeIndex").get<uint32_t>(); in setAllowTime() 52 int64_t endTime_ = persistTime.at("endTime").get<int64_t>(); in setAllowTime() 53 std::string reason_ = persistTime.at("reason").get<std::string>(); in setAllowTime() 70 this->uid_ = value.at("uid").get<int32_t>(); in setAllowRecordField() 71 this->pid_ = value.at("pid").get<int32_t>(); in setAllowRecordField() 72 this->name_ = value.at("name").get<std::string>(); in setAllowRecordField() 73 this->allowType_ = value.at("allowType").get<uint32_t>(); in setAllowRecordField() 74 this->reasonCode_ = value.at("reasonCode").get<uint32_t>(); in setAllowRecordField()
|
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | video_param.cpp | 129 const uint32_t screenWidth = j[KEY_SCREEN_WIDTH].get<uint32_t>(); in from_json() 130 const uint32_t screenHeight = j[KEY_SCREEN_HEIGHT].get<uint32_t>(); in from_json() 131 const uint32_t videoWidth = j[KEY_VIDEO_WIDTH].get<uint32_t>(); in from_json() 132 const uint32_t videoHeight = j[KEY_VIDEO_HEIGHT].get<uint32_t>(); in from_json() 148 videoParam.fps_ = j[KEY_FPS].get<double>(); in from_json() 149 videoParam.codecType_ = j[KEY_CODECTYPE].get<uint8_t>(); in from_json() 150 videoParam.videoFormat_ = j[KEY_COLOR_FORMAT].get<uint8_t>(); in from_json() 153 videoParam.isPartialRefresh_ = j[KEY_PARTIALREFRESH].get<bool>(); in from_json()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | randomAccessFile_impl.cpp | 41 int ret = uv_fs_write(nullptr, write_req.get(), fd, &iov, 1, offset, nullptr); in DoWriteRAF() 53 int ret = uv_fs_read(nullptr, read_req.get(), fd, &iov, 1, offset, nullptr); in DoReadRAF() 63 LOGI("start get fs in cpp"); in GetFd() 68 if (entity_->fd.get() == nullptr) { in GetFd() 69 LOGE("Failed to get fd."); in GetFd() 72 return entity_->fd.get()->GetFD(); in GetFd() 91 int ret = uv_fs_close(nullptr, close_req.get(), entity_->fd.get()->GetFD(), nullptr); in CloseSync() 101 int writeCode = DoWriteRAF(buf, len, entity_->fd.get()->GetFD(), newOffset); in WriteSync() 112 int readCode = DoReadRAF(buf, len, entity_->fd.get() in ReadSync() [all...] |
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/buildtools/ |
H A D | GenerateTimeZonesMapDataTest.java | 48 assertEquals(PARIS_TZ, result.get(331)); in testParseTextFile() 49 assertEquals(BRUSSELS_TZ, result.get(322)); in testParseTextFile() 55 assertEquals(PARIS_TZ, result.get(331)); in testParseTextFileIgnoresComments() 56 assertEquals(BRUSSELS_TZ, result.get(322)); in testParseTextFileIgnoresComments() 62 assertEquals(PARIS_TZ, result.get(331)); in testParseTextFileIgnoresBlankLines() 63 assertEquals(BRUSSELS_TZ, result.get(322)); in testParseTextFileIgnoresBlankLines() 70 assertEquals(PARIS_TZ, result.get(331)); in testParseTextFileIgnoresTrailingWhitespaces() 71 assertEquals(BRUSSELS_TZ, result.get(322)); in testParseTextFileIgnoresTrailingWhitespaces()
|
/third_party/node/lib/internal/webstreams/ |
H A D | encoding.js | 104 get encoding() { 114 get readable() { 124 get writable() { 171 get encoding() { 181 get fatal() { 191 get ignoreBOM() { 201 get readable() { 211 get writable() {
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | compile_commands_json.py | 45 output_dir = params["generator_flags"].get("output_dir", "out") 53 cflags = configuration.get("cflags", []) 54 cflags_c = configuration.get("cflags_c", []) 55 cflags_cc = configuration.get("cflags_cc", []) 60 defines = configuration.get("defines", []) 65 sources = [s for s in target.get("sources", []) if s.endswith(extensions)] 71 include_dirs = configuration.get("include_dirs", []) 111 output_dir = params["generator_flags"].get("output_dir", "out")
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | compile_commands_json.py | 45 output_dir = params["generator_flags"].get("output_dir", "out") 53 cflags = configuration.get("cflags", []) 54 cflags_c = configuration.get("cflags_c", []) 55 cflags_cc = configuration.get("cflags_cc", []) 60 defines = configuration.get("defines", []) 65 sources = [s for s in target.get("sources", []) if s.endswith(extensions)] 71 include_dirs = configuration.get("include_dirs", []) 114 output_dir = params["generator_flags"].get("output_dir", "out")
|
/third_party/mesa3d/src/util/ |
H A D | driconf_static.py | 48 self.executable = xml.attrib.get('executable', None) 49 self.executable_regexp = xml.attrib.get('executable_regexp', None) 50 self.sha1 = xml.attrib.get('sha1', None) 51 self.application_name_match = xml.attrib.get('application_name_match', None) 52 self.application_versions = xml.attrib.get('application_versions', None) 62 self.engine_versions = xml.attrib.get('engine_versions', None) 71 self.driver = xml.attrib.get('driver', None) 72 self.device = xml.attrib.get('device', None)
|
/third_party/skia/src/gpu/ |
H A D | GrDirectContextPriv.h | 38 GrStrikeCache* getGrStrikeCache() { return this->context()->fStrikeCache.get(); } in getGrStrikeCache() 78 SkTaskGroup* getTaskGroup() { return this->context()->fTaskGroup.get(); } in getTaskGroup() 80 GrResourceProvider* resourceProvider() { return this->context()->fResourceProvider.get(); } in resourceProvider() 82 return this->context()->fResourceProvider.get(); in resourceProvider() 85 GrResourceCache* getResourceCache() { return this->context()->fResourceCache.get(); } in getResourceCache() 87 GrGpu* getGpu() { return this->context()->fGpu.get(); } in getGpu() 88 const GrGpu* getGpu() const { return this->context()->fGpu.get(); } in getGpu() 111 return this->context()->fMappedBufferManager.get(); in clientMappedBufferManager()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | ASTC_Decoder.cpp | 115 init_block_size_descriptor(xBlockSize, yBlockSize, zBlockSize, bsd.get()); in Decode() 125 physical_to_symbolic(bsd.get(), *(physical_compressed_block *)source, scb.get()); in Decode() 126 decompress_symbolic_block(decode_mode, bsd.get(), x * xBlockSize, y * yBlockSize, z * zBlockSize, scb.get(), ib.get()); in Decode() 127 write_imageblock(dest, ib.get(), destWidth, destHeight, destDepth, bytes, destPitchB, destSliceB, isUnsignedByte, in Decode() 133 term_block_size_descriptor(bsd.get()); in Decode()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-null.hh | 163 static Type & get () { return Crap (Type); } in get() function 167 static const Type & get () { return Null (Type); } in get() function 169 #define CrapOrNull(Type) CrapOrNullHelper<Type>::get () 183 T * operator -> () const { return get (); } in operator ->() 184 T & operator * () const { return *get (); } in operator *() 187 template <typename C> operator const C * () const { return get (); } in operator const C *() 188 operator const char * () const { return (const char *) get (); } in operator const char *() 189 T * get () const { return v ? v : const_cast<T *> (&Null (T)); } in get() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | thread_test.cpp | 115 EXPECT_EQ(policy->get(0, allocator).count(), 1U); in TEST_F() 116 EXPECT_EQ(policy->get(0, allocator)[0].pthread.index, 10); in TEST_F() 117 EXPECT_EQ(policy->get(1, allocator).count(), 1U); in TEST_F() 118 EXPECT_EQ(policy->get(1, allocator)[0].pthread.index, 20); in TEST_F() 119 EXPECT_EQ(policy->get(2, allocator).count(), 1U); in TEST_F() 120 EXPECT_EQ(policy->get(2, allocator)[0].pthread.index, 30); in TEST_F() 121 EXPECT_EQ(policy->get(3, allocator).count(), 1U); in TEST_F() 122 EXPECT_EQ(policy->get(3, allocator)[0].pthread.index, 40); in TEST_F()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | derivedClassOverridesProtectedMembers.js | 8 protected get c() { return x; } 14 protected static get t() { return x; } 24 protected get c() { return y; } 30 protected static get t() { return y; } 61 get: function () { return x; },
68 get: function () { return x; },
82 get: function () { return y; },
89 get: function () { return y; },
|
H A D | derivedGenericClassWithAny.js | 4 get X(): T { return null; } 12 get X(): any { 20 static get Y(): any { 31 get X(): T { return ''; } // error 65 get: function () { return null; },
80 get: function () {
90 get: function () {
108 get: function () { return ''; } // error
|
/third_party/python/Lib/wsgiref/ |
H A D | util.py | 32 if environ.get("HTTPS") in ('yes','on','1'): 42 if environ.get('HTTP_HOST'): 54 url += quote(environ.get('SCRIPT_NAME') or '/', encoding='latin1') 61 path_info = quote(environ.get('PATH_INFO',''), safe='/;=,', encoding='latin1') 62 if not environ.get('SCRIPT_NAME'): 66 if include_query and environ.get('QUERY_STRING'): 83 path_info = environ.get('PATH_INFO','') 92 script_name = environ.get('SCRIPT_NAME','') 102 # Special case: '/.' on PATH_INFO doesn't get stripped,
|
/third_party/skia/include/ports/ |
H A D | SkCFObject.h | 48 sk_cfp(const sk_cfp<T>& that) : fObject(SkCFSafeRetain(that.get())) {} in sk_cfp() 82 this->reset(SkCFSafeRetain(that.get())); in operator =() 97 explicit operator bool() const { return this->get() != nil; } in operator bool() 99 T get() const { return fObject; } in get() function in sk_cfp 145 return a.get() == b.get(); in operator ==() 158 return a.get() != b.get(); in operator !=()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deUniquePtr.cpp | 82 DE_TEST_ASSERT(ptr.get() != DE_NULL); in UniquePtr_selfTest() 94 DE_TEST_ASSERT(ptr.get() != DE_NULL); in UniquePtr_selfTest() 107 bool test = (UniquePtr<Object>(new Object(exists))).get() != DE_NULL && exists; in UniquePtr_selfTest() 120 DE_TEST_ASSERT(ptr.get() != DE_NULL); in UniquePtr_selfTest() 181 DE_TEST_ASSERT(ptr1.get() == DE_NULL); in UniquePtr_selfTest() 194 DE_TEST_ASSERT(ptr1.get() == DE_NULL); in UniquePtr_selfTest() 198 DE_TEST_ASSERT(ptr1.get() != DE_NULL); in UniquePtr_selfTest() 199 DE_TEST_ASSERT(ptr2.get() == DE_NULL); in UniquePtr_selfTest()
|
/third_party/json/docs/examples/ |
H A D | get__PointerType.cpp | 12 auto p1 = value.get<const json::number_integer_t*>(); in main() 13 auto p2 = value.get<json::number_integer_t*>(); in main() 14 auto p3 = value.get<json::number_integer_t* const>(); in main() 15 auto p4 = value.get<const json::number_integer_t* const>(); in main() 16 auto p5 = value.get<json::number_float_t*>(); in main()
|