Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 25 of 42) 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(), NULL, 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/dexmaker/src/dx/java/com/android/dx/dex/file/
DUniformListItem.java43 private final ItemType itemType; field in UniformListItem
55 public UniformListItem(ItemType itemType, List<T> items) { in UniformListItem() argument
58 if (itemType == null) { in UniformListItem()
63 this.itemType = itemType; in UniformListItem()
104 public ItemType itemType() { in itemType() method in UniformListItem
105 return itemType; in itemType()
DOffsettedItem.java97 ItemType thisType = itemType(); in equals()
98 ItemType otherType = otherItem.itemType(); in equals()
119 ItemType thisType = itemType(); in compareTo()
120 ItemType otherType = other.itemType(); in compareTo()
DMixedItemSection.java57 ItemType type1 = item1.itemType();
58 ItemType type2 = item2.itemType();
234 public void writeIndexAnnotation(AnnotatedOutput out, ItemType itemType, in writeIndexAnnotation() argument
242 if (item.itemType() == itemType) { in writeIndexAnnotation()
DItem.java38 public abstract ItemType itemType(); in itemType() method in Item
47 return itemType().toHuman(); in typeName()
DMapItem.java87 ItemType type = item.itemType(); in addMap()
177 public ItemType itemType() { in itemType() method in MapItem
DMethodIdItem.java36 public ItemType itemType() { in itemType() method in MethodIdItem
DFieldIdItem.java36 public ItemType itemType() { in itemType() method in FieldIdItem
DAnnotationSetRefItem.java52 public ItemType itemType() { in itemType() method in AnnotationSetRefItem
DTypeIdItem.java40 public ItemType itemType() { in itemType() method in TypeIdItem
DEncodedArrayItem.java61 public ItemType itemType() { in itemType() method in EncodedArrayItem
DStringDataItem.java59 public ItemType itemType() { in itemType() method in StringDataItem
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java647 public String getPatternForCurrencySpacing(int itemType, boolean beforeCurrency) { in getPatternForCurrencySpacing() argument
648 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in getPatternForCurrencySpacing()
649 itemType > CURRENCY_SPC_INSERT ) { in getPatternForCurrencySpacing()
650 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in getPatternForCurrencySpacing()
653 return currencySpcBeforeSym[itemType]; in getPatternForCurrencySpacing()
655 return currencySpcAfterSym[itemType]; in getPatternForCurrencySpacing()
674 public void setPatternForCurrencySpacing(int itemType, boolean beforeCurrency, String pattern) { in setPatternForCurrencySpacing() argument
675 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in setPatternForCurrencySpacing()
676 itemType > CURRENCY_SPC_INSERT ) { in setPatternForCurrencySpacing()
677 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in setPatternForCurrencySpacing()
[all …]
DTimeZoneFormat.java1945 char itemType = 0; // 0 for string literal, otherwise time pattern character
1960 if (itemType != 0) {
1961 if (GMTOffsetField.isValid(itemType, itemLength)) {
1962 items.add(new GMTOffsetField(itemType, itemLength));
1967 itemType = 0;
1979 if (ch == itemType) {
1982 if (itemType == 0) {
1988 if (GMTOffsetField.isValid(itemType, itemLength)) {
1989 items.add(new GMTOffsetField(itemType, itemLength));
1995 itemType = ch;
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java699 public String getPatternForCurrencySpacing(int itemType, boolean beforeCurrency) { in getPatternForCurrencySpacing() argument
700 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in getPatternForCurrencySpacing()
701 itemType > CURRENCY_SPC_INSERT ) { in getPatternForCurrencySpacing()
702 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in getPatternForCurrencySpacing()
705 return currencySpcBeforeSym[itemType]; in getPatternForCurrencySpacing()
707 return currencySpcAfterSym[itemType]; in getPatternForCurrencySpacing()
727 public void setPatternForCurrencySpacing(int itemType, boolean beforeCurrency, String pattern) { in setPatternForCurrencySpacing() argument
728 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in setPatternForCurrencySpacing()
729 itemType > CURRENCY_SPC_INSERT ) { in setPatternForCurrencySpacing()
730 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in setPatternForCurrencySpacing()
[all …]
DTimeZoneFormat.java2015 char itemType = 0; // 0 for string literal, otherwise time pattern character
2030 if (itemType != 0) {
2031 if (GMTOffsetField.isValid(itemType, itemLength)) {
2032 items.add(new GMTOffsetField(itemType, itemLength));
2037 itemType = 0;
2049 if (ch == itemType) {
2052 if (itemType == 0) {
2058 if (GMTOffsetField.isValid(itemType, itemLength)) {
2059 items.add(new GMTOffsetField(itemType, itemLength));
2065 itemType = ch;
[all …]
/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.java57 public static String getItemTypeName(int itemType) { in getItemTypeName() argument
58 switch (itemType) { in getItemTypeName()
DRawDexFile.java70 public MapItem getMapItemForSection(int itemType) { in getMapItemForSection() argument
72 if (mapItem.getType() == itemType) { in getMapItemForSection()
DSectionAnnotator.java46 public final int itemType; field in SectionAnnotator
55 this.itemType = mapItem.getType(); in SectionAnnotator()
/external/icu/icu4c/source/common/
Ducnv_ext.h342 #define UCNV_EXT_ARRAY(indexes, index, itemType) \ argument
343 ((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/icu/icu4c/source/i18n/
Dtzfmt.cpp2414 GMTOffsetField::FieldType itemType = GMTOffsetField::TEXT; in parseOffsetPattern() local
2425 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2426 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2427 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, (uint8_t)itemLength, status); in parseOffsetPattern()
2436 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2448 if (tmpType == itemType) { in parseOffsetPattern()
2451 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2461 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2462 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, itemLength, status); in parseOffsetPattern()
2472 itemType = tmpType; in parseOffsetPattern()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DDexAnnotator.java174 public SectionAnnotator getAnnotator(int itemType) { in getAnnotator() argument
175 return annotators.get(itemType); in getAnnotator()

12