Home
last modified time | relevance | path

Searched refs:demo (Results 1 - 25 of 74) sorted by relevance

123

/third_party/glfw/tests/
H A Dtriangle-vulkan.c152 struct demo { struct
266 static void demo_resize(struct demo *demo);
268 static bool memory_type_from_properties(struct demo *demo, uint32_t typeBits, in memory_type_from_properties() argument
276 if ((demo->memory_properties.memoryTypes[i].propertyFlags & in memory_type_from_properties()
288 static void demo_flush_init_cmd(struct demo *demo) { in demo_flush_init_cmd() argument
291 if (demo->setup_cmd == VK_NULL_HANDLE) in demo_flush_init_cmd()
294 err = vkEndCommandBuffer(demo in demo_flush_init_cmd()
319 demo_set_image_layout(struct demo *demo, VkImage image, VkImageAspectFlags aspectMask, VkImageLayout old_image_layout, VkImageLayout new_image_layout, VkAccessFlagBits srcAccessMask) demo_set_image_layout() argument
389 demo_draw_build_cmd(struct demo *demo) demo_draw_build_cmd() argument
485 demo_draw(struct demo *demo) demo_draw() argument
575 demo_prepare_buffers(struct demo *demo) demo_prepare_buffers() argument
733 demo_prepare_depth(struct demo *demo) demo_prepare_depth() argument
809 demo_prepare_texture_image(struct demo *demo, const uint32_t *tex_colors, struct texture_object *tex_obj, VkImageTiling tiling, VkImageUsageFlags usage, VkFlags required_props) demo_prepare_texture_image() argument
898 demo_destroy_texture_image(struct demo *demo, struct texture_object *tex_obj) demo_destroy_texture_image() argument
905 demo_prepare_textures(struct demo *demo) demo_prepare_textures() argument
1029 demo_prepare_vertices(struct demo *demo) demo_prepare_vertices() argument
1109 demo_prepare_descriptor_layout(struct demo *demo) demo_prepare_descriptor_layout() argument
1141 demo_prepare_render_pass(struct demo *demo) demo_prepare_render_pass() argument
1204 demo_prepare_shader_module(struct demo *demo, const void *code, size_t size) demo_prepare_shader_module() argument
1221 demo_prepare_vs(struct demo *demo) demo_prepare_vs() argument
1230 demo_prepare_fs(struct demo *demo) demo_prepare_fs() argument
1239 demo_prepare_pipeline(struct demo *demo) demo_prepare_pipeline() argument
1357 demo_prepare_descriptor_pool(struct demo *demo) demo_prepare_descriptor_pool() argument
1376 demo_prepare_descriptor_set(struct demo *demo) demo_prepare_descriptor_set() argument
1408 demo_prepare_framebuffers(struct demo *demo) demo_prepare_framebuffers() argument
1437 demo_prepare(struct demo *demo) demo_prepare() argument
1485 struct demo* demo = glfwGetWindowUserPointer(window); demo_refresh_callback() local
1490 struct demo* demo = glfwGetWindowUserPointer(window); demo_resize_callback() local
1496 demo_run(struct demo *demo) demo_run() argument
1517 demo_create_window(struct demo *demo) demo_create_window() argument
1562 demo_init_vk(struct demo *demo) demo_init_vk() argument
1832 demo_init_device(struct demo *demo) demo_init_device() argument
1866 demo_init_vk_swapchain(struct demo *demo) demo_init_vk_swapchain() argument
1961 demo_init_connection(struct demo *demo) demo_init_connection() argument
1979 demo_init(struct demo *demo, const int argc, const char *argv[]) demo_init() argument
2021 demo_cleanup(struct demo *demo) demo_cleanup() argument
2075 demo_resize(struct demo *demo) demo_resize() argument
2127 struct demo demo; main() local
[all...]
/third_party/typescript/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/
H A Dwith-simple-project-when-solution-is-already-built.js17 //// [/user/username/projects/demo/tsconfig-base.json]
32 //// [/user/username/projects/demo/core/utilities.ts]
45 //// [/user/username/projects/demo/core/tsconfig.json]
54 //// [/user/username/projects/demo/animals/animal.ts]
61 //// [/user/username/projects/demo/animals/dog.ts]
82 //// [/user/username/projects/demo/animals/index.ts]
90 //// [/user/username/projects/demo/animals/tsconfig.json]
103 //// [/user/username/projects/demo/lib/core/utilities.js]
119 //// [/user/username/projects/demo/lib/core/utilities.d.ts]
124 //// [/user/username/projects/demo/li
[all...]
/third_party/mbedtls/tests/scripts/
H A Drun_demos.py2 """Run the Mbed TLS demo scripts.
9 def run_demo(demo, quiet=False):
10 """Run the specified demo script. Return True if it succeeds."""
15 returncode = subprocess.call([demo], **args)
21 Return True if all demos passed and False if a demo fails.
24 for demo in demos:
26 print('#### {} ####'.format(demo))
27 success = run_demo(demo, quiet=quiet)
29 failures.append(demo)
31 print('{}: FAIL'.format(demo))
[all...]
/third_party/rust/crates/syn/examples/heapsize/example/src/
H A Dmain.rs12 let demo = Demo { in main()
22 demo.a.heap_size_of_children(), in main()
23 demo.b.heap_size_of_children(), in main()
24 demo.c.heap_size_of_children(), in main()
25 demo.d.heap_size_of_children(), in main()
26 demo.heap_size_of_children() in main()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/
H A DLauncher.java9 package com.ibm.icu.dev.demo;
25 import com.ibm.icu.dev.demo.impl.DemoApplet;
26 import com.ibm.icu.dev.demo.impl.DemoUtility;
40 public static final String demoBase = "com.ibm.icu.dev.demo";
55 public Button buttonList[] = new Button[demoList.length]; // one button for each demo
86 String demo = demoList[i]; in init()
87 Button b = new Button(demo); in init()
120 void showStatus(String demo, String status) { in showStatus() argument
121 showStatus(demo+": "+status); in showStatus()
130 void showFailure(String demo, Strin in showFailure() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_xxlimited.py43 self.assertEqual(xxo.demo("abc"), "abc")
52 self.assertEqual(xxo.demo("abc"), "abc")
53 self.assertEqual(xxo.demo(xxo), xxo)
54 self.assertEqual(xxo.demo(other), other)
55 self.assertEqual(xxo.demo(0), None)
79 self.assertEqual(xxo.demo("abc"), "abc")
80 self.assertEqual(xxo.demo(0), None)
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo_api10.cpp79 AVCodecE2EDemoAPI10 *demo = static_cast<AVCodecE2EDemoAPI10*>(userData); in OnDecInputDataAvailable() local
81 OH_AVDemuxer_ReadSample(demo->demuxer, demo->videoTrackID, data, &info); in OnDecInputDataAvailable()
104 AVCodecE2EDemoAPI10 *demo = static_cast<AVCodecE2EDemoAPI10*>(userData); in OnDecOutputDataAvailable() local
112 OH_VideoEncoder_NotifyEndOfStream(demo->enc); in OnDecOutputDataAvailable()
115 sortFrame(codec, index, attr->pts, demo->frameDuration); in OnDecOutputDataAvailable()
134 AVCodecE2EDemoAPI10 *demo = static_cast<AVCodecE2EDemoAPI10*>(userData); in OnEncOutputDataAvailable() local
136 demo->isFinish.store(true); in OnEncOutputDataAvailable()
137 demo->waitCond.notify_all(); in OnEncOutputDataAvailable()
140 OH_AVMuxer_WriteSample(demo in OnEncOutputDataAvailable()
[all...]
H A Davcodec_e2e_demo.cpp69 AVCodecE2EDemo *demo = static_cast<AVCodecE2EDemo*>(userData); in OnDecInputBufferAvailable() local
70 OH_AVDemuxer_ReadSampleBuffer(demo->demuxer, demo->videoTrackID, buffer); in OnDecInputBufferAvailable()
83 AVCodecE2EDemo *demo = static_cast<AVCodecE2EDemo*>(userData); in OnDecOutputBufferAvailable() local
87 OH_VideoEncoder_NotifyEndOfStream(demo->enc); in OnDecOutputBufferAvailable()
108 AVCodecE2EDemo *demo = static_cast<AVCodecE2EDemo*>(userData); in OnEncOutputBufferAvailable() local
112 demo->isFinish.store(true); in OnEncOutputBufferAvailable()
113 demo->waitCond.notify_all(); in OnEncOutputBufferAvailable()
116 OH_AVMuxer_WriteSampleBuffer(demo->muxer, demo in OnEncOutputBufferAvailable()
[all...]
/third_party/vixl/examples/aarch64/
H A Dgetting-started.cc51 Label demo; in main() local
52 masm.Bind(&demo); in main()
61 simulator.RunFrom(masm.GetLabelAddress<Instruction *>(&demo)); in main()
70 memory.GetEntryPoint<uint64_t (*)(uint64_t)>(demo); in main()
73 printf("native: demo(0x%" PRIx64 ") = 0x%" PRIx64 "\n", in main()
/third_party/libphonenumber/java/demo/src/main/java/com/google/phonenumbers/demo/render/
H A DInputFormRenderer.java19 package com.google.phonenumbers.demo.render;
21 import com.google.phonenumbers.demo.template.InputFormTemplates;
22 import com.google.phonenumbers.demo.template.InputFormTemplates.InputForm;
H A DErrorRenderer.java19 package com.google.phonenumbers.demo.render;
21 import com.google.phonenumbers.demo.template.ResultErrorTemplates;
22 import com.google.phonenumbers.demo.template.ResultErrorTemplates.Error;
H A DResultRenderer.java19 package com.google.phonenumbers.demo.render;
30 import com.google.phonenumbers.demo.helper.WebHelper;
31 import com.google.phonenumbers.demo.template.ResultTemplates.SingleNumber;
H A DResultFileRenderer.java19 package com.google.phonenumbers.demo.render;
25 import com.google.phonenumbers.demo.template.ResultFileTemplates.File;
/third_party/jerryscript/tests/jerry/es2015/
H A Dnew-target.js20 function demo () { function
25 assert (demo () === undefined);
26 assert ((new demo ()) === demo);
/third_party/vixl/examples/aarch32/
H A Dgetting-started.cc35 // uint32_t demo(uint32_t x) in GenerateDemo()
48 Label demo; in main() local
49 // Tell the macro assembler that the label "demo" refer to the current in main()
51 masm.Bind(&demo); in main()
65 .GetEntryPoint<uint32_t (*)(uint32_t)>(demo, in main()
69 printf("native: demo(0x%08x) = 0x%08x\n", input_value, output_value); in main()
/foundation/CastEngine/castengine_wifi_display/tests/demo/codec/
H A Dvideo_sink_decoder_demo.cpp188 auto demo = std::make_shared<VideoSinkDecoderDemo>(); in main() local
189 demo->StartVideoDecoder(); in main()
190 demo->StartPlayThread(); in main()
194 demo->StopVideoDecoder(); in main()
195 demo->StopPlayThread(); in main()
/third_party/libphonenumber/java/demo/src/main/java/com/google/phonenumbers/demo/
H A DResultServlet.java19 package com.google.phonenumbers.demo;
27 import com.google.phonenumbers.demo.helper.WebHelper;
28 import com.google.phonenumbers.demo.render.ErrorRenderer;
29 import com.google.phonenumbers.demo.render.ResultFileRenderer;
30 import com.google.phonenumbers.demo.render.ResultRenderer;
H A DInputServlet.java19 package com.google.phonenumbers.demo;
23 import com.google.phonenumbers.demo.render.InputFormRenderer;
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/demo/
H A Dheif_hw_decoder_demo.cpp27 HeifHwDecoderFlow demo; in main() local
28 (void)demo.Run(opt); in main()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_hw_decode/demo/
H A Djpeg_hw_decoder_demo.cpp25 JpegHwDecoderFlow demo; in main() local
26 (void)demo.Run(opt, true); in main()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
H A DCalendarApp.java10 package com.ibm.icu.dev.demo.calendar;
14 import com.ibm.icu.dev.demo.impl.DemoApplet;
35 /* This creates a CalendarFrame for the demo applet. */
/third_party/curl/tests/unit/
H A Dunit1655.c88 struct demo { struct
105 struct demo victim;
112 sizeof(struct demo), /* allow room for overflow */
120 "demo one-byte buffer overwrite did not happen");
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DDemoApplet.java9 package com.ibm.icu.dev.demo.translit;
18 import com.ibm.icu.dev.demo.impl.AppletFrame;
/third_party/python/Lib/turtledemo/
H A Dpenrose.py148 def demo(fun=sun): function
162 demo(sun)
164 demo(star)
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_hw_decode/unittest/
H A Djpeg_hw_decoder_test.cpp84 JpegHwDecoderFlow demo; in HWTEST_F() local
87 ret = demo.Run(opt, false); in HWTEST_F()

Completed in 10 milliseconds

123