| /external/deqp/scripts/khr_util/ |
| D | registry.py | 1 # -*- coding: utf-8 -*- 3 #------------------------------------------------------------------------- 5 # -------------------------------------- 13 # http://www.apache.org/licenses/LICENSE-2.0 21 #------------------------------------------------------------------------- 35 …warning('%s:%d, %s %s: ' + fmt, elem.base, elem.sourceline, elem.tag, elem.get('name') or '', *arg… 59 kwargs.setdefault('name', elem.get('name')) 60 kwargs.setdefault('comment', elem.get('comment')) 67 value=eEnum.get('value'), 68 type=eEnum.get('type'), [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 66 max_required[-1] += 1 89 filename = docs.get('meta.summary', 'SUMMARY').strip() 91 fp = open(filename, encoding='utf-8') 101 filename = docs.get('meta.description', 'DESCRIPTION').strip() 103 fp = open(filename, encoding='utf-8') 115 )['title'].encode('utf-8') 127 filename = docs.get('meta.classifiers', 'CLASSIFIERS').strip() [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 65 max_required[-1] += 1 88 filename = docs.get('meta.summary', 'SUMMARY').strip() 100 filename = docs.get('meta.description', 'DESCRIPTION').strip() 114 )['title'].encode('utf-8') 126 filename = docs.get('meta.classifiers', 'CLASSIFIERS').strip() 133 content = [item.strip() for item in content.splitlines()] 134 return [item for item in content if item and not item.startswith('#')] [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 65 max_required[-1] += 1 88 filename = docs.get('meta.summary', 'SUMMARY').strip() 100 filename = docs.get('meta.description', 'DESCRIPTION').strip() 114 )['title'].encode('utf-8') 126 filename = docs.get('meta.classifiers', 'CLASSIFIERS').strip() 133 content = [item.strip() for item in content.splitlines()] 134 return [item for item in content if item and not item.startswith('#')] [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/ |
| D | setup.py | 1 # -*- coding: ascii -*- 3 # Copyright 2007 - 2013 10 # http://www.apache.org/licenses/LICENSE-2.0 66 max_required[-1] += 1 89 filename = docs.get('meta.summary', 'SUMMARY').strip() 91 fp = open(filename, encoding='utf-8') 101 filename = docs.get('meta.description', 'DESCRIPTION').strip() 103 fp = open(filename, encoding='utf-8') 115 )['title'].encode('utf-8') 127 filename = docs.get('meta.classifiers', 'CLASSIFIERS').strip() [all …]
|
| /external/rust/crates/fallible-streaming-iterator/src/ |
| D | lib.rs | 15 #![doc(html_root_url = "https://docs.rs/fallible-streaming-iterator/0.1")] 28 type Item: ?Sized; typedef 35 /// Iterators start just before the first item, so this method should be called before `get` 38 /// The behavior of calling this method after `get` has returned `None`, or after this method 40 fn advance(&mut self) -> Result<(), Self::Error>; in advance() 45 fn get(&self) -> Option<&Self::Item>; in get() argument 49 /// The default implementation simply calls `advance` followed by `get`. 51 fn next(&mut self) -> Result<Option<&Self::Item>, Self::Error> { in next() argument 53 Ok((*self).get()) in next() 58 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() [all …]
|
| /external/aws-sdk-java-v2/services/dynamodb/src/it/java/software/amazon/awssdk/services/dynamodb/ |
| D | DynamoServiceIntegrationTest.java | 107 Map<String, AttributeValue> item = new HashMap<String, AttributeValue>(); in testNullQueryKeyErrorHandling() local 108 // Put a valid item first in testNullQueryKeyErrorHandling() 109 item.put(HASH_KEY_NAME, AttributeValue.builder().s("bar").build()); in testNullQueryKeyErrorHandling() 110 item.put("age", AttributeValue.builder().s("30").build()); in testNullQueryKeyErrorHandling() 111 …PutItemRequest putItemRequest = PutItemRequest.builder().tableName(tableName).item(item).returnVal… in testNullQueryKeyErrorHandling() 134 …writeRequests.add(WriteRequest.builder().putRequest(PutRequest.builder().item(writeAttributes).bui… in testNullQueryKeyErrorHandling() 135 …writeRequests.add(WriteRequest.builder().putRequest(PutRequest.builder().item(null).build()).build… in testNullQueryKeyErrorHandling() 151 … DeleteTableRequest request = DeleteTableRequest.builder().tableName("non-existent-table").build(); in testErrorHandling() 205 …writeRequests.add(WriteRequest.builder().putRequest(PutRequest.builder().item(writeAttributes).bui… in testBatchWriteTooManyItemsErrorHandling() 233 assertEquals(HASH_KEY_NAME, tableDescription.keySchema().get(0).attributeName()); in testServiceOperations() [all …]
|
| D | SecondaryIndexesIntegrationTest.java | 90 tableDescription.keySchema().get(0) in testDescribeTempTableWithIndexes() 93 .keySchema().get(0).keyType()); in testDescribeTempTableWithIndexes() 95 .get(1).attributeName()); in testDescribeTempTableWithIndexes() 97 .keySchema().get(1).keyType()); in testDescribeTempTableWithIndexes() 101 .localSecondaryIndexes().get(0).indexName()); in testDescribeTempTableWithIndexes() 103 .localSecondaryIndexes().get(0).keySchema().size()); in testDescribeTempTableWithIndexes() 105 .localSecondaryIndexes().get(0).keySchema().get(0).attributeName()); in testDescribeTempTableWithIndexes() 107 .localSecondaryIndexes().get(0).keySchema().get(0).keyType()); in testDescribeTempTableWithIndexes() 109 .localSecondaryIndexes().get(0).keySchema().get(1).attributeName()); in testDescribeTempTableWithIndexes() 111 .localSecondaryIndexes().get(0).keySchema().get(1).keyType()); in testDescribeTempTableWithIndexes() [all …]
|
| /external/libese/ready_se/google/keymint/KM300/HAL/ |
| D | CborConverter.cpp | 9 ** http://www.apache.org/licenses/LICENSE-2.0 23 #include <android-base/logging.h> 43 ? std::optional(static_cast<uint32_t>(value.get<aidl_tag>())) in aidlEnumVal2Uint32() 80 array.add(Bstr(attestationKey->keyBlob)); in addAttestationKey() 81 addKeyparameters(array, attestationKey->attestKeyParams); in addAttestationKey() 82 array.add(Bstr(attestationKey->issuerSubjectName)); in addAttestationKey() 107 uint32_t intVal = param.value.get<KeyParameterValue::integer>(); in addKeyparameters() 113 uint32_t intVal = param.value.get<KeyParameterValue::integer>(); in addKeyparameters() 126 uint64_t longVal = param.value.get<KeyParameterValue::longInteger>(); in addKeyparameters() 132 uint64_t longVal = param.value.get<KeyParameterValue::longInteger>(); in addKeyparameters() [all …]
|
| /external/rust/crates/toml_edit/src/ |
| D | index.rs | 6 use crate::{value, InlineTable, InternalString, Item, Table, Value}; 9 // https://github.com/serde-rs/json/blob/master/src/value/index.rs 13 fn index<'v>(&self, val: &'v Item) -> Option<&'v Item>; in index() argument 15 fn index_mut<'v>(&self, val: &'v mut Item) -> Option<&'v mut Item>; in index_mut() argument 19 fn index<'v>(&self, v: &'v Item) -> Option<&'v Item> { in index() argument 21 Item::ArrayOfTables(ref aot) => aot.values.get(*self), in index() 22 Item::Value(ref a) if a.is_array() => a.as_array().and_then(|a| a.values.get(*self)), in index() 26 fn index_mut<'v>(&self, v: &'v mut Item) -> Option<&'v mut Item> { in index_mut() argument 28 Item::ArrayOfTables(ref mut vec) => vec.values.get_mut(*self), in index_mut() 29 Item::Value(ref mut a) => a.as_array_mut().and_then(|a| a.values.get_mut(*self)), in index_mut() [all …]
|
| /external/rust/crates/sharded-slab/src/tests/ |
| D | loom_pool.rs | 32 fn eq(&self, other: &State) -> bool { in eq() 41 fn eq(&self, other: &DontDropMe) -> bool { in eq() 47 fn new(id: usize) -> (Arc<State>, Self) { in new() 59 test_println!("-> DontDropMe drop: dropping data {:?}", self.0.id); in drop() 66 test_println!("-> DontDropMe clear: clearing data {:?}", self.0.id); in clear() 76 test_println!("-> dont_drop: Inserting into pool {}", item1.id); in dont_drop() 78 .create_with(move |item| *item = value) in dont_drop() 83 test_println!("-> dont_drop: clearing idx: {}", idx); in dont_drop() 98 .create_with(move |item| *item = value) in concurrent_create_with_clear() 105 test_println!("-> making get request"); in concurrent_create_with_clear() [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/iron-selector/ |
| D | iron-selection.html | 2 <!-- 10 --> 28 * Retrieves the selected item(s). 30 * @method get 31 * @returns Returns the selected item(s). If the multi property is true, 32 * `get` will return an array, otherwise it will return 33 * the selected item or undefined if there is no selection. 35 get: function() { 46 this.selection.slice().forEach(function(item) { 47 if (!excludes || excludes.indexOf(item) < 0) { [all …]
|
| /external/python/cpython3/Lib/ |
| D | queue.py | 1 '''A multi-producer, multi-consumer queue.''' 20 'Exception raised by Queue.get(block=0)/get_nowait().' 44 # Notify not_empty whenever an item is added to the queue; a 45 # thread waiting to get is notified then. 48 # Notify not_full whenever an item is removed from the queue; 60 Used by Queue consumer threads. For each get() used to fetch a task, 66 for every item that had been put() into the queue). 72 unfinished = self.unfinished_tasks - 1 82 The count of unfinished tasks goes up whenever an item is added to the 84 to indicate the item was retrieved and all work on it is complete. [all …]
|
| /external/libese/ready_se/google/keymint/KM200/HAL/ |
| D | CborConverter.cpp | 9 ** http://www.apache.org/licenses/LICENSE-2.0 23 #include <android-base/logging.h> 43 ? std::optional(static_cast<uint32_t>(value.get<aidl_tag>())) in aidlEnumVal2Uint32() 80 array.add(Bstr(attestationKey->keyBlob)); in addAttestationKey() 81 addKeyparameters(array, attestationKey->attestKeyParams); in addAttestationKey() 82 array.add(Bstr(attestationKey->issuerSubjectName)); in addAttestationKey() 107 uint32_t intVal = param.value.get<KeyParameterValue::integer>(); in addKeyparameters() 113 uint32_t intVal = param.value.get<KeyParameterValue::integer>(); in addKeyparameters() 126 uint64_t longVal = param.value.get<KeyParameterValue::longInteger>(); in addKeyparameters() 132 uint64_t longVal = param.value.get<KeyParameterValue::longInteger>(); in addKeyparameters() [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | queue.rst | 1 :mod:`queue` --- A synchronized queue class 9 -------------- 11 The :mod:`queue` module implements multi-producer, multi-consumer queues. 17 which the entries are retrieved. In a :abbr:`FIFO (first-in, first-out)` 19 :abbr:`LIFO (last-in, first-out)` queue, the most recently added entry is 29 :abbr:`FIFO (first-in, first-out)` queue type, :class:`SimpleQueue`, whose 37 Constructor for a :abbr:`FIFO (first-in, first-out)` queue. *maxsize* is 45 Constructor for a :abbr:`LIFO (last-in, first-out)` queue. *maxsize* is 64 that ignores the data item and only compares the priority number:: 72 item: Any=field(compare=False) [all …]
|
| /external/mesa3d/src/gfxstream/host/vulkan/ |
| D | VkReconstruction.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 #include "render-utils/IOStream.h" 66 const HandleReconstruction& item) { in save() argument 67 for (auto handle : item.childHandles) { in save() 76 const HandleReconstruction& item) { in save() argument 98 auto item = mHandleReconstructions.get(handle); in save() local 99 // item could have been deleted. in save() 100 if (!item) { in save() 104 for (auto apiHandle : item->apiRefs) { in save() 115 for (auto childHandle : item->childHandles) { in save() [all …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/ |
| D | TransactGetItemsOperationTest.java | 52 import software.amazon.awssdk.services.dynamodb.model.Get; 60 private static final String TABLE_NAME = "table-name"; 61 private static final String TABLE_NAME_2 = "table-name-2"; 64 IntStream.range(0, 6).mapToObj($ -> createUniqueFakeItem()).collect(toList()); 67 … .map(item -> FakeItem.getTableSchema().itemToMap(item, FakeItem.getTableMetadata().primaryKeys())) 70 …FAKE_ITEMS.stream().map(fakeItem -> Key.builder().partitionValue(fakeItem.getId()).build()).collec… 74 .mapToObj($ -> createUniqueFakeItemWithSort()).collect(toList()); 78 .map(item -> FakeItemWithSort.getTableSchema() 79 … .itemToMap(item, FakeItemWithSort.getTableMetadata().primaryKeys())) 83 .map(fakeItemWithSort -> Key.builder() [all …]
|
| /external/mesa3d/.gitlab-ci/windows/ |
| D | mesa_deps_test_deqp.ps1 | 4 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent 7 $source_dir = Join-Path -Path "$PWD" -ChildPath "src" 8 $deqp_source = Join-Path -Path "$source_dir" -ChildPath "VK-GL-CTS" 9 $deqp_build = Join-Path -Path "$PWD" -ChildPath "deqp" 11 Write-Host "Cloning Vulkan and GL Conformance Tests at:" 12 Get-Date 13 New-Item -ItemType Directory -Path "$deqp_source" | Out-Null 14 Push-Location -Path $deqp_source 16 git remote add origin https://github.com/KhronosGroup/VK-GL-CTS.git 17 git fetch --depth 1 origin 56114106d860c121cd6ff0c3b926ddc50c4c11fd # of branch vulkan-cts-1.3.4 [all …]
|
| D | mesa_deps_d3d.ps1 | 7 $depsInstallPath="C:\mesa-deps" 9 Write-Host "Downloading DirectX 12 Agility SDK at:" 10 Get-Date 11 Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.610.2 -OutFi… 12 Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility' 13 # Copy Agility SDK into mesa-deps\bin\D3D12 14 New-Item -ErrorAction SilentlyContinue -ItemType Directory -Path $depsInstallPath\bin -Name 'D3D12' 15 Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $depsInstallPath\bin\D3D12 16 Remove-Item 'agility.zip' 17 Remove-Item -Recurse 'C:\agility' [all …]
|
| D | mesa_deps_test_piglit.ps1 | 4 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent 7 $source_dir = Join-Path -Path "$PWD" -ChildPath "src" 8 $waffle_source = Join-Path -Path "$source_dir" -ChildPath "waffle" 9 $waffle_install = Join-Path -Path "$PWD" -ChildPath "waffle" 10 $piglit_source = Join-Path -Path "$PWD" -ChildPath "Piglit" 12 Write-Host "Cloning Waffle at:" 13 Get-Date 14 New-Item -ItemType Directory -Path "$waffle_source" | Out-Null 15 Push-Location -Path $waffle_source 18 git fetch --depth 1 origin 950a1f35a718bc2a8e1dda75845e52651bb331a7 # of branch master [all …]
|
| /external/cronet/third_party/icu/source/test/depstest/ |
| D | dependencies.py | 1 #! /usr/bin/python -B 2 # -*- coding: utf-8 -*- 6 # Copyright (C) 2011-2014, International Business Machines 19 items: Map from library or group names to item maps. 20 Each item has a "type" ("library" or "group" or "system_symbols"). 21 A library or group item can have an optional set of "files" (as in the files attribute). 22 Each item can have an optional set of "deps" (libraries & groups). 23 A group item also has a "library" name unless it is a group of system symbols. 24 The one "system_symbols" item and its groups have sets of "system_symbols" 25 with standard-library system symbol names. [all …]
|
| /external/icu/icu4c/source/test/depstest/ |
| D | dependencies.py | 1 #! /usr/bin/python -B 2 # -*- coding: utf-8 -*- 6 # Copyright (C) 2011-2014, International Business Machines 19 items: Map from library or group names to item maps. 20 Each item has a "type" ("library" or "group" or "system_symbols"). 21 A library or group item can have an optional set of "files" (as in the files attribute). 22 Each item can have an optional set of "deps" (libraries & groups). 23 A group item also has a "library" name unless it is a group of system symbols. 24 The one "system_symbols" item and its groups have sets of "system_symbols" 25 with standard-library system symbol names. [all …]
|
| /external/python/cpython2/Lib/ |
| D | Queue.py | 1 """A multi-producer, multi-consumer queue.""" 14 "Exception raised by Queue.get(block=0)/get_nowait()." 34 # Notify not_empty whenever an item is added to the queue; a 35 # thread waiting to get is notified then. 37 # Notify not_full whenever an item is removed from the queue; 48 Used by Queue consumer threads. For each get() used to fetch a task, 54 for every item that had been put() into the queue). 61 unfinished = self.unfinished_tasks - 1 73 The count of unfinished tasks goes up whenever an item is added to the 75 to indicate the item was retrieved and all work on it is complete. [all …]
|
| /external/rust/crates/bindgen/ir/ |
| D | item.rs | 31 /// A trait to get the canonical name from an item. 42 /// Get the canonical name for this item. 43 fn canonical_name(&self, ctx: &BindgenContext) -> String; in canonical_name() 46 /// The same, but specifies the path that needs to be followed to reach an item. 59 /// Get the namespace-aware canonical path for this item. This means that if 60 /// namespaces are disabled, you'll get a single item, and otherwise you get 65 ) -> Vec<String>; in namespace_aware_canonical_path() 67 /// Get the canonical path for this item. 68 fn canonical_path(&self, ctx: &BindgenContext) -> Vec<String>; in canonical_path() 79 fn is_opaque(&self, ctx: &BindgenContext, extra: &Self::Extra) -> bool; in is_opaque() [all …]
|
| /external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/ |
| D | Finder_items.py | 1 """Suite Finder items: Commands used with file system items, and basic item definition 24 _arguments['----'] = _object 29 if _arguments.get('errn', 0): 32 if _arguments.has_key('----'): 33 return _arguments['----'] 49 _arguments['----'] = _object 54 if _arguments.get('errn', 0): 57 if _arguments.has_key('----'): 58 return _arguments['----'] 69 _arguments['----'] = _object [all …]
|