| /external/parameter-framework/upstream/parameter/ |
| D | MappingContext.cpp | 2 * Copyright (c) 2011-2015, Intel Corporation 38 bool CMappingContext::setItem(size_t itemType, const string *pStrKey, const string *pStrItem) in setItem() argument 40 if (iSet(itemType)) { in setItem() 46 mItems[itemType].strKey = pStrKey; in setItem() 49 mItems[itemType].strItem = pStrItem; in setItem() 54 const string &CMappingContext::getItem(size_t itemType) const in getItem() 56 return *mItems[itemType].strItem; in getItem() 59 size_t CMappingContext::getItemAsInteger(size_t itemType) const in getItemAsInteger() 61 if (!mItems[itemType].strItem) { in getItemAsInteger() 66 return strtoul(mItems[itemType].strItem->c_str(), nullptr, 0); in getItemAsInteger() [all …]
|
| D | MappingContext.h | 2 * Copyright (c) 2011-2015, Intel Corporation 55 * @param[in] itemType Mapping item index. 61 bool setItem(size_t itemType, const std::string *pStrKey, const std::string *pStrItem); 62 const std::string &getItem(size_t itemType) const; 63 size_t getItemAsInteger(size_t itemType) const; 72 bool iSet(size_t itemType) const;
|
| /external/openthread/src/core/common/ |
| D | iterator_utils.hpp | 31 * This file includes definitions for a generic item-pointer iterator class. 40 * @addtogroup core-iterator-utils 43 * This module includes definitions for OpenThread generic item-pointer iterator class. 50 * This template class is used as a base class for those item-pointer iterators. 55 …* Users of this class should follow CRTP-style inheritance, i.e., `IteratorType` class itself shou… 56 * from `ItemPtrIterator<ItemType, IteratorType>`. 58 * @tparam ItemType The type of the object that the iterator points to. 64 template <typename ItemType, typename IteratorType> class ItemPtrIterator 77 * This method overloads `++` operator (pre-increment) to advance the iterator. 84 void operator++(void) { static_cast<IteratorType *>(this)->Advance(); } in operator ++() [all …]
|
| /external/python/cpython2/Demo/tix/samples/ |
| D | SHList2.py | 1 # -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*- 31 self.exit = -1 61 hlist.header_create(0, itemtype=Tix.TEXT, text='Name', 63 hlist.header_create(1, itemtype=Tix.TEXT, text='Position', 108 hlist.add ('.', itemtype=Tix.TEXT, text=boss[1], 110 hlist.item_create('.', 1, itemtype=Tix.TEXT, text=boss[2], 118 hlist.add(e, itemtype=Tix.TEXT, text=name, 120 hlist.item_create(e, 1, itemtype=Tix.TEXT, text=posn, 133 hlist.item_create(entrypath, 1, itemtype=Tix.TEXT,
|
| /external/doclava/res/assets/templates-sdk/ |
| D | designpage.cs | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 7 Android Design<?cs if:page.title ?> - <?cs var:page.title ?><?cs /if ?> 9 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> 11 <link rel="stylesheet" href="<?cs var:toroot ?>assets/yui-3.3.0-reset-min.css"> 13 <script src="<?cs var:toroot ?>assets/jquery-1.6.2.min.js"></script> 17 <body class="gc-documentation 21 /if ?>" itemscope itemtype="http://schema.org/Article"> 24 <div id="page-container"> 26 …<div id="page-header" itemscope itemtype="http://schema.org/WPHeader"><a href="<?cs var:toroot ?>d… 28 <div id="main-row"> [all …]
|
| /external/perfetto/ui/src/frontend/ |
| D | pivot_table.ts | 8 * http://www.apache.org/licenses/LICENSE-2.0 153 m('i.material-icons', 'arrow_right'))); 165 const colspan = treeDepth - path.length + 1; 174 m('i.material-icons', 178 m('td', {colspan}, button, `${path[path.length - 1].nextKey}`)); 262 [m('td.total-values', 278 itemType: 'regular', 301 itemType: 'regular', 326 itemType: 'group', 327 itemId: `aggregations-${table}`, [all …]
|
| D | popup_menu.ts | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 itemType: 'regular'; property 33 itemType: 'regular', 40 itemType: 'group'; property 137 switch (item.itemType) { 140 'button.open-menu', 153 m('button.open-menu.disallow-selection', 166 isExpanded ? m('div.nested-menu', 176 '.dropdown-button', 183 m('i.material-icons', vnode.attrs.icon), [all …]
|
| D | widgets_page.ts | 7 // http://www.apache.org/licenses/LICENSE-2.0 84 m('', `A very simple portal - a div rendered outside of the normal 153 '.widget-controls', 189 '.widget-block', 194 'widget-container', 195 wide && 'widget-container-wide', 262 '.widgets-page', 438 {itemType: 'regular', text: 'New', callback: () => {}}, 439 {itemType: 'regular', text: 'Open', callback: () => {}}, 440 {itemType: 'regular', text: 'Save', callback: () => {}}, [all …]
|
| /external/pdfium/xfa/fxfa/layout/ |
| D | cxfa_layoutitem.h | 2 // Use of this source code is governed by a BSD-style license that can be 44 enum ItemType { kViewItem, kContentItem }; enum 45 CXFA_LayoutItem(CXFA_Node* pNode, ItemType type); 48 const ItemType m_ItemType; 53 return item ? item->AsViewLayoutItem() : nullptr; in ToViewLayoutItem() 57 return item ? item->AsContentLayoutItem() : nullptr; in ToContentLayoutItem()
|
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
| D | DexWriter.java | 107 public static final int NO_INDEX = -1; 142 // - DexWriter.overflowableSections 143 // - DexPool.sections 272 …* Checks whether any of the size-sensitive constant pools have overflowed and have more than 64Ki … 275 * overflowed items are not referenced anywhere that uses a 16-bit index. 277 * @return true if any of the size-sensitive constant pools have overflowed 284 …* Checks whether any of the size-sensitive constant pools have more than the supplied maximum numb… 286 …* @param maxPoolSize the maximum number of entries allowed in any of the size-sensitive constant p… 287 … * @return true if any of the size-sensitive constant pools have overflowed the supplied size limit 361 md = MessageDigest.getInstance("SHA-1"); [all …]
|
| /external/perfetto/src/traced/probes/filesystem/ |
| D | lru_inode_cache.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 42 using ItemType = std::pair<const InodeKey, InodeMapValue>; 43 using ListIteratorType = std::list<ItemType>::iterator; 50 std::list<ItemType> list_;
|
| /external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/ |
| D | DexBackedDexFile.java | 40 import com.android.tools.smali.dexlib2.dexbacked.raw.ItemType; 118 MapItem mapItem = getMapItemForSection(ItemType.HIDDENAPI_CLASS_DATA_ITEM); in DexBackedDexFile() 154 MapItem mapItem = getMapItemForSection(ItemType.HIDDENAPI_CLASS_DATA_ITEM); in DexBackedDexFile() 297 public MapItem getMapItemForSection(int itemType) { 299 if (mapItem.getType() == itemType) { 341 if (index == -1) { 377 if (index == -1) { 512 MapItem mapItem = getMapItemForSection(ItemType.CALL_SITE_ID_ITEM); 521 MapItem mapItem = getMapItemForSection(ItemType.CALL_SITE_ID_ITEM); 543 MapItem mapItem = getMapItemForSection(ItemType.METHOD_HANDLE_ITEM); [all …]
|
| /external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/ |
| D | DexWriter.java | 44 import com.android.tools.smali.dexlib2.dexbacked.raw.ItemType; 169 public static final int NO_INDEX = -1; 207 // - DexWriter.overflowableSections 208 // - DexPool.sections 345 …* Checks whether any of the size-sensitive constant pools have overflowed and have more than 64Ki … 348 * overflowed items are not referenced anywhere that uses a 16-bit index. 350 * @return true if any of the size-sensitive constant pools have overflowed 357 …* Checks whether any of the size-sensitive constant pools have more than the supplied maximum numb… 359 …* @param maxPoolSize the maximum number of entries allowed in any of the size-sensitive constant p… 360 … * @return true if any of the size-sensitive constant pools have overflowed the supplied size limit [all …]
|
| /external/openscreen/discovery/mdns/ |
| D | mdns_reader.h | 2 // Use of this source code is governed by a BSD-style license that can be 63 template <class ItemType> 64 bool Read(uint16_t count, std::vector<ItemType>* out) { in Read() 66 out->reserve(count); in Read() 68 ItemType entry; in Read() 72 out->emplace_back(std::move(entry)); in Read()
|
| D | mdns_writer.h | 2 // Use of this source code is governed by a BSD-style license that can be 52 template <class ItemType> 53 bool Write(const std::vector<ItemType>& collection) { in Write() 55 for (const ItemType& entry : collection) { in Write()
|
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
| D | DexBackedDexFile.java | 130 // Will only be true for a dalvik-style odex file 135 …// Will be true for both a dalvik-style odex file, and an art-style odex file embedded in an oat f… 200 MapItem mapItem = getMapItemForSection(ItemType.CALL_SITE_ID_ITEM); 208 MapItem mapItem = getMapItemForSection(ItemType.METHOD_HANDLE_ITEM); 240 MapItem mapItem = getMapItemForSection(ItemType.CALL_SITE_ID_ITEM); 248 MapItem mapItem = getMapItemForSection(ItemType.METHOD_HANDLE_ITEM); 266 if (stringIndex == -1) { 281 if (typeIndex == -1) { 385 public MapItem getMapItemForSection(int itemType) { 387 if (mapItem.getType() == itemType) {
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/ |
| D | AttributeSetBuilderTest.java | 99 assertThat(roboAttributeSet.getAttributeResourceValue(APP_NS, "message", -1)) in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull() 100 .isEqualTo(-1); in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull() 108 assertThat(roboAttributeSet.getAttributeResourceValue(APP_NS, "message", -1)) in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet() 109 .isEqualTo(-1); in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet() 231 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "itemType", 24)) in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesWhenNotInAttributeSet() 238 .addAttribute(R.attr.itemType, "ungulate") in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 241 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "itemType", 24)) in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 245 .addAttribute(R.attr.itemType, "marsupial") in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 248 assertThat(roboAttributeSet2.getAttributeIntValue(APP_NS, "itemType", 24)) in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 256 .addAttribute(R.attr.itemType, "simian") in shouldFailOnMissingEnumValue()
|
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
| D | AttributeSetBuilderTest.java | 93 assertThat(roboAttributeSet.getAttributeResourceValue(APP_NS, "message", -1)) in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull() 94 .isEqualTo(-1); in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull() 102 assertThat(roboAttributeSet.getAttributeResourceValue(APP_NS, "message", -1)) in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet() 103 .isEqualTo(-1); in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet() 223 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "itemType", 24)) in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesWhenNotInAttributeSet() 230 .addAttribute(R.attr.itemType, "ungulate") in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 233 assertThat(roboAttributeSet.getAttributeIntValue(APP_NS, "itemType", 24)) in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 237 .addAttribute(R.attr.itemType, "marsupial") in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 240 assertThat(roboAttributeSet2.getAttributeIntValue(APP_NS, "itemType", 24)) in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet() 248 .addAttribute(R.attr.itemType, "simian") in shouldFailOnMissingEnumValue()
|
| /external/google-smali/baksmali/src/test/java/com/android/tools/smali/baksmali/ |
| D | HiddenApiRestrictionsTest.java | 35 import com.android.tools.smali.dexlib2.dexbacked.raw.ItemType; 51 " return-void\n" + in testNoHiddenApiRestrictions() 56 … Assert.assertNull(classDef.dexFile.getMapItemForSection(ItemType.HIDDENAPI_CLASS_DATA_ITEM)); in testNoHiddenApiRestrictions() 66 " return-void\n" + in testWithHiddenApiRestrictions() 71 … Assert.assertNotNull(classDef.dexFile.getMapItemForSection(ItemType.HIDDENAPI_CLASS_DATA_ITEM)); in testWithHiddenApiRestrictions() 81 " return-void\n" + in testWithHiddenApiRestrictionsWithLowerApi()
|
| /external/libxml2/test/schemas/ |
| D | xsd-list-itemType_0.xsd | 1 <?xml version="1.0" encoding="ISO-8859-1" ?> 3 <!-- This test checks the implementation of the "itemType" attribute of the xsd:list element. --> 9 <list itemType="string"/>
|
| D | cos-st-restricts-1-2-err_0.xsd | 1 <?xml version="1.0" encoding="ISO-8859-1"?> 10 <list itemType="integer"/> 16 <!--restriction base="foo:type.base.A"> 18 </restriction--> 23 <list itemType="integer"/>
|
| /external/cronet/third_party/libxml/fuzz/seed_corpus/ |
| D | 5bbfae7061d2f7091265014f9c6aa5b7211f0e15 | 1 <?xml version="1.0" encoding="ISO-8859-1" ?> 3 <!-- This test checks the implementation of the "itemType" attribute of the xsd:list element. --> 9 <list itemType="string"/>
|
| D | 1e82fff4b132ce695652529980f1c904d28b7791 | 1 <?xml version="1.0" encoding="ISO-8859-1"?> 10 <list itemType="integer"/> 16 <!--restriction base="foo:type.base.A"> 18 </restriction--> 23 <list itemType="integer"/>
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
| D | TGParser.cpp | 1 //===- TGParser.cpp - Parser for TableGen Files ---------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 18 #include "llvm/Config/llvm-config.h" 30 //===----------------------------------------------------------------------===// 32 //===----------------------------------------------------------------------===// 61 MC->dump(); in dump() 65 TA->dump(); in dump() 73 for (unsigned i = 0, e = BV->getNumBits(); i != e; ++i) { in checkBitsConcrete() [all …]
|
| /external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/raw/ |
| D | SectionAnnotator.java | 46 public final int itemType; field in SectionAnnotator 55 this.itemType = mapItem.getType(); in SectionAnnotator() 57 if (mapItem.getType() >= ItemType.MAP_LIST) { in SectionAnnotator() 87 out.annotate(0, "-----------------------------"); in annotateSectionInner() 89 out.annotate(0, "-----------------------------"); in annotateSectionInner()
|