Home
last modified time | relevance | path

Searched refs:gm (Results 1 – 25 of 151) sorted by relevance

1234567

/external/skia/
DAndroid.bp1971 "gm/3d.cpp",
1972 "gm/aaa.cpp",
1973 "gm/aaclip.cpp",
1974 "gm/aarecteffect.cpp",
1975 "gm/aarectmodes.cpp",
1976 "gm/aaxfermodes.cpp",
1977 "gm/addarc.cpp",
1978 "gm/all_bitmap_configs.cpp",
1979 "gm/alpha_image.cpp",
1980 "gm/alphagradients.cpp",
[all …]
/external/crosvm/kvm/tests/
Dkvm_tests.rs57 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in create_vm() localVariable
58 Vm::new(&kvm, gm).unwrap(); in create_vm()
72 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in check_vm_extension() localVariable
73 let vm = Vm::new(&kvm, gm).unwrap(); in check_vm_extension()
106 let gm = in add_memory() localVariable
108 let mut vm = Vm::new(&kvm, gm).unwrap(); in add_memory()
121 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in add_memory_ro() localVariable
122 let mut vm = Vm::new(&kvm, gm).unwrap(); in add_memory_ro()
132 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in remove_memory_region() localVariable
133 let mut vm = Vm::new(&kvm, gm).unwrap(); in remove_memory_region()
[all …]
/external/crosvm/hypervisor/tests/kvm/
Dmain.rs62 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in create_vm() localVariable
63 KvmVm::new(&kvm, gm, Default::default()).unwrap(); in create_vm()
69 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in clone_vm() localVariable
70 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in clone_vm()
77 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in send_vm() localVariable
78 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in send_vm()
89 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in check_vm_capability() localVariable
90 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in check_vm_capability()
99 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in create_vcpu() localVariable
100 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in create_vcpu()
[all …]
Dx86_64.rs69 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in check_vm_arch_capability() localVariable
70 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in check_vm_arch_capability()
245 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in clock_handling() localVariable
246 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in clock_handling()
255 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in set_gsi_routing() localVariable
256 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in set_gsi_routing()
297 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in set_identity_map_addr() localVariable
298 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in set_identity_map_addr()
305 let gm = GuestMemory::new(&[(GuestAddress(0), 0x10000)]).unwrap(); in mp_state() localVariable
306 let vm = KvmVm::new(&kvm, gm, Default::default()).unwrap(); in mp_state()
[all …]
/external/libaom/av1/common/
Dmv.h249 static INLINE int_mv gm_get_motion_vector(const WarpedMotionParams *gm, in gm_get_motion_vector() argument
255 if (gm->wmtype == IDENTITY) { in gm_get_motion_vector()
260 const int32_t *mat = gm->wmmat; in gm_get_motion_vector()
263 if (gm->wmtype == TRANSLATION) { in gm_get_motion_vector()
284 res.as_mv.row = gm->wmmat[0] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
285 res.as_mv.col = gm->wmmat[1] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
296 if (gm->wmtype == ROTZOOM) { in gm_get_motion_vector()
297 assert(gm->wmmat[5] == gm->wmmat[2]); in gm_get_motion_vector()
298 assert(gm->wmmat[4] == -gm->wmmat[3]); in gm_get_motion_vector()
317 static INLINE TransformationType get_wmtype(const WarpedMotionParams *gm) { in get_wmtype() argument
[all …]
/external/crosvm/devices/src/usb/xhci/
Dring_buffer.rs160 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in ring_test_dequeue() localVariable
161 let mut transfer_ring = RingBuffer::new(String::new(), gm.clone()); in ring_test_dequeue()
172 gm.write_obj_at_addr(trb, GuestAddress(0x100)).unwrap(); in ring_test_dequeue()
175 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in ring_test_dequeue()
181 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in ring_test_dequeue()
185 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in ring_test_dequeue()
190 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in ring_test_dequeue()
194 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in ring_test_dequeue()
199 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in ring_test_dequeue()
204 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in ring_test_dequeue()
[all …]
Devent_ring.rs219 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in test_uninited() localVariable
220 let mut er = EventRing::new(gm); in test_uninited()
233 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in test_event_ring() localVariable
234 let mut er = EventRing::new(gm.clone()); in test_event_ring()
242 gm.write_obj_at_addr(st_entries[0], GuestAddress(0x8)) in test_event_ring()
244 gm.write_obj_at_addr( in test_event_ring()
249 gm.write_obj_at_addr( in test_event_ring()
268 let t: Trb = gm.read_obj_from_addr(GuestAddress(0x100)).unwrap(); in test_event_ring()
276 let t: Trb = gm in test_event_ring()
286 let t: Trb = gm in test_event_ring()
[all …]
Dring_buffer_controller.rs257 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in setup_mem() localVariable
268 gm.write_obj_at_addr(trb, GuestAddress(0x100)).unwrap(); in setup_mem()
271 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in setup_mem()
277 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in setup_mem()
281 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in setup_mem()
286 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in setup_mem()
290 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in setup_mem()
295 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in setup_mem()
300 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in setup_mem()
304 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in setup_mem()
[all …]
Dscatter_gather_buffer.rs154 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in scatter_gather_buffer_test() localVariable
181 let buffer = ScatterGatherBuffer::new(gm.clone(), td).unwrap(); in scatter_gather_buffer_test()
188 gm.read_exact_at_addr(&mut d, GuestAddress(0x100)).unwrap(); in scatter_gather_buffer_test()
190 gm.read_exact_at_addr(&mut d, GuestAddress(0x200)).unwrap(); in scatter_gather_buffer_test()
192 gm.read_exact_at_addr(&mut d, GuestAddress(0x300)).unwrap(); in scatter_gather_buffer_test()
202 let gm = GuestMemory::new(&[(GuestAddress(0), 0x1000)]).unwrap(); in immediate_data_test() localVariable
215 gm.write_obj_at_addr(trb, GuestAddress(0xc00)).unwrap(); in immediate_data_test()
217 let buffer = ScatterGatherBuffer::new(gm, td).unwrap(); in immediate_data_test()
/external/tcpdump/tests/
Dptp_ethernet.out3 … :0, rsvd : 172, gm priority_1 : 128, gm clock class : 248, gm clock accuracy : 254, gm clock vari…
8 … :0, rsvd : 172, gm priority_1 : 128, gm clock class : 248, gm clock accuracy : 254, gm clock vari…
15 … :0, rsvd : 172, gm priority_1 : 128, gm clock class : 248, gm clock accuracy : 254, gm clock vari…
22 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
27 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
32 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
37 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
44 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
49 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
56 …tc :0, rsvd : 172, gm priority_1 : 0, gm clock class : 248, gm clock accuracy : 48, gm clock varia…
[all …]
Dptp.out3 …c :36, rsvd : 0, gm priority_1 : 128, gm clock class : 248, gm clock accuracy : 254, gm clock vari…
/external/mesa3d/src/util/
Dformat_rgb9e5.h62 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/crosvm/kernel_loader/src/
Dlib.rs422 let gm = create_guest_mem(); in cmdline_overflow() localVariable
427 &gm, in cmdline_overflow()
436 let gm = create_guest_mem(); in cmdline_write_end() localVariable
441 &gm, in cmdline_write_end()
446 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
449 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
452 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
455 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
458 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
491 let gm = create_guest_mem(); in load_elf32() localVariable
[all …]
Darm64.rs152 let gm = create_guest_mem(); in load_arm64_valid() localVariable
155 let kernel = load_arm64_kernel(&gm, kernel_addr, &mut f).unwrap(); in load_arm64_valid()
164 let gm = create_guest_mem(); in load_arm64_image_size_zero() localVariable
171 let kernel = load_arm64_kernel(&gm, kernel_addr, &mut f).unwrap(); in load_arm64_image_size_zero()
180 let gm = create_guest_mem(); in load_arm64_bad_magic() localVariable
188 load_arm64_kernel(&gm, kernel_addr, &mut f), in load_arm64_bad_magic()
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_wgl.c235 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/crosvm/vm_memory/src/
Dguest_memory.rs1025 let gm = GuestMemory::new(&[(start_addr1, 0x10000), (start_addr2, 0x10000)]).unwrap(); in two_regions() localVariable
1029 assert!(gm.is_valid_range(GuestAddress(0x5000), 0x5000)); in two_regions()
1030 assert!(gm.is_valid_range(GuestAddress(0x10000), 0x5000)); in two_regions()
1031 assert!(!gm.is_valid_range(GuestAddress(0x5000), 0x10000)); in two_regions()
1046 let gm = GuestMemory::new(&[(start_addr1, 0x20000), (start_addr2, 0x20000)]).unwrap(); in region_hole() localVariable
1048 assert!(gm.address_in_range(GuestAddress(0x10000))); in region_hole()
1049 assert!(!gm.address_in_range(GuestAddress(0x30000))); in region_hole()
1050 assert!(gm.address_in_range(GuestAddress(0x50000))); in region_hole()
1051 assert!(!gm.address_in_range(GuestAddress(0x60000))); in region_hole()
1052 assert!(!gm.address_in_range(GuestAddress(0x60000))); in region_hole()
[all …]
/external/skia/fuzz/
DFuzzGradients.cpp129 SkMatrix gm; in fuzzLinearGradient() local
130 makeMatrix(fuzz, &gm); in fuzzLinearGradient()
131 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient()
133 c->setMatrix(gm); in fuzzLinearGradient()
168 SkMatrix gm; in fuzzRadialGradient() local
169 makeMatrix(fuzz, &gm); in fuzzRadialGradient()
171 c->setMatrix(gm); in fuzzRadialGradient()
206 SkMatrix gm; in fuzzTwoPointConicalGradient() local
207 makeMatrix(fuzz, &gm); in fuzzTwoPointConicalGradient()
209 c->setMatrix(gm); in fuzzTwoPointConicalGradient()
[all …]
/external/crosvm/x86_64/src/
Dregs.rs335 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64()
337 gm.read_obj_from_addr(read_addr).unwrap() in read_u64()
343 let gm = create_guest_mem(); in segments_and_sregs() localVariable
344 configure_segments_and_sregs(&gm, &mut sregs).unwrap(); in segments_and_sregs()
346 assert_eq!(0x0, read_u64(&gm, BOOT_GDT_OFFSET)); in segments_and_sregs()
347 assert_eq!(0xaf9b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 8)); in segments_and_sregs()
348 assert_eq!(0xcf93000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 16)); in segments_and_sregs()
349 assert_eq!(0x8f8b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 24)); in segments_and_sregs()
350 assert_eq!(0x0, read_u64(&gm, BOOT_IDT_OFFSET)); in segments_and_sregs()
368 let gm = create_guest_mem(); in page_tables() localVariable
[all …]
/external/skia/gm/verifiers/
Dgmverifier.cpp63 SkBitmap GMVerifier::RenderGoldBmp(skiagm::GM* gm, const SkColorInfo& colorInfo) { in RenderGoldBmp() argument
64 SkASSERT(gm); in RenderGoldBmp()
67 const SkISize size = gm->getISize(); in RenderGoldBmp()
72 if (gm->gpuSetup(&canvas) == DrawResult::kOk) { in RenderGoldBmp()
73 gm->draw(&canvas); in RenderGoldBmp()
95 VerifierList::VerifierList(GM* gm) : fGM(gm), fFailedVerifier(nullptr) {} in VerifierList() argument
/external/skia/modules/canvaskit/
Dgm_bindings.cpp46 std::unique_ptr<skiagm::GM> gm(fact()); in ListGMs() local
47 SkDebugf("gm %s\n", gm->getName()); in ListGMs()
48 gms.call<void>("push", std::string(gm->getName())); in ListGMs()
55 std::unique_ptr<skiagm::GM> gm(fact()); in getGMWithName() local
56 if (gm->getName() == name) { in getGMWithName()
57 return gm; in getGMWithName()
116 auto gm = getGMWithName(name); in RunGM() local
117 if (!gm) { in RunGM()
125 SkISize size = gm->getISize(); in RunGM()
135 gm->onceBeforeDraw(); in RunGM()
[all …]
/external/libxml2/result/schemas/
Dallsg_0_3.err1gm-B-1: Schemas validity error : Element '{urn:test:foo}gm-B-1': This element is not expected. Exp…
Dallsg_0_4.err1gm-A-1: Schemas validity error : Element '{urn:test:foo}gm-A-1': This element is not expected. Exp…
/external/skia/modules/canvaskit/tests/
Dcanvas_test.js17 gm('canvas_api_example', (canvas) => {
44 gm('effect_and_text_example', (canvas) => {
72 gm('patheffects_canvas', (canvas) => {
115 gm('circle_canvas', (canvas) => {
136 gm('rrect_canvas', (canvas) => {
162 gm('rrect_8corners_canvas', (canvas) => {
185 gm('rrect_8corners_malloc_canvas', (canvas) => {
211 gm('drawDRRect_canvas', (canvas) => {
230 gm('colorfilters_canvas', (canvas) => {
271 gm('blendmodes_canvas', (canvas) => {
[all …]
Dcore_test.js17 gm('picture_test', (canvas) => {
184 gm('drawDrawable_animated_gif', (canvas, fetchedByteBuffers) => {
218 gm('exif_orientation', (canvas, fetchedByteBuffers) => {
235 gm('1x4_from_scratch', (canvas) => {
270 gm('draw_atlas_with_builders', (canvas, fetchedByteBuffers) => {
313 gm('draw_atlas_with_arrays', (canvas, fetchedByteBuffers) => {
367 gm('draw_patch', (canvas, fetchedByteBuffers) => {
399 gm('draw_glyphs', (canvas) => {
420 gm('image_decoding_methods', async (canvas) => {
490 gm('sweep_gradient', (canvas) => {
[all …]
/external/webrtc/examples/peerconnection/client/
Dmain.cc113 BOOL gm; in wWinMain() local
114 while ((gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) { in wWinMain()
123 (gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) { in wWinMain()

1234567