| /third_party/skia/third_party/externals/tint/src/reader/spirv/ |
| D | usage.h | 31 /// AddStorageWriteTexture usage 36 /// AddComparisonSampler usage 39 class Usage { 42 Usage(); 44 /// @param other the Usage to clone 45 Usage(const Usage& other); 47 ~Usage(); 49 /// @returns true if this usage is internally consistent 51 /// @returns true if the usage fully determines a WebGPU binding type. 54 /// @returns true if this usage is a sampler usage. [all …]
|
| D | usage.cc | 15 #include "src/reader/spirv/usage.h" 23 Usage::Usage() {} in Usage() function in tint::reader::spirv::Usage 24 Usage::Usage(const Usage& other) = default; 25 Usage::~Usage() = default; 27 std::ostream& Usage::operator<<(std::ostream& out) const { in operator <<() 28 out << "Usage("; in operator <<() 59 bool Usage::IsValid() const { in IsValid() 113 bool Usage::IsComplete() const { in IsComplete() 126 bool Usage::operator==(const Usage& other) const { in operator ==() 136 void Usage::Add(const Usage& other) { in Add() [all …]
|
| /third_party/mesa3d/src/intel/isl/ |
| D | isl_aux_info.c | 106 enum isl_aux_usage usage) in aux_state_possible() argument 111 return info[usage].fast_clear; in aux_state_possible() 113 return info[usage].fast_clear && info[usage].compressed; in aux_state_possible() 115 return info[usage].compressed; in aux_state_possible() 131 enum isl_aux_usage usage, in isl_aux_prepare_access() argument 134 if (usage != ISL_AUX_USAGE_NONE) { in isl_aux_prepare_access() 136 usage == ISL_AUX_USAGE_CCS_D ? ISL_AUX_USAGE_CCS_E : usage; in isl_aux_prepare_access() 139 assert(!fast_clear_supported || info[usage].fast_clear); in isl_aux_prepare_access() 143 if (!info[usage].compressed) in isl_aux_prepare_access() 150 info[usage].partial_resolve ? in isl_aux_prepare_access() [all …]
|
| /third_party/typescript/src/services/codefixes/ |
| D | inferFromUsage.ts | 497 return_: Usage; 500 interface Usage { 507 properties: UnderscoreEscapedMap<Usage> | undefined; 510 numberIndex: Usage | undefined; 511 stringIndex: Usage | undefined; 516 function createEmptyUsage(): Usage { 532 function combineUsages(usages: Usage[]): Usage { 533 const combinedProperties = new Map<__String, Usage[]>(); 544 const properties = new Map<__String, Usage>(); 572 const usage = createEmptyUsage(); constant [all …]
|
| /third_party/FreeBSD/sys/dev/usb/input/ |
| D | usb_rdesc.h | 38 0x09, 0x01, /* USAGE (Digitizer) */\ 42 0x09, 0x01, /* USAGE (Digitizer) */\ 46 0x09, 0x33, /* USAGE (Touch) */\ 50 0x09, 0x44, /* USAGE (Barrel Switch) */\ 54 0x09, 0x00, /* USAGE (Undefined) */\ 58 0x09, 0x3c, /* USAGE (Invert) */\ 62 0x09, 0x38, /* USAGE (Transducer Index) */\ 66 0x09, 0x32, /* USAGE (In Range) */\ 71 0x09, 0x30, /* USAGE (X) */\ 77 0x09, 0x31, /* USAGE (Y) */\ [all …]
|
| /third_party/flutter/flutter/packages/flutter_tools/test/general.shard/runner/ |
| D | flutter_command_test.dart | 20 MockitoUsage usage; 26 usage = MockitoUsage(); 28 when(usage.isFirstRun).thenReturn(false); 63 verify(usage.sendCommand(captureAny, parameters: captureAnyNamed('parameters'))); 64 verify(usage.sendEvent(captureAny, 'success')); 68 Usage: () => usage, 82 verify(usage.sendCommand(captureAny, parameters: captureAnyNamed('parameters'))); 83 verify(usage.sendEvent(captureAny, 'warning')); 87 Usage: () => usage, 103 verify(usage.sendCommand(captureAny, parameters: captureAnyNamed('parameters'))); [all …]
|
| /third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
| D | BufferVk.cpp | 26 VkBufferUsageFlags VulkanBufferUsage(dawn::BufferUsageBit usage) { in VulkanBufferUsage() argument 29 if (usage & dawn::BufferUsageBit::CopySrc) { in VulkanBufferUsage() 32 if (usage & dawn::BufferUsageBit::CopyDst) { in VulkanBufferUsage() 35 if (usage & dawn::BufferUsageBit::Index) { in VulkanBufferUsage() 38 if (usage & dawn::BufferUsageBit::Vertex) { in VulkanBufferUsage() 41 if (usage & dawn::BufferUsageBit::Uniform) { in VulkanBufferUsage() 44 if (usage & dawn::BufferUsageBit::Storage) { in VulkanBufferUsage() 47 if (usage & dawn::BufferUsageBit::Indirect) { in VulkanBufferUsage() 54 VkPipelineStageFlags VulkanPipelineStage(dawn::BufferUsageBit usage) { in VulkanPipelineStage() argument 57 if (usage & (dawn::BufferUsageBit::MapRead | dawn::BufferUsageBit::MapWrite)) { in VulkanPipelineStage() [all …]
|
| /third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ |
| D | analytics_test.dart | 68 Usage: () => Usage( 90 Usage: () => Usage( 96 testUsingContext('Usage records one feature in experiment setting', () async { 99 final Usage usage = Usage(); 100 usage.sendCommand('test'); 113 testUsingContext('Usage records multiple features in experiment setting', () async { 120 final Usage usage = Usage(); 121 usage.sendCommand('test'); 138 Usage mockUsage; 171 Usage: () => mockUsage, [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | typeFromPropertyAssignment12.symbols | 3 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 7 === tests/cases/conformance/salsa/usage.js === 10 >Outer.Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 11 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 12 >Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 13 >line : Symbol(line, Decl(usage.js, 1, 22)) 14 >ch : Symbol(ch, Decl(usage.js, 1, 27)) 19 >Outer.Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 20 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 21 >Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) [all …]
|
| D | typeFromPropertyAssignment24.symbols | 1 === tests/cases/conformance/salsa/usage.js === 2 // note that usage is first in the compilation 4 >Outer.Inner.Message : Symbol(Outer.Inner.Message, Decl(usage.js, 0, 0)) 5 >Outer.Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 6 >Outer : Symbol(Outer, Decl(usage.js, 0, 0), Decl(def.js, 0, 3), Decl(def.js, 0, 14)) 7 >Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 8 >Message : Symbol(Outer.Inner.Message, Decl(usage.js, 0, 0)) 13 >y : Symbol(y, Decl(usage.js, 4, 3)) 14 >Outer.Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 15 >Outer : Symbol(Outer, Decl(usage.js, 0, 0), Decl(def.js, 0, 3), Decl(def.js, 0, 14)) [all …]
|
| D | importTypeGenericTypes.symbols | 77 === tests/cases/conformance/types/import/usage.ts === 79 >x : Symbol(x, Decl(usage.ts, 0, 12)) 80 >x : Symbol(x, Decl(usage.ts, 0, 33)) 81 >x : Symbol(x, Decl(usage.ts, 0, 48)) 82 >y : Symbol(y, Decl(usage.ts, 0, 54)) 83 >data : Symbol(data, Decl(usage.ts, 0, 60)) 84 >x : Symbol(x, Decl(usage.ts, 0, 68)) 87 >y : Symbol(y, Decl(usage.ts, 1, 10)) 90 >x : Symbol(x, Decl(usage.ts, 1, 38)) 91 >a : Symbol(a, Decl(usage.ts, 1, 53)) [all …]
|
| D | importTypeLocalMissing.symbols | 59 === tests/cases/conformance/types/import/usage.ts === 61 >x : Symbol(x, Decl(usage.ts, 0, 12)) 62 >x : Symbol(x, Decl(usage.ts, 0, 34)) 63 >y : Symbol(y, Decl(usage.ts, 0, 40)) 66 >y : Symbol(y, Decl(usage.ts, 1, 10)) 67 >a : Symbol(a, Decl(usage.ts, 1, 39)) 68 >b : Symbol(b, Decl(usage.ts, 1, 46)) 71 >z : Symbol(z, Decl(usage.ts, 2, 10)) 73 >a : Symbol(a, Decl(usage.ts, 2, 40)) 74 >b : Symbol(b, Decl(usage.ts, 2, 47)) [all …]
|
| D | jsDeclarationsTypedefAndImportTypes.symbols | 23 === tests/cases/conformance/jsdoc/declarations/usage.js === 29 >Wrap : Symbol(Wrap, Decl(usage.js, 0, 0)) 35 >c : Symbol(c, Decl(usage.js, 8, 16)) 38 >this.connItem : Symbol(Wrap.connItem, Decl(usage.js, 8, 20)) 39 >this : Symbol(Wrap, Decl(usage.js, 0, 0)) 40 >connItem : Symbol(Wrap.connItem, Decl(usage.js, 8, 20)) 42 >c : Symbol(c, Decl(usage.js, 8, 16)) 47 >this.another : Symbol(Wrap.another, Decl(usage.js, 9, 31)) 48 >this : Symbol(Wrap, Decl(usage.js, 0, 0)) 49 >another : Symbol(Wrap.another, Decl(usage.js, 9, 31)) [all …]
|
| /third_party/rust/crates/clap/src/output/ |
| D | usage.rs | 1 #![cfg_attr(not(feature = "usage"), allow(unused_imports))] 2 #![cfg_attr(not(feature = "usage"), allow(unused_variables))] 3 #![cfg_attr(not(feature = "usage"), allow(clippy::manual_map))] 4 #![cfg_attr(not(feature = "usage"), allow(dead_code))] 16 pub(crate) struct Usage<'cmd> { struct 21 impl<'cmd> Usage<'cmd> { impl 23 Usage { in new() 34 …// Creates a usage string for display. This happens just after all arguments were parsed, but befo… 35 // any subcommands have been parsed (so as to give subcommands their own usage recursively) 37 debug!("Usage::create_usage_with_title"); in create_usage_with_title() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/r600/ |
| D | r600_buffer_common.c | 37 unsigned usage) in r600_rings_is_buffer_referenced() argument 39 if (ctx->ws->cs_is_buffer_referenced(&ctx->gfx.cs, buf, usage)) { in r600_rings_is_buffer_referenced() 43 ctx->ws->cs_is_buffer_referenced(&ctx->dma.cs, buf, usage)) { in r600_rings_is_buffer_referenced() 51 unsigned usage) in r600_buffer_map_sync_with_rings() argument 58 if (usage & PIPE_MAP_UNSYNCHRONIZED) { in r600_buffer_map_sync_with_rings() 59 return ctx->ws->buffer_map(ctx->ws, resource->buf, NULL, usage); in r600_buffer_map_sync_with_rings() 62 if (!(usage & PIPE_MAP_WRITE)) { in r600_buffer_map_sync_with_rings() 70 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings() 81 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings() 91 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings() [all …]
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
| D | BufferVk.cpp | 31 VkBufferUsageFlags VulkanBufferUsage(wgpu::BufferUsage usage) { in VulkanBufferUsage() argument 34 if (usage & wgpu::BufferUsage::CopySrc) { in VulkanBufferUsage() 37 if (usage & wgpu::BufferUsage::CopyDst) { in VulkanBufferUsage() 40 if (usage & wgpu::BufferUsage::Index) { in VulkanBufferUsage() 43 if (usage & wgpu::BufferUsage::Vertex) { in VulkanBufferUsage() 46 if (usage & wgpu::BufferUsage::Uniform) { in VulkanBufferUsage() 49 if (usage & in VulkanBufferUsage() 53 if (usage & wgpu::BufferUsage::Indirect) { in VulkanBufferUsage() 56 if (usage & wgpu::BufferUsage::QueryResolve) { in VulkanBufferUsage() 63 VkPipelineStageFlags VulkanPipelineStage(wgpu::BufferUsage usage) { in VulkanPipelineStage() argument [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/util/ |
| D | u_transfer.c | 9 unsigned usage, unsigned offset, in u_default_buffer_subdata() argument 16 assert(!(usage & PIPE_MAP_READ)); in u_default_buffer_subdata() 19 usage |= PIPE_MAP_WRITE; in u_default_buffer_subdata() 24 if (!(usage & PIPE_MAP_DIRECTLY)) { in u_default_buffer_subdata() 26 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in u_default_buffer_subdata() 28 usage |= PIPE_MAP_DISCARD_RANGE; in u_default_buffer_subdata() 34 map = pipe->buffer_map(pipe, resource, 0, usage, &box, &transfer); in u_default_buffer_subdata() 53 unsigned usage = PIPE_MAP_WRITE; in u_default_clear_buffer() local 57 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in u_default_clear_buffer() 59 usage |= PIPE_MAP_DISCARD_RANGE; in u_default_clear_buffer() [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
| D | UnitPreferences.java | 27 public static String formMapKey(String category, String usage) { in formMapKey() argument 28 return category + "++" + usage; in formMapKey() 32 * Extracts all the sub-usages from a usage including the default one in the end. 35 * if usage : "person-height-child" 41 * @param usage 44 private static String[] getAllUsages(String usage) { in getAllUsages() argument 46 result.add(usage); in getAllUsages() 47 for (int i = usage.length() - 1; i >= 0; --i) { in getAllUsages() 48 if (usage.charAt(i) == '-') { in getAllUsages() 49 result.add(usage.substring(0, i)); in getAllUsages() [all …]
|
| /third_party/rust/crates/clap/src/error/ |
| D | mod.rs | 94 let usage = cmd.render_usage_(); in format() localVariable 96 message.format(cmd, usage); in format() 351 usage: Option<StyledStr>, in argument_conflict() 366 if let Some(usage) = usage { in argument_conflict() 368 .insert_context_unchecked(ContextKind::Usage, ContextValue::StyledStr(usage)); in argument_conflict() 379 pub(crate) fn no_equals(cmd: &Command, arg: String, usage: Option<StyledStr>) -> Self { in no_equals() 386 if let Some(usage) = usage { in no_equals() 388 .insert_context_unchecked(ContextKind::Usage, ContextValue::StyledStr(usage)); in no_equals() 430 usage: Option<StyledStr>, in invalid_subcommand() 456 if let Some(usage) = usage { in invalid_subcommand() [all …]
|
| /third_party/toybox/generated/ |
| D | help.h | 35 #define HELP_toybox "usage: toybox [--long | --help | --version | [command] [arguments...]]\n\nWith… 37 #define HELP_setenforce "usage: setenforce [enforcing|permissive|1|0]\n\nSets whether SELinux is en… 39 #define HELP_sendevent "usage: sendevent DEVICE TYPE CODE VALUE\n\nSends a Linux input event." 41 #define HELP_runcon "usage: runcon CONTEXT COMMAND [ARGS...]\n\nRun a command in a specified securi… 43 #define HELP_restorecon "usage: restorecon [-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default… 45 #define HELP_log "usage: log [-p PRI] [-t TAG] MESSAGE...\n\nLogs message to logcat.\n\n-p Use the … 47 #define HELP_load_policy "usage: load_policy FILE\n\nLoad the specified SELinux policy file." 49 #define HELP_getenforce "usage: getenforce\n\nShows whether SELinux is disabled, enforcing, or perm… 51 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command… 53 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT… [all …]
|
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| D | si_buffer.c | 34 unsigned usage) in si_cs_is_buffer_referenced() argument 36 return sctx->ws->cs_is_buffer_referenced(&sctx->gfx_cs, buf, usage); in si_cs_is_buffer_referenced() 40 unsigned usage) in si_buffer_map() argument 42 return sctx->ws->buffer_map(sctx->ws, resource->buf, &sctx->gfx_cs, usage); in si_buffer_map() 56 switch (res->b.b.usage) { in si_init_resource_fields() 152 /* Set expected VRAM and GART usage for the buffer. */ in si_init_resource_fields() 314 unsigned usage, const struct pipe_box *box, in si_buffer_get_transfer() argument 321 if (usage & PIPE_MAP_THREAD_SAFE) in si_buffer_get_transfer() 323 else if (usage & TC_TRANSFER_MAP_THREADED_UNSYNC) in si_buffer_get_transfer() 329 transfer->b.b.usage = usage; in si_buffer_get_transfer() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
| D | fd5_screen.c | 58 unsigned storage_sample_count, unsigned usage) in fd5_screen_is_format_supported() argument 64 DBG("not supported: format=%s, target=%d, sample_count=%d, usage=%x", in fd5_screen_is_format_supported() 65 util_format_name(format), target, sample_count, usage); in fd5_screen_is_format_supported() 72 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd5_screen_is_format_supported() 77 if ((usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE)) && in fd5_screen_is_format_supported() 80 retval |= usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE); in fd5_screen_is_format_supported() 83 if ((usage & in fd5_screen_is_format_supported() 88 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd5_screen_is_format_supported() 93 if (usage & PIPE_BIND_SHADER_IMAGE) { in fd5_screen_is_format_supported() 99 if ((usage & PIPE_BIND_RENDER_TARGET) && (format == PIPE_FORMAT_NONE)) { in fd5_screen_is_format_supported() [all …]
|
| /third_party/ltp/testcases/kernel/controllers/cpuacct/ |
| D | cpuacct.sh | 6 # Usage 13 # 2) Check that sum ltp_test/subgroup*/cpuacct.usage = ltp_test/cpuacct.usage 19 TST_USAGE=usage 30 usage() function 33 usage: $0 nsubgroup nprocess 158 tmp=`cat $testpath/subgroup_$i/cpuacct.usage` 165 ## check that cpuacct.usage != 0 for every subgroup 167 tst_res TFAIL "cpuacct.usage is not equal to 0 for $fails subgroups" 169 tst_res TPASS "cpuacct.usage is not equal to 0 for every subgroup" 172 ## check that ltp_subgroup/cpuacct.usage == sum ltp_subgroup/subgroup*/cpuacct.usage [all …]
|
| /third_party/flutter/skia/third_party/externals/angle2/extensions/ |
| D | ANGLE_texture_usage.txt | 38 usage of a texture before the backing storage for it is allocated. 40 and type of memory used for the allocation. If the usage is not 46 This extension adds a texture usage flag that is specified via 87 Add a new section 3.7.x (Texture Usage) before section 3.7.12 and 90 "3.7.x Texture Usage 92 Texture usage can be specified via the TEXTURE_USAGE_ANGLE value 94 the texture usage must be specified before the texture contents are 97 The usage values can impact the layout and type of memory used for the 98 texture data. Specifying incorrect usage values may result in reduced 103 NONE - the default. No particular usage has been specified and it is [all …]
|
| /third_party/skia/third_party/externals/angle2/extensions/ |
| D | ANGLE_texture_usage.txt | 38 usage of a texture before the backing storage for it is allocated. 40 and type of memory used for the allocation. If the usage is not 46 This extension adds a texture usage flag that is specified via 87 Add a new section 3.7.x (Texture Usage) before section 3.7.12 and 90 "3.7.x Texture Usage 92 Texture usage can be specified via the TEXTURE_USAGE_ANGLE value 94 the texture usage must be specified before the texture contents are 97 The usage values can impact the layout and type of memory used for the 98 texture data. Specifying incorrect usage values may result in reduced 103 NONE - the default. No particular usage has been specified and it is [all …]
|