Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 25 of 26) 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/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.java2147 char itemType = 0; // 0 for string literal, otherwise date/time pattern character in getPatternItems() local
2160 if (itemType != 0) { in getPatternItems()
2161 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2162 itemType = 0; in getPatternItems()
2173 if (ch == itemType) { in getPatternItems()
2176 if (itemType == 0) { in getPatternItems()
2182 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2184 itemType = ch; in getPatternItems()
2189 if (itemType != 0) { in getPatternItems()
2190 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
[all …]
/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.java2157 char itemType = 0; // 0 for string literal, otherwise date/time pattern character in getPatternItems() local
2170 if (itemType != 0) { in getPatternItems()
2171 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2172 itemType = 0; in getPatternItems()
2183 if (ch == itemType) { in getPatternItems()
2186 if (itemType == 0) { in getPatternItems()
2192 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2194 itemType = ch; in getPatternItems()
2199 if (itemType != 0) { in getPatternItems()
2200 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
[all …]
/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.cpp473 ri::Type itemType = getResultItemType(elemName); in handleElementStart() local
478 switch (itemType) in handleElementStart()
740 ri::Type itemType = getResultItemType(elemName); in handleElementEnd() local
743 if (!curItem || itemType != curItem->getType()) in handleElementEnd()
746 if (itemType == ri::TYPE_RESULT) in handleElementEnd()
752 else if (itemType == ri::TYPE_NUMBER) in handleElementEnd()
759 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/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()
/external/libxml2/
Dxmlschemas.c655 xmlSchemaTypeType itemType; member
5006 xmlSchemaTypeType itemType, in xmlSchemaGetNamedComponent() argument
5010 switch (itemType) { in xmlSchemaGetNamedComponent()
5459 ret->itemType = refType; in xmlSchemaNewQNameRef()
15137 ref->itemType, ref->name, ref->targetNamespace); in xmlSchemaResolveTypeReferences()
15141 "ref", ref->name, ref->targetNamespace, ref->itemType, in xmlSchemaResolveTypeReferences()
15374 xmlSchemaTypePtr itemType = NULL; in xmlSchemaCheckCOSSTRestricts() local
15376 itemType = type->subtypes; in xmlSchemaCheckCOSSTRestricts()
15377 if ((itemType == NULL) || (! WXS_IS_SIMPLE(itemType))) { in xmlSchemaCheckCOSSTRestricts()
15382 if (WXS_IS_TYPE_NOT_FIXED(itemType)) in xmlSchemaCheckCOSSTRestricts()
[all …]
/external/python/cpython3/Lib/tkinter/
D__init__.py2763 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) argument
2772 self._w, 'create', itemType,
3282 def add(self, itemType, cnf={}, **kw): argument
3284 self.tk.call((self._w, 'add', itemType) +
3307 def insert(self, index, itemType, cnf={}, **kw): argument
3309 self.tk.call((self._w, 'insert', index, itemType) +
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java475 Type itemType = Type.fromString(itemParts.getAttributeValue(5, "type")); in handleCheck() local
478 …if (!dateFormatInfoFormat.collisionIsError(type, dayPeriod, itemType, itemDayPeriod, sampleError))… in handleCheck()

12