/external/skia/ |
D | Android.bp | 1957 "gm/3d.cpp", 1958 "gm/aaa.cpp", 1959 "gm/aaclip.cpp", 1960 "gm/aarecteffect.cpp", 1961 "gm/aarectmodes.cpp", 1962 "gm/aaxfermodes.cpp", 1963 "gm/addarc.cpp", 1964 "gm/all_bitmap_configs.cpp", 1965 "gm/alpha_image.cpp", 1966 "gm/alphagradients.cpp", [all …]
|
/external/skqp/ |
D | Android.bp | 126 "gm/", 207 "gm/3dgm.cpp", 208 "gm/OverStroke.cpp", 209 "gm/aaa.cpp", 210 "gm/aaclip.cpp", 211 "gm/aarectmodes.cpp", 212 "gm/aaxfermodes.cpp", 213 "gm/addarc.cpp", 214 "gm/all_bitmap_configs.cpp", 215 "gm/alpha_image.cpp", [all …]
|
/external/libaom/libaom/av1/common/ |
D | mv.h | 259 static INLINE int_mv gm_get_motion_vector(const WarpedMotionParams *gm, in gm_get_motion_vector() argument 265 if (gm->wmtype == IDENTITY) { in gm_get_motion_vector() 270 const int32_t *mat = gm->wmmat; in gm_get_motion_vector() 273 if (gm->wmtype == TRANSLATION) { in gm_get_motion_vector() 283 res.as_mv.row = gm->wmmat[0] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector() 284 res.as_mv.col = gm->wmmat[1] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector() 295 if (gm->wmtype == ROTZOOM) { in gm_get_motion_vector() 296 assert(gm->wmmat[5] == gm->wmmat[2]); in gm_get_motion_vector() 297 assert(gm->wmmat[4] == -gm->wmmat[3]); in gm_get_motion_vector() 316 static INLINE TransformationType get_wmtype(const WarpedMotionParams *gm) { in get_wmtype() argument [all …]
|
/external/crosvm/devices/src/usb/xhci/ |
D | ring_buffer.rs | 157 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in ring_test_dequeue() localVariable 158 let mut transfer_ring = RingBuffer::new(String::new(), gm.clone()); in ring_test_dequeue() 169 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in ring_test_dequeue() 173 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in ring_test_dequeue() 179 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in ring_test_dequeue() 183 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in ring_test_dequeue() 188 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in ring_test_dequeue() 192 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in ring_test_dequeue() 197 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in ring_test_dequeue() 202 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in ring_test_dequeue() [all …]
|
D | event_ring.rs | 221 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in test_uninited() localVariable 222 let mut er = EventRing::new(gm.clone()); in test_uninited() 235 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in test_event_ring() localVariable 236 let mut er = EventRing::new(gm.clone()); in test_event_ring() 244 gm.write_obj_at_addr(st_entries[0], GuestAddress(0x8)) in test_event_ring() 246 gm.write_obj_at_addr( in test_event_ring() 251 gm.write_obj_at_addr( in test_event_ring() 270 let t: Trb = gm.read_obj_from_addr(GuestAddress(0x100)).unwrap(); in test_event_ring() 278 let t: Trb = gm in test_event_ring() 288 let t: Trb = gm in test_event_ring() [all …]
|
D | ring_buffer_controller.rs | 266 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in setup_mem() localVariable 277 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in setup_mem() 281 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in setup_mem() 287 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in setup_mem() 291 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in setup_mem() 296 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in setup_mem() 300 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in setup_mem() 305 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in setup_mem() 310 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in setup_mem() 314 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in setup_mem() [all …]
|
/external/crosvm/kernel_loader/src/ |
D | lib.rs | 193 let gm = create_guest_mem(); in cmdline_overflow() localVariable 198 &gm, in cmdline_overflow() 207 let gm = create_guest_mem(); in cmdline_write_end() localVariable 212 &gm, in cmdline_write_end() 217 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end() 220 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end() 223 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end() 226 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end() 229 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end() 251 let gm = create_guest_mem(); in load_elf() localVariable [all …]
|
/external/skqp/tools/skqp/ |
D | jitter_gms.cpp | 38 static void do_gm(SkBitmap* bm, skiagm::GM* gm, SkPoint jitter) { in do_gm() argument 40 SkASSERT(gm); in do_gm() 41 SkASSERT(bm->dimensions() == gm->getISize()); in do_gm() 46 gm->draw(&canvas); in do_gm() 51 static bool test_jitter(skiagm::GM* gm) { in test_jitter() argument 52 SkASSERT(gm); in test_jitter() 53 SkISize size = gm->getISize(); in test_jitter() 57 do_gm(&control, gm, {0, 0}); in test_jitter() 60 do_gm(&experimental, gm, SkPoint{kJitterMagnitude * cosf(angle), in test_jitter() 118 std::unique_ptr<skiagm::GM> gm(factory(nullptr)); in main() local [all …]
|
/external/skia/tools/skqp/ |
D | jitter_gms.cpp | 46 static void do_gm(SkBitmap* bm, skiagm::GM* gm, SkPoint jitter) { in do_gm() argument 48 SkASSERT(gm); in do_gm() 49 SkASSERT(bm->dimensions() == gm->getISize()); in do_gm() 54 gm->draw(&canvas); in do_gm() 59 static bool test_jitter(skiagm::GM* gm) { in test_jitter() argument 60 SkASSERT(gm); in test_jitter() 61 SkISize size = gm->getISize(); in test_jitter() 65 do_gm(&control, gm, {0, 0}); in test_jitter() 68 do_gm(&experimental, gm, SkPoint{kJitterMagnitude * cosf(angle), in test_jitter() 126 std::unique_ptr<skiagm::GM> gm(factory()); in main() local [all …]
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 761 let gm = GuestMemory::new(&[(start_addr1, 0x2000), (start_addr2, 0x2000)]).unwrap(); in region_hole() localVariable 762 assert_eq!(gm.address_in_range(GuestAddress(0x1000)), true); in region_hole() 763 assert_eq!(gm.address_in_range(GuestAddress(0x3000)), false); in region_hole() 764 assert_eq!(gm.address_in_range(GuestAddress(0x5000)), true); in region_hole() 765 assert_eq!(gm.address_in_range(GuestAddress(0x6000)), false); in region_hole() 766 assert_eq!(gm.address_in_range(GuestAddress(0x6000)), false); in region_hole() 768 gm.range_overlap(GuestAddress(0x1000), GuestAddress(0x3000)), in region_hole() 772 gm.range_overlap(GuestAddress(0x3000), GuestAddress(0x4000)), in region_hole() 776 gm.range_overlap(GuestAddress(0x3000), GuestAddress(0x7000)), in region_hole() 779 assert!(gm.checked_offset(GuestAddress(0x1000), 0x1000).is_none()); in region_hole() [all …]
|
/external/mesa3d/src/util/ |
D | format_rgb9e5.h | 62 int rm, gm, bm, exp_shared; in float3_to_rgb9e5() local 91 gm = (int) (gc.f * revdenom.f); in float3_to_rgb9e5() 94 gm = (gm & 1) + (gm >> 1); in float3_to_rgb9e5() 98 assert(gm <= MAX_RGB9E5_MANTISSA); in float3_to_rgb9e5() 101 assert(gm >= 0); in float3_to_rgb9e5() 104 return (exp_shared << 27) | (bm << 18) | (gm << 9) | rm; in float3_to_rgb9e5()
|
/external/mesa3d/src/gallium/frontends/wgl/ |
D | stw_wgl.c | 235 GLYPHMETRICS gm; in wglUseFontBitmapsW() local 253 DWORD size = GetGlyphOutline(hdc, first + i, GGO_BITMAP, &gm, 0, in wglUseFontBitmapsW() 260 glBitmap(0, 0, (GLfloat)-gm.gmptGlyphOrigin.x, in wglUseFontBitmapsW() 261 (GLfloat)gm.gmptGlyphOrigin.y, in wglUseFontBitmapsW() 262 (GLfloat)gm.gmCellIncX, in wglUseFontBitmapsW() 263 (GLfloat)gm.gmCellIncY, NULL); in wglUseFontBitmapsW() 267 size = GetGlyphOutline(hdc, first + i, GGO_BITMAP, &gm, in wglUseFontBitmapsW() 270 glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY, in wglUseFontBitmapsW() 271 -gm.gmptGlyphOrigin.x, gm.gmptGlyphOrigin.y, in wglUseFontBitmapsW() 272 gm.gmCellIncX, gm.gmCellIncY, buffer); in wglUseFontBitmapsW()
|
/external/skia/fuzz/ |
D | FuzzGradients.cpp | 132 SkMatrix gm; in fuzzLinearGradient() local 133 makeMatrix(fuzz, &gm); in fuzzLinearGradient() 134 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient() 136 c->setMatrix(gm); in fuzzLinearGradient() 171 SkMatrix gm; in fuzzRadialGradient() local 172 makeMatrix(fuzz, &gm); in fuzzRadialGradient() 174 c->setMatrix(gm); in fuzzRadialGradient() 209 SkMatrix gm; in fuzzTwoPointConicalGradient() local 210 makeMatrix(fuzz, &gm); in fuzzTwoPointConicalGradient() 212 c->setMatrix(gm); in fuzzTwoPointConicalGradient() [all …]
|
/external/skqp/fuzz/ |
D | FuzzGradients.cpp | 130 SkMatrix gm; in fuzzLinearGradient() local 131 makeMatrix(fuzz, &gm); in fuzzLinearGradient() 132 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient() 134 c->setMatrix(gm); in fuzzLinearGradient() 169 SkMatrix gm; in fuzzRadialGradient() local 170 makeMatrix(fuzz, &gm); in fuzzRadialGradient() 172 c->setMatrix(gm); in fuzzRadialGradient() 207 SkMatrix gm; in fuzzTwoPointConicalGradient() local 208 makeMatrix(fuzz, &gm); in fuzzTwoPointConicalGradient() 210 c->setMatrix(gm); in fuzzTwoPointConicalGradient() [all …]
|
/external/skia/gm/verifiers/ |
D | gmverifier.cpp | 62 SkBitmap GMVerifier::RenderGoldBmp(skiagm::GM* gm, const SkColorInfo& colorInfo) { in RenderGoldBmp() argument 63 SkASSERT(gm); in RenderGoldBmp() 66 const SkISize size = gm->getISize(); in RenderGoldBmp() 71 if (gm->gpuSetup(nullptr, &canvas) == DrawResult::kOk) { in RenderGoldBmp() 72 gm->draw(&canvas); in RenderGoldBmp() 94 VerifierList::VerifierList(GM* gm) : fGM(gm), fFailedVerifier(nullptr) {} in VerifierList() argument
|
/external/skia/modules/canvaskit/ |
D | gm_bindings.cpp | 45 std::unique_ptr<skiagm::GM> gm(fact()); in ListGMs() local 46 SkDebugf("gm %s\n", gm->getName()); in ListGMs() 47 gms.call<void>("push", std::string(gm->getName())); in ListGMs() 54 std::unique_ptr<skiagm::GM> gm(fact()); in getGMWithName() local 55 if (gm->getName() == name) { in getGMWithName() 56 return gm; in getGMWithName() 115 auto gm = getGMWithName(name); in RunGM() local 116 if (!gm) { in RunGM() 124 SkISize size = gm->getISize(); in RunGM() 137 gm->onceBeforeDraw(); in RunGM() [all …]
|
/external/skia/tools/ |
D | list_gms.cpp | 18 std::unique_ptr<skiagm::GM> gm(factory()); in main() local 19 gms.push_back(std::string(gm->getName())); in main() 22 for (const std::string& gm : gms) { in main() local 23 std::cout << gm << '\n'; in main()
|
/external/skqp/tools/ |
D | list_gms.cpp | 18 std::unique_ptr<skiagm::GM> gm(factory(nullptr)); in main() local 19 gms.push_back(std::string(gm->getName())); in main() 22 for (const std::string& gm : gms) { in main() local 23 std::cout << gm << '\n'; in main()
|
/external/libxml2/result/schemas/ |
D | allsg_0_4.err | 1 …gm-A-1: Schemas validity error : Element '{urn:test:foo}gm-A-1': This element is not expected. Exp…
|
D | allsg_0_3.err | 1 …gm-B-1: Schemas validity error : Element '{urn:test:foo}gm-B-1': This element is not expected. Exp…
|
/external/crosvm/x86_64/src/ |
D | regs.rs | 366 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64() 368 gm.read_obj_from_addr(read_addr).unwrap() in read_u64() 374 let gm = create_guest_mem(); in segments_and_sregs() localVariable 375 configure_segments_and_sregs(&gm, &mut sregs).unwrap(); in segments_and_sregs() 377 assert_eq!(0x0, read_u64(&gm, BOOT_GDT_OFFSET)); in segments_and_sregs() 378 assert_eq!(0xaf9b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 8)); in segments_and_sregs() 379 assert_eq!(0xcf93000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 16)); in segments_and_sregs() 380 assert_eq!(0x8f8b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 24)); in segments_and_sregs() 381 assert_eq!(0x0, read_u64(&gm, BOOT_IDT_OFFSET)); in segments_and_sregs() 399 let gm = create_guest_mem(); in page_tables() localVariable [all …]
|
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQP.java | 18 protected native long nExecuteGM(int gm, int backend) throws SkQPException; in nExecuteGM() argument 49 for (int gm = 0; gm < mGMs.length; gm++) { in runTests() 50 String testName = kSkiaGM + mBackends[backend] + "_" +mGMs[gm]; in runTests() 55 value = this.nExecuteGM(gm, backend); in runTests()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 1716 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in create_vm() localVariable 1717 Vm::new(&kvm, gm).unwrap(); in create_vm() 1731 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in check_vm_extension() localVariable 1732 let vm = Vm::new(&kvm, gm).unwrap(); in check_vm_extension() 1765 let gm = GuestMemory::new(&vec![ in add_memory() localVariable 1770 let mut vm = Vm::new(&kvm, gm).unwrap(); in add_memory() 1783 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in add_memory_ro() localVariable 1784 let mut vm = Vm::new(&kvm, gm).unwrap(); in add_memory_ro() 1794 let gm = GuestMemory::new(&vec![(GuestAddress(0), 0x1000)]).unwrap(); in remove_memory_region() localVariable 1795 let mut vm = Vm::new(&kvm, gm).unwrap(); in remove_memory_region() [all …]
|
/external/crosvm/hypervisor/src/kvm/ |
D | mod.rs | 1196 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in create_vm() localVariable 1197 KvmVm::new(&kvm, gm).unwrap(); in create_vm() 1203 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in clone_vm() localVariable 1204 let vm = KvmVm::new(&kvm, gm).unwrap(); in clone_vm() 1211 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in send_vm() localVariable 1212 let vm = KvmVm::new(&kvm, gm).unwrap(); in send_vm() 1223 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in check_vm_capability() localVariable 1224 let vm = KvmVm::new(&kvm, gm).unwrap(); in check_vm_capability() 1233 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in create_vcpu() localVariable 1234 let vm = KvmVm::new(&kvm, gm).unwrap(); in create_vcpu() [all …]
|
/external/webrtc/examples/peerconnection/client/ |
D | main.cc | 117 BOOL gm; in wWinMain() local 118 while ((gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) { in wWinMain() 127 (gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) { in wWinMain()
|