Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 25 of 29) sorted by relevance

12

/external/parameter-framework/upstream/parameter/
DMappingContext.cpp38 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()
77 bool CMappingContext::iSet(size_t itemType) const in iSet()
[all …]
DMappingContext.h61 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/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DMapItem.java82 int itemType = dexFile.readUshort(out.getCursor()); in makeAnnotator() local
83 out.annotate(2, "type = 0x%x: %s", itemType, ItemType.getItemTypeName(itemType)); in makeAnnotator()
DItemType.java59 public static String getItemTypeName(int itemType) { in getItemTypeName() argument
60 switch (itemType) { in getItemTypeName()
DSectionAnnotator.java46 public final int itemType; field in SectionAnnotator
55 this.itemType = mapItem.getType(); in SectionAnnotator()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java1149 public String getPatternForCurrencySpacing(int itemType, boolean beforeCurrency) { in getPatternForCurrencySpacing() argument
1150 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in getPatternForCurrencySpacing()
1151 itemType > CURRENCY_SPC_INSERT ) { in getPatternForCurrencySpacing()
1152 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in getPatternForCurrencySpacing()
1155 return currencySpcBeforeSym[itemType]; in getPatternForCurrencySpacing()
1157 return currencySpcAfterSym[itemType]; in getPatternForCurrencySpacing()
1177 public void setPatternForCurrencySpacing(int itemType, boolean beforeCurrency, String pattern) { in setPatternForCurrencySpacing() argument
1178 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in setPatternForCurrencySpacing()
1179 itemType > CURRENCY_SPC_INSERT ) { in setPatternForCurrencySpacing()
1180 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in setPatternForCurrencySpacing()
[all …]
DTimeZoneFormat.java2019 char itemType = 0; // 0 for string literal, otherwise time pattern character
2034 if (itemType != 0) {
2035 if (GMTOffsetField.isValid(itemType, itemLength)) {
2036 items.add(new GMTOffsetField(itemType, itemLength));
2041 itemType = 0;
2053 if (ch == itemType) {
2056 if (itemType == 0) {
2062 if (GMTOffsetField.isValid(itemType, itemLength)) {
2063 items.add(new GMTOffsetField(itemType, itemLength));
2069 itemType = ch;
[all …]
DSimpleDateFormat.java2170 char itemType = 0; // 0 for string literal, otherwise date/time pattern character in getPatternItems() local
2183 if (itemType != 0) { in getPatternItems()
2184 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2185 itemType = 0; in getPatternItems()
2196 if (ch == itemType) { in getPatternItems()
2199 if (itemType == 0) { in getPatternItems()
2205 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2207 itemType = ch; in getPatternItems()
2212 if (itemType != 0) { in getPatternItems()
2213 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java1063 public String getPatternForCurrencySpacing(int itemType, boolean beforeCurrency) { in getPatternForCurrencySpacing() argument
1064 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in getPatternForCurrencySpacing()
1065 itemType > CURRENCY_SPC_INSERT ) { in getPatternForCurrencySpacing()
1066 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in getPatternForCurrencySpacing()
1069 return currencySpcBeforeSym[itemType]; in getPatternForCurrencySpacing()
1071 return currencySpcAfterSym[itemType]; in getPatternForCurrencySpacing()
1090 public void setPatternForCurrencySpacing(int itemType, boolean beforeCurrency, String pattern) { in setPatternForCurrencySpacing() argument
1091 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in setPatternForCurrencySpacing()
1092 itemType > CURRENCY_SPC_INSERT ) { in setPatternForCurrencySpacing()
1093 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in setPatternForCurrencySpacing()
[all …]
DTimeZoneFormat.java1949 char itemType = 0; // 0 for string literal, otherwise time pattern character
1964 if (itemType != 0) {
1965 if (GMTOffsetField.isValid(itemType, itemLength)) {
1966 items.add(new GMTOffsetField(itemType, itemLength));
1971 itemType = 0;
1983 if (ch == itemType) {
1986 if (itemType == 0) {
1992 if (GMTOffsetField.isValid(itemType, itemLength)) {
1993 items.add(new GMTOffsetField(itemType, itemLength));
1999 itemType = ch;
[all …]
DSimpleDateFormat.java2158 char itemType = 0; // 0 for string literal, otherwise date/time pattern character in getPatternItems() local
2171 if (itemType != 0) { in getPatternItems()
2172 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2173 itemType = 0; in getPatternItems()
2184 if (ch == itemType) { in getPatternItems()
2187 if (itemType == 0) { in getPatternItems()
2193 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2195 itemType = ch; in getPatternItems()
2200 if (itemType != 0) { in getPatternItems()
2201 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdSerializer.java253 JsonSerializer<?> itemSerializer, JavaType itemType) in visitArrayFormat() argument
258 v2.itemsFormat(itemSerializer, itemType); in visitArrayFormat()
266 JsonFormatTypes itemType) in visitArrayFormat() argument
271 v2.itemsFormat(itemType); in visitArrayFormat()
/external/icu/libicu/cts_headers/
Ducnv_ext.h344 #define UCNV_EXT_ARRAY(indexes, index, itemType) \ argument
345 ((const itemType *)((const char *)(indexes)+(indexes)[index]))
/external/icu/icu4c/source/common/
Ducnv_ext.h344 #define UCNV_EXT_ARRAY(indexes, index, itemType) \ argument
345 ((const itemType *)((const char *)(indexes)+(indexes)[index]))
/external/deqp/executor/
DxeTestResultParser.cpp485 ri::Type itemType = getResultItemType(elemName); in handleElementStart() local
490 switch (itemType) in handleElementStart()
752 ri::Type itemType = getResultItemType(elemName); in handleElementEnd() local
755 if (!curItem || itemType != curItem->getType()) in handleElementEnd()
758 if (itemType == ri::TYPE_RESULT) in handleElementEnd()
764 else if (itemType == ri::TYPE_NUMBER) in handleElementEnd()
771 else if (itemType == ri::TYPE_SAMPLEVALUE) in handleElementEnd()
/external/python/cpython2/Mac/Modules/dlg/
D_Dlgmodule.c312 DialogItemType itemType; in DlgObj_GetDialogItem() local
323 &itemType, in DlgObj_GetDialogItem()
327 itemType, in DlgObj_GetDialogItem()
337 DialogItemType itemType; in DlgObj_SetDialogItem() local
345 &itemType, in DlgObj_SetDialogItem()
351 itemType, in DlgObj_SetDialogItem()
439 DialogItemType itemType; in DlgObj_InsertDialogItem() local
447 &itemType, in DlgObj_InsertDialogItem()
453 itemType, in DlgObj_InsertDialogItem()
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2448 GMTOffsetField::FieldType itemType = GMTOffsetField::TEXT; in parseOffsetPattern() local
2459 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2460 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2461 …GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), … in parseOffsetPattern()
2470 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2482 if (tmpType == itemType) { in parseOffsetPattern()
2485 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2495 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2496 …GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, static_cast<uint8_t>(itemLength), … in parseOffsetPattern()
2506 itemType = tmpType; in parseOffsetPattern()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DDexAnnotator.java182 public SectionAnnotator getAnnotator(int itemType) { in getAnnotator() argument
183 return annotators.get(itemType); in getAnnotator()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java230 .addAttribute(R.attr.itemType, "ungulate") in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet()
237 .addAttribute(R.attr.itemType, "marsupial") in getAttributeIntValue_shouldReturnEnumValuesForEnumAttributesInAttributeSet()
248 .addAttribute(R.attr.itemType, "simian") in shouldFailOnMissingEnumValue()
DR.java129 public static final int itemType=0x7f010002; field in R.attr
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java385 public MapItem getMapItemForSection(int itemType) {
387 if (mapItem.getType() == itemType) {
/external/llvm-project/flang/lib/Lower/
DIO.cpp240 auto itemType = itemValue.getType(); in genOutputItemList() local
241 auto outputFunc = getOutputFunc(loc, builder, itemType); in genOutputItemList()
245 if (helper.isCharacter(itemType)) { in genOutputItemList()
251 } else if (fir::isa_complex(itemType)) { in genOutputItemList()
312 auto itemType = itemAddr.getType().cast<fir::ReferenceType>().getEleTy(); in genInputItemList() local
313 auto inputFunc = getInputFunc(loc, builder, itemType); in genInputItemList()
317 if (itemType.isa<fir::CplxType>()) in genInputItemList()
320 itemType)); in genInputItemList()
332 if (helper.isCharacter(itemType)) { in genInputItemList()
336 } else if (itemType.isa<mlir::IntegerType>()) { in genInputItemList()
[all …]
/external/python/cpython2/Lib/lib-tk/
DCanvas.py14 def __init__(self, canvas, itemType, *args, **kw): argument
16 self.id = canvas._create(itemType, args, kw)
DTkinter.py2306 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) argument
2315 self._w, 'create', itemType,
2737 def add(self, itemType, cnf={}, **kw): argument
2739 self.tk.call((self._w, 'add', itemType) +
2756 def insert(self, index, itemType, cnf={}, **kw): argument
2758 self.tk.call((self._w, 'insert', index, itemType) +
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java251 .addAttribute(R.attr.itemType, "ungulate") in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()
266 … context.obtainStyledAttributes(roboAttributeSet, new int[]{R.attr.quitKeyCombo, R.attr.itemType}); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()

12