Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 2436) sorted by relevance

12345678910>>...98

/third_party/jsframework/runtime/main/page/api/
Dmisc.ts43 export function destroy(page: Page): void {
44 Log.debug(`Destroy a page(${page.id}).`);
46 if (page.vm) {
47 page.vm.destroy();
50 page.id = null;
51 page.options = null;
52 page.vm = null;
53 page.doc.taskCenter.destroyCallback();
54 page.doc.destroy();
55 page.doc = null;
[all …]
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_page_test.cc58 Page page = in TEST_F() local
60 EXPECT_EQ(kGoldenPageId, page.GetPageID()); in TEST_F()
61 EXPECT_EQ(kGoldenShardId, page.GetShardID()); in TEST_F()
62 EXPECT_EQ(kGoldenTypeId, page.GetPageTypeID()); in TEST_F()
63 ASSERT_TRUE(kGoldenType == page.GetPageType()); in TEST_F()
64 EXPECT_EQ(kGoldenSize, page.GetPageSize()); in TEST_F()
65 EXPECT_EQ(kGoldenStart, page.GetStartRowID()); in TEST_F()
66 EXPECT_EQ(kGoldenEnd, page.GetEndRowID()); in TEST_F()
67 ASSERT_TRUE(std::make_pair(4, kOffset) == page.GetLastRowGroupID()); in TEST_F()
68 ASSERT_TRUE(golden_row_group == page.GetRowGroupIds()); in TEST_F()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_log.c152 struct u_log_page *page = ctx->cur; in u_log_chunk() local
156 if (!page) { in u_log_chunk()
158 page = ctx->cur; in u_log_chunk()
159 if (!page) in u_log_chunk()
163 if (page->num_entries >= page->max_entries) { in u_log_chunk()
164 unsigned new_max_entries = MAX2(16, page->num_entries * 2); in u_log_chunk()
165 struct page_entry *new_entries = REALLOC(page->entries, in u_log_chunk()
166 page->max_entries * sizeof(*page->entries), in u_log_chunk()
167 new_max_entries * sizeof(*page->entries)); in u_log_chunk()
171 page->entries = new_entries; in u_log_chunk()
[all …]
/third_party/ltp/testcases/kernel/mce-test/tsrc/
Dtinjpage.c74 void munmap_reserve(void *page, int size) in munmap_reserve() argument
76 if (munmap(page, size) < 0) in munmap_reserve()
78 if (mmap(page, size, PROT_NONE, MAP_PRIVATE|MAP_FIXED, 0, 0) < 0) in munmap_reserve()
164 void inject_madvise(char *page) in inject_madvise() argument
166 if (madvise(page, PS, MADV_POISON) != 0) { in inject_madvise()
175 u64 page_to_pfn(char *page) in page_to_pfn() argument
187 ((u64)page / PS)*sizeof(u64)) != sizeof(u64)) in page_to_pfn()
202 void inject_mce_inject(char *page) in inject_mce_inject() argument
204 u64 pfn = page_to_pfn(page); in inject_mce_inject()
227 void (*inject)(char *page) = inject_madvise;
[all …]
Dtsimpleinj.c39 void testmem(char *msg, char *page, int write) in testmem() argument
41 printf("%s page %p\n", msg, page); in testmem()
44 if (madvise(page, PS, MADV_POISON) != 0) { in testmem()
49 *page = 2; in testmem()
51 printf("%x\n", *(unsigned char *)page); in testmem()
81 char *page; in main() local
90 page = mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, 0, 0); in main()
91 testmem("dirty", page, 1); in main()
93 page = mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_LOCKED, 0, 0); in main()
94 testmem("mlocked", page, 1); in main()
[all …]
/third_party/jsframework/runtime/main/page/entry/
Dbundle.ts45 export const defineFn = function(page: Page, name?: string, ...args: any[] | null): void {
56 const packageName = page.packageName;
58 if (page && page.doc) {
59 return page;
62 return page;
65 return appPage || page;
76 registerCustomComponent(page, componetName, bundleContent);
88 export function bootstrap(page: Page, name: string, data: any): any {
100 if (global && global.aceapp && page.options && page.options.i18n) {
101 updateLocale(page.options.i18n);
[all …]
Dinit.ts62 export function init(page: Page, code: string | Function, data: object, services: Services): any {
67 const pageDefine = (...args) => defineFn(page, ...args);
69 result = bootstrap(page, name, data);
70 updateActions(page);
71 page.doc.taskCenter.send('dom', { action: 'createFinish' }, []);
72 Log.debug(`After initialized a page(${page.id}).`);
75 const packageName = page.packageName;
77 if (page && page.doc) {
78 return page;
82 return page;
[all …]
/third_party/boost/tools/docca/include/docca/
Dbase-extract-xml-pages.xsl68 <xsl:apply-templates mode="create-page" select=".">
82 <xsl:template mode="create-page" match="*"/>
83 <xsl:template mode="create-page" match="compound[@kind = 'namespace']">
86 <xsl:template mode="create-page" match="compound[@kind = ('class','struct')]
88 <xsl:variable name="page-id" as="xs:string">
89 <xsl:apply-templates mode="page-id" select="."/>
91 <page id="{$page-id}" href="{$page-id}.xml">
92 <xsl:result-document href="xml-pages/{$page-id}.xml">
93 <xsl:apply-templates mode="page-content" select=".">
94 <xsl:with-param name="page-id" select="$page-id" tunnel="yes"/>
[all …]
/third_party/jsframework/runtime/main/app/
Dbundle.ts51 export const defineFn = function(page: Page, packageName: string, name?: string, ...args: any[] | n…
61 return pageMap.getTop(packageName) || page;
82 registerCustomComponent(page, componetName, bundleContent);
95 export function bootstrap(page: Page, packageName: string, name: string, config: any, data: any): a…
109 if (page.options && page.options.appCreate) {
115 global.aceapp.$data = page.options.appGlobalData || {};
118 if (page.options.i18n) {
119 updateLocale(page.options.i18n);
121 if (page.options.resourcesConfiguration) {
122 updateDpi(page.options.resourcesConfiguration);
[all …]
/third_party/ffmpeg/libavcodec/
Dlibzvbi-teletextdec.c166 static int gen_sub_text(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_to… in gen_sub_text() argument
176 sz = vbi_print_page_region(page, vbi_text, TEXT_MAXSZ-1, "UTF-8", in gen_sub_text()
179 page->columns, page->rows-chop_top); in gen_sub_text()
233 static void bprint_color(const char *type, AVBPrint *buf, vbi_page *page, unsigned ci) in bprint_color() argument
235 int r = VBI_R(page->color_map[ci]); in bprint_color()
236 int g = VBI_G(page->color_map[ci]); in bprint_color()
237 int b = VBI_B(page->color_map[ci]); in bprint_color()
244 static void get_trim_info(vbi_page *page, vbi_char *row, int *leading, int *trailing, int *olen) in get_trim_info() argument
251 for (i = 0; i < page->columns; i++) { in get_trim_info()
261 *trailing = len > 0 ? page->columns - *leading - len : page->columns; in get_trim_info()
[all …]
/third_party/jsframework/runtime/main/manage/instance/
Dlife.ts44 let page: Page = pageMap[id];
46 if (!page) {
47 page = new Page(id, options, options.packageName, data);
48 page.i18nService = I18n;
49 page.dpiService = dpi;
50 appCreate(page, options, data, services);
51 pageMap.push(page);
52 result = initApp(page, code, data, services);
69 const page: Page = pageMap[id]; constant
70 if (!page) {
[all …]
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c195 static void munmap_reserve(void *page, int size) in munmap_reserve() argument
197 munmap(page, size); in munmap_reserve()
198 mmap(page, size, PROT_NONE, MAP_PRIVATE | MAP_FIXED, 0, 0); in munmap_reserve()
234 static void poison(char *msg, char *page, enum rmode mode) in poison() argument
236 expected_addr = page; in poison()
240 if (madvise(page, PS, MADV_POISON) != 0) { in poison()
267 static void recover(char *msg, char *page, enum rmode mode) in recover() argument
269 expected_addr = page; in recover()
276 *page = 2; in recover()
280 *page = 4; in recover()
[all …]
DMakefile1 all: page-poisoning
3 page-poisoning: page-poisoning.o
5 ../../bin/page-poisoning: page-poisoning
6 cp page-poisoning ../../bin
8 install: ../../bin/page-poisoning
11 rm -f page-poisoning *.o
/third_party/ffmpeg/libavformat/
Doggenc.c61 OGGPage page; ///< current page member
67 OGGPage page; member
102 static void ogg_write_page(AVFormatContext *s, OGGPage *page, int extra_flags) in ogg_write_page() argument
104 OGGStreamContext *oggstream = s->streams[page->stream_index]->priv_data; in ogg_write_page()
111 bytestream_put_byte(&ptr, page->flags | extra_flags); in ogg_write_page()
112 bytestream_put_le64(&ptr, page->granule); in ogg_write_page()
117 bytestream_put_byte(&ptr, page->segments_count); in ogg_write_page()
118 bytestream_put_buffer(&ptr, page->segments, page->segments_count); in ogg_write_page()
121 crc = av_crc(crc_table, crc, page->data, page->size); in ogg_write_page()
125 avio_write(s->pb, page->data, page->size); in ogg_write_page()
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dpagemap.h46 #define PageLocked(page) 1 argument
47 #define Page_Uptodate(page) 0 argument
48 #define UnlockPage(page) argument
49 #define PAGE_BUG(page) BUG() argument
50 #define ClearPageUptodate(page) argument
51 #define SetPageError(page) argument
52 #define ClearPageError(page) argument
53 #define SetPageUptodate(page) argument
/third_party/typescript/tests/baselines/reference/
DcontrolFlowForCatchAndFinally.types25 let page: Page | undefined = undefined;
26 >page : Page | undefined
37 page = await test2(browser);
38 >page = await test2(browser) : Page
39 >page : Page | undefined
45 return await page.content();;
46 >await page.content() : string
47 >page.content() : Promise<string>
48 >page.content : () => Promise<string>
49 >page : Page
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dpage_view.dart32 /// A page controller lets you manipulate which page is visible in a [PageView].
122 /// Creates a page controller.
134 /// The page to show when first creating the [PageView].
137 /// Save the current [page] with [PageStorage] and restore it if
140 /// If this property is set to false, the current [page] is never saved
142 /// If true (the default), the initial page is used the first time the
143 /// controller's scrollable is created, since there's isn't a page to
144 /// restore yet. Subsequently the saved page is restored and
154 /// The fraction of the viewport that each page should occupy.
156 /// Defaults to 1.0, which means each page fills the viewport in the scrolling
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_configdialog.py114 page = cls.page = dialog.fontpage
115 dialog.note.select(page)
116 page.set_samples = Func() # Mask instance method.
117 page.update()
121 del cls.page.set_samples # Unmask instance method.
130 d = self.page
144 d = self.page
173 d = self.page
196 d = self.page
202 d = self.page
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-bit-set.hh131 page_t *page = page_for (g, true); if (unlikely (!page)) return; in add() local
132 page->add (g); in add()
143 page_t *page = page_for (a, true); if (unlikely (!page)) return false; in add_range() local
144 page->add_range (a, b); in add_range()
148 page_t *page = page_for (a, true); if (unlikely (!page)) return false; in add_range() local
149 page->add_range (a, major_start (ma + 1) - 1); in add_range()
153 page = page_for (major_start (m), true); if (unlikely (!page)) return false; in add_range()
154 page->init1 (); in add_range()
157 page = page_for (b, true); if (unlikely (!page)) return false; in add_range()
158 page->add_range (major_start (mb), b); in add_range()
[all …]
/third_party/mesa3d/src/util/
Dslab.c76 struct slab_page_header *page, unsigned index) in slab_get_element() argument
79 ((uint8_t*)&page[1] + (parent->element_size * index)); in slab_get_element()
89 struct slab_page_header *page; in slab_free_orphaned() local
93 page = (struct slab_page_header *)(elt->owner & ~(intptr_t)1); in slab_free_orphaned()
94 if (!p_atomic_dec_return(&page->u.num_remaining)) in slab_free_orphaned()
95 free(page); in slab_free_orphaned()
147 struct slab_page_header *page = pool->pages; in slab_destroy_child() local
148 pool->pages = page->u.next; in slab_destroy_child()
149 p_atomic_set(&page->u.num_remaining, pool->parent->num_elements); in slab_destroy_child()
152 struct slab_element_header *elt = slab_get_element(pool->parent, page, i); in slab_destroy_child()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dpage_transitions_theme.dart12 // Slides the page upwards and fades it in, starting from 1/4 screen
57 // The new page slides upwards just a little as its clip
58 // rectangle exposes the page from bottom to top.
64 // The old page slides upwards a little as the new page appears.
70 // The scrim obscures the old page by becoming increasingly opaque.
95 // Gradually expose the new page from bottom to top.
149 /// Used by [PageTransitionsTheme] to define a [MaterialPageRoute] page
153 /// to customize the default [MaterialPageRoute] page transition animation
158 /// * [FadeUpwardsPageTransitionsBuilder], which defines a default page transition.
159 /// * [OpenUpwardsPageTransitionsBuilder], which defines a page transition
[all …]
/third_party/mesa3d/src/intel/tools/
Daub_mem.c229 for (uint64_t page = phys_address & ~0xfff; page < phys_address + size; page += 4096) { in aub_mem_phys_write() local
230 struct phys_mem *pmem = ensure_phys_mem(mem, page); in aub_mem_phys_write()
231 uint64_t offset = MAX2(page, phys_address) - page; in aub_mem_phys_write()
246 for (uint64_t page = virt_address & ~0xfff; page < virt_address + size; page += 4096) { in aub_mem_ggtt_write() local
247 struct ggtt_entry *entry = search_ggtt_entry(mem, page); in aub_mem_ggtt_write()
250 uint64_t offset = MAX2(page, virt_address) - page; in aub_mem_ggtt_write()
363 for (uint64_t page = address; page < end; page += 4096) { in aub_mem_get_ppgtt_bo() local
364 struct phys_mem *phys_mem = ppgtt_walk(mem, mem->pml4, page); in aub_mem_get_ppgtt_bo()
366 void *res = mmap((uint8_t *)bo.map + (page - bo.addr), 4096, PROT_READ, in aub_mem_get_ppgtt_bo()
413 struct phys_mem *page = search_phys_mem(mem, phys_addr); in aub_mem_get_phys_addr_data() local
[all …]
/third_party/skia/tools/run-wasm-gm-tests/
Drun-wasm-gm-tests.js226 let page;
233 page = await browser.newPage();
234 await page.setViewport(viewPort);
242 await page.goto(targetURL, {
250 await page.waitForFunction(`window._abort_manual_mode`, {
259 await page.waitForFunction(`(window._testsReady === true) || window._error`, {
263 const err = await page.evaluate('window._error');
265 const log = await page.evaluate('window._log');
272 await page.click('#start_tests');
278 …await page.waitForFunction(`(window._testsProgress >= ${batch}) || window._testsDone || window._er…
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Dtabs_fab_demo.dart85 Widget buildTabView(_Page page) {
89 key: ValueKey<String>(page.label),
93 child: Text(page.label,
95 color: page.labelColor,
107 Widget buildFloatingActionButton(_Page page) {
108 if (!page.fabDefined)
113 key: ValueKey<Key>(page.fabKey),
115 backgroundColor: page.fabColor,
116 icon: page.fabIcon,
117 label: Text(page.label.toUpperCase()),
[all …]
/third_party/toybox/kconfig/lxdialog/
Dtextbox.c33 static const char *page; variable
64 page = buf; /* page is pointer to start of page to be displayed */ in dialog_textbox()
139 page = buf; in dialog_textbox()
149 page = buf + strlen(buf); in dialog_textbox()
278 if (*page == '\0') { in back_lines()
284 if (page == buf) { in back_lines()
288 page--; in back_lines()
290 if (page == buf) { in back_lines()
294 page--; in back_lines()
295 } while (*page != '\n'); in back_lines()
[all …]

12345678910>>...98