/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_bucket.cc | 2 // Use of this source code is governed by a BSD-style license that can be 25 size_t size = PartitionBucket::get_direct_map_size(raw_size); in PartitionDirectMap() local 27 // Because we need to fake looking like a super page, we need to allocate in PartitionDirectMap() 28 // a bunch of system pages more than "size": in PartitionDirectMap() 29 // - The first few system pages are the partition page in which the super in PartitionDirectMap() 30 // page metadata is stored. We fault just one system page out of a partition in PartitionDirectMap() 31 // page sized clump. in PartitionDirectMap() 32 // - We add a trailing guard page on 32-bit (on 64-bit we rely on the in PartitionDirectMap() 34 size_t map_size = size + kPartitionPageSize; in PartitionDirectMap() 48 size_t committed_page_size = size + kSystemPageSize; in PartitionDirectMap() [all …]
|
D | partition_alloc.cc | 2 // Use of this source code is governed by a BSD-style license that can be 20 // Two partition pages are used as guard / metadata page so make sure the super 21 // page size is bigger. 22 static_assert(kPartitionPageSize * 4 <= kSuperPageSize, "ok super page size"); 23 static_assert(!(kSuperPageSize % kPartitionPageSize), "ok super page multiple"); 24 // Four system pages gives us room to hack out a still-guard-paged piece 25 // of metadata in the middle of a guard partition page. 27 "ok partition page size"); 29 "ok partition page multiple"); 39 "page metadata fits in hole"); [all …]
|
D | partition_page.h | 2 // Use of this source code is governed by a BSD-style license that can be 22 // Some notes on page states. A page can be in one of four major states: 27 // An active page has available free slots. A full page has no free slots. An 28 // empty page has no free slots, and a decommitted page is an empty page that 30 // There are two linked lists tracking the pages. The "active page" list is an 34 // The "empty page" list is an accurate list of pages which are either empty 37 // The significant page transitions are: 38 // - free() will detect when a full page has a slot free()'d and immediately 39 // return the page to the head of the active list. 40 // - free() will detect when a page is fully emptied. It _may_ add it to the [all …]
|
/external/libcups/cups/ |
D | ppd-page.c | 2 * Page size functions for CUPS. 4 * Copyright 2007-2015 by Apple Inc. 5 * Copyright 1997-2007 by Easy Software Products, all rights reserved. 17 #include "string-private.h" 18 #include "debug-internal.h" 23 * 'ppdPageSize()' - Get the page size record for the named size. 26 ppd_size_t * /* O - Size record for page or NULL */ 27 ppdPageSize(ppd_file_t *ppd, /* I - PPD file record */ in ppdPageSize() 28 const char *name) /* I - Size name */ in ppdPageSize() 31 ppd_size_t *size; /* Current page size */ in ppdPageSize() local [all …]
|
/external/mesa3d/src/intel/tools/ |
D | aub_mem.c | 2 * Copyright © 2016-2018 Intel Corporation 58 m->ppgtt = ppgtt; in add_gtt_bo_map() 59 m->bo = bo; in add_gtt_bo_map() 60 m->unmap_after_use = unmap_after_use; in add_gtt_bo_map() 61 list_add(&m->link, &mem->maps); in add_gtt_bo_map() 67 list_for_each_entry_safe(struct bo_map, i, &mem->maps, link) { in aub_mem_clear_bo_maps() 68 if (i->unmap_after_use) in aub_mem_clear_bo_maps() 69 munmap((void *)i->bo.map, i->bo.size); in aub_mem_clear_bo_maps() 70 list_del(&i->link); in aub_mem_clear_bo_maps() 80 struct rb_node *node = rb_node_next(&entry->node); in ggtt_entry_next() [all …]
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | shared_memory_abi.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 // Producer and Service. This is a long-term stable ABI and has to be backwards 40 // -------- 42 // In the most typical case of a multi-process architecture (i.e. Producer and 51 // and allow them to do non-blocking async writes. 54 // Each SMB is small, typically few KB. Its size is configurable by the producer 56 // The SMB is partitioned into fixed-size Page(s). The size of the Pages are 58 // Hence, different producers can have SMB(s) that have a different Page size 59 // from each other, but the page size will be constant throughout all the 61 // Page(s) are partitioned by the Producer into variable size Chunk(s): [all …]
|
/external/gwp_asan/gwp_asan/tests/ |
D | alignment.cpp | 1 //===-- alignment.cpp -------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 static size_t getRequiredBackingSize(size_t Size, size_t Alignment, in getRequiredBackingSize() argument 16 return GuardedPoolAllocator::getRequiredBackingSize(Size, Alignment, in getRequiredBackingSize() 28 // 1. Page size is 0x1000. 29 // 2. All tests assume a slot is multipage, between 0x4000 - 0x8000. While we 33 // These aren't actual requirements of the allocator - but just simplifies the 36 // Alignment < Page Size. in TEST() 39 // Alignment == Page Size. in TEST() [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | blogger_v2.pages.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
D | pagespeedonline_v1.pagespeedapi.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
D | bigquerydatatransfer_v1.projects.transferConfigs.runs.transferLogs.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
D | bigquerydatatransfer_v1.projects.locations.transferConfigs.runs.transferLogs.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
/external/pdfium/samples/ |
D | pdfium_test_event_helper.cc | 2 // Use of this source code is governed by a BSD-style license that can be 18 FPDF_PAGE page, in SendCharCodeEvent() argument 20 if (tokens.size() != 2) { in SendCharCodeEvent() 26 FORM_OnChar(form, page, keycode, 0); in SendCharCodeEvent() 30 FPDF_PAGE page, in SendKeyCodeEvent() argument 32 if (tokens.size() != 2) { in SendKeyCodeEvent() 38 FORM_OnKeyDown(form, page, keycode, 0); in SendKeyCodeEvent() 39 FORM_OnKeyUp(form, page, keycode, 0); in SendKeyCodeEvent() 55 FPDF_PAGE page, in SendMouseDownEvent() argument 57 if (tokens.size() != 4 && tokens.size() != 5) { in SendMouseDownEvent() [all …]
|
/external/arm-trusted-firmware/drivers/mtd/nand/ |
D | raw_nand.c | 2 * Copyright (c) 2019-2020, STMicroelectronics - All Rights Reserved 4 * SPDX-License-Identifier: BSD-3-Clause 47 return rawnand_dev.ops->exec(&req); in nand_send_cmd() 60 return rawnand_dev.ops->exec(&req); in nand_send_addr() 73 return rawnand_dev.ops->exec(&req); in nand_send_wait() 87 return rawnand_dev.ops->exec(&req); in nand_read_data() 102 if (rawnand_dev.nand_dev->buswidth == NAND_BUS_WIDTH_16) { in nand_change_read_column_cmd() 124 int nand_read_page_cmd(unsigned int page, unsigned int offset, in nand_read_page_cmd() argument 132 VERBOSE(">%s page %u offset %u buffer 0x%lx\n", __func__, page, offset, in nand_read_page_cmd() 135 if (rawnand_dev.nand_dev->buswidth == NAND_BUS_WIDTH_16) { in nand_read_page_cmd() [all …]
|
/external/pdfium/public/ |
D | fpdfview.h | 2 // Use of this source code is governed by a BSD-style license that can be 13 // clang-format off 41 FPDF_TEXTRENDERMODE_UNKNOWN = -1, 53 // PDF types - use incomplete types (never completed) just for API type safety. 96 // FPDFSDK may use three types of strings: byte string, wide string (UTF-16LE 100 // FPDFSDK always uses UTF-16LE encoded wide strings, each character uses 2 106 // a UTF-16LE formated string. Used only by XFA callbacks. 138 // Rectangle area(float) in device or page coordinate system. 140 // The x-coordinate of the left-top corner. 142 // The y-coordinate of the left-top corner. [all …]
|
D | fpdf_thumbnail.h | 2 // Use of this source code is governed by a BSD-style license that can be 18 // Gets the decoded data from the thumbnail of |page| if it exists. 20 // size of the decoded data. Returns the size of the decoded 22 // the size of the buffer needed. 24 // page - handle to a page. 25 // buffer - buffer for holding the decoded image data. 26 // buflen - length of the buffer in bytes. 28 FPDFPage_GetDecodedThumbnailData(FPDF_PAGE page, 33 // Gets the raw data from the thumbnail of |page| if it exists. 35 // the size of the raw data. Returns the size of the raw data or 0 [all …]
|
/external/llvm-project/lld/test/ELF/ |
D | magic-page-combo-warn.s | 2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 4 # Test that we warn when a page size is set and paging is disabled by -n or -N. 6 # RUN: ld.lld -z max-page-size=0x10 -z common-page-size=0x10 -N %t -o %t2 2>&1 | FileCheck --check-… 7 # RUN: llvm-readobj --program-headers %t2 | FileCheck --check-prefix=OMAGIC %s 8 # RUN: ld.lld -z max-page-size=0x10 -z common-page-size=0x10 --omagic %t -o %t2 2>&1 | FileCheck -… 9 # RUN: llvm-readobj --program-headers %t2 | FileCheck --check-prefix=OMAGIC %s 11 # WARN: ld.lld: warning: -z max-page-size set, but paging disabled by omagic or nmagic 12 # WARN-NEXT: ld.lld: warning: -z common-page-size set, but paging disabled by omagic or nmagic 16 # OMAGIC-NEXT: Offset: 0xB0 17 # OMAGIC-NEXT: VirtualAddress: [all …]
|
/external/pdfium/testing/ |
D | embedder_test.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 33 #include "v8/include/v8-platform.h" 76 info->version = 1; in SetUp() 77 info->FSDK_UnSupport_Handler = UnsupportedHandlerTrampoline; in SetUp() 86 EXPECT_EQ(0U, page_map_.size()); in TearDown() 87 EXPECT_EQ(0U, saved_page_map_.size()); in TearDown() 174 network_simulator->AddSegment(0, 1024); in OpenDocumentHelper() 175 network_simulator->SetRequestedDataAvailable(); in OpenDocumentHelper() 176 *avail = FPDFAvail_Create(network_simulator->GetFileAvail(), in OpenDocumentHelper() 177 network_simulator->GetFileAccess()); in OpenDocumentHelper() [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_sseu.c | 2 * Copyright © 2017-2018 Intel Corporation 55 for (i = 0; i < (sizeof(mask) * 8 - 1); i++) { in mask_minus_one() 68 for (i = 0; i < (sizeof(mask) * 8 - 1); i++) { in mask_plus_one() 103 .size = sizeof(sseu), in kernel_has_per_context_sseu_support() 115 igt_assert(ret == 0 || ret == -ENODEV || ret == -EINVAL); in kernel_has_per_context_sseu_support() 139 .size = sizeof(sseu), in test_engines() 147 sseu.engine.engine_instance = -1; /* Assumed invalid. */ in test_engines() 148 igt_assert_eq(__gem_context_get_param(fd, &arg), -EINVAL); in test_engines() 151 igt_assert_eq(__gem_context_get_param(fd, &arg), -EINVAL); in test_engines() 154 igt_assert_eq(__gem_context_get_param(fd, &arg), -EINVAL); in test_engines() [all …]
|
/external/lzma/CPP/Windows/Control/ |
D | PropertyPage.cpp | 23 tempDialog.SetUserDataLongPtr(((PROPSHEETPAGE *)lParam)->lParam); in MyProperyPageProcedure() 28 dialog->Attach(dialogHWND); in MyProperyPageProcedure() 29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in MyProperyPageProcedure() 35 switch (lParam->code) in OnNotify() 59 for (i = 0; i < pagesInfo.Size(); i++) in MyPropertySheet() 63 for (i = 0; i < pagesInfo.Size(); i++) in MyPropertySheet() 68 PROPSHEETPAGE page; in MyPropertySheet() local 69 page.dwSize = sizeof(page); in MyPropertySheet() 70 page.dwFlags = PSP_HASHELP; in MyPropertySheet() 71 page.hInstance = g_hInstance; in MyPropertySheet() [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/kmem/mm_page_alloc_zone_locked/ |
D | format | 4 field:unsigned short common_type; offset:0; size:2; signed:0; 5 field:unsigned char common_flags; offset:2; size:1; signed:0; 6 field:unsigned char common_preempt_count; offset:3; size:1; signed:0; 7 field:int common_pid; offset:4; size:4; signed:1; 9 field:struct page * page; offset:8; size:8; signed:0; 10 field:unsigned int order; offset:16; size:4; signed:0; 11 field:int migratetype; offset:20; size:4; signed:1; 13 …page=%p pfn=%lu order=%u migratetype=%d percpu_refill=%d", REC->page, REC->page ? (unsigned long)(…
|
/external/pdfium/fpdfsdk/ |
D | fpdf_edit_embeddertest.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 12 #include "core/fpdfapi/page/cpdf_formobject.h" 13 #include "core/fpdfapi/page/cpdf_page.h" 14 #include "core/fpdfapi/page/cpdf_pageobject.h" 29 #include "testing/gmock/include/gmock/gmock-matchers.h" 46 const CPDF_Dictionary* font_desc = font_dict->GetDictFor("FontDescriptor"); in CheckFontDescriptor() 48 EXPECT_EQ("FontDescriptor", font_desc->GetStringFor("Type")); in CheckFontDescriptor() 49 EXPECT_EQ(font_dict->GetStringFor("BaseFont"), in CheckFontDescriptor() 50 font_desc->GetStringFor("FontName")); in CheckFontDescriptor() 54 ASSERT_TRUE(font_desc->KeyExist("Flags")); in CheckFontDescriptor() [all …]
|
/external/igt-gpu-tools/tests/ |
D | vgem_basic.c | 43 err = -errno; in __gem_setversion() 56 sv.drm_dd_major = -1; /* don't care */ in test_setversion() 57 sv.drm_dd_minor = -1; /* don't care */ in test_setversion() 78 igt_assert_eq(__vgem_create(fd, &bo), -EINVAL); in test_create() 84 igt_assert_eq(bo.size, 4096); in test_create() 91 igt_assert_eq(bo.size, 1<<20); in test_create() 98 igt_assert_eq(bo.size, 1<<31); in test_create() 115 for (int page = 0; page < bo.size >> 12; page++) in test_mmap() local 116 ptr[page] = 0; in test_mmap() 118 munmap(ptr, bo.size); in test_mmap() [all …]
|
/external/libcups/filter/ |
D | rastertohp.c | 2 * Hewlett-Packard Page Control Language filter for CUPS. 4 * Copyright 2007-2015 by Apple Inc. 5 * Copyright 1993-2007 by Easy Software Products. 16 #include <cups/string-private.h> 17 #include <cups/language-private.h> 35 int Page, /* Current page number */ variable 54 * 'Setup()' - Prepare the printer for printing. 70 * 'StartPage()' - Start a page of graphics. 74 StartPage(ppd_file_t *ppd, /* I - PPD file */ in StartPage() 75 cups_page_header2_t *header) /* I - Page header */ in StartPage() [all …]
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | pages.h | 4 /* Page size. LG_PAGE is determined by the configure script. */ 8 #define PAGE ((size_t)(1U << LG_PAGE)) macro 9 #define PAGE_MASK ((size_t)(PAGE - 1)) 10 /* Return the page base address for the page containing address a. */ 17 /* Huge page size. LG_HUGEPAGE is determined by the configure script. */ 19 #define HUGEPAGE_MASK ((size_t)(HUGEPAGE - 1)) 20 /* Return the huge page base address for the huge page containing address a. */ 34 * The only supported way to hard-purge on Windows is to decommit and then 35 * re-commit, but doing so is racy, and if re-commit fails it's a pain to 75 void *pages_map(void *addr, size_t size, size_t alignment, bool *commit); [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/kmem/mm_page_alloc_extfrag/ |
D | format | 4 field:unsigned short common_type; offset:0; size:2; signed:0; 5 field:unsigned char common_flags; offset:2; size:1; signed:0; 6 field:unsigned char common_preempt_count; offset:3; size:1; signed:0; 7 field:int common_pid; offset:4; size:4; signed:1; 9 field:struct page * page; offset:8; size:8; signed:0; 10 field:int alloc_order; offset:16; size:4; signed:1; 11 field:int fallback_order; offset:20; size:4; signed:1; 12 field:int alloc_migratetype; offset:24; size:4; signed:1; 13 field:int fallback_migratetype; offset:28; size:4; signed:1; 15 …page=%p pfn=%lu alloc_order=%d fallback_order=%d pageblock_order=%d alloc_migratetype=%d fallback_…
|