Home
last modified time | relevance | path

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

/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/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java966 public String getPatternForCurrencySpacing(int itemType, boolean beforeCurrency) { in getPatternForCurrencySpacing() argument
967 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in getPatternForCurrencySpacing()
968 itemType > CURRENCY_SPC_INSERT ) { in getPatternForCurrencySpacing()
969 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in getPatternForCurrencySpacing()
972 return currencySpcBeforeSym[itemType]; in getPatternForCurrencySpacing()
974 return currencySpcAfterSym[itemType]; in getPatternForCurrencySpacing()
993 public void setPatternForCurrencySpacing(int itemType, boolean beforeCurrency, String pattern) { in setPatternForCurrencySpacing() argument
994 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in setPatternForCurrencySpacing()
995 itemType > CURRENCY_SPC_INSERT ) { in setPatternForCurrencySpacing()
996 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in setPatternForCurrencySpacing()
[all …]
DTimeZoneFormat.java1948 char itemType = 0; // 0 for string literal, otherwise time pattern character
1963 if (itemType != 0) {
1964 if (GMTOffsetField.isValid(itemType, itemLength)) {
1965 items.add(new GMTOffsetField(itemType, itemLength));
1970 itemType = 0;
1982 if (ch == itemType) {
1985 if (itemType == 0) {
1991 if (GMTOffsetField.isValid(itemType, itemLength)) {
1992 items.add(new GMTOffsetField(itemType, itemLength));
1998 itemType = ch;
[all …]
DSimpleDateFormat.java2112 char itemType = 0; // 0 for string literal, otherwise date/time pattern character in getPatternItems() local
2125 if (itemType != 0) { in getPatternItems()
2126 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2127 itemType = 0; in getPatternItems()
2138 if (ch == itemType) { in getPatternItems()
2141 if (itemType == 0) { in getPatternItems()
2147 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2149 itemType = ch; in getPatternItems()
2154 if (itemType != 0) { in getPatternItems()
2155 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
[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/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java1051 public String getPatternForCurrencySpacing(int itemType, boolean beforeCurrency) { in getPatternForCurrencySpacing() argument
1052 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in getPatternForCurrencySpacing()
1053 itemType > CURRENCY_SPC_INSERT ) { in getPatternForCurrencySpacing()
1054 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in getPatternForCurrencySpacing()
1057 return currencySpcBeforeSym[itemType]; in getPatternForCurrencySpacing()
1059 return currencySpcAfterSym[itemType]; in getPatternForCurrencySpacing()
1079 public void setPatternForCurrencySpacing(int itemType, boolean beforeCurrency, String pattern) { in setPatternForCurrencySpacing() argument
1080 if (itemType < CURRENCY_SPC_CURRENCY_MATCH || in setPatternForCurrencySpacing()
1081 itemType > CURRENCY_SPC_INSERT ) { in setPatternForCurrencySpacing()
1082 throw new IllegalArgumentException("unknown currency spacing: " + itemType); in setPatternForCurrencySpacing()
[all …]
DTimeZoneFormat.java2018 char itemType = 0; // 0 for string literal, otherwise time pattern character
2033 if (itemType != 0) {
2034 if (GMTOffsetField.isValid(itemType, itemLength)) {
2035 items.add(new GMTOffsetField(itemType, itemLength));
2040 itemType = 0;
2052 if (ch == itemType) {
2055 if (itemType == 0) {
2061 if (GMTOffsetField.isValid(itemType, itemLength)) {
2062 items.add(new GMTOffsetField(itemType, itemLength));
2068 itemType = ch;
[all …]
DSimpleDateFormat.java2122 char itemType = 0; // 0 for string literal, otherwise date/time pattern character in getPatternItems() local
2135 if (itemType != 0) { in getPatternItems()
2136 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2137 itemType = 0; in getPatternItems()
2148 if (ch == itemType) { in getPatternItems()
2151 if (itemType == 0) { in getPatternItems()
2157 items.add(new PatternItem(itemType, itemLength)); in getPatternItems()
2159 itemType = ch; in getPatternItems()
2164 if (itemType != 0) { in getPatternItems()
2165 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.cpp2416 GMTOffsetField::FieldType itemType = GMTOffsetField::TEXT; in parseOffsetPattern() local
2427 if (itemType != GMTOffsetField::TEXT) { in parseOffsetPattern()
2428 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2429 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, (uint8_t)itemLength, status); in parseOffsetPattern()
2438 itemType = GMTOffsetField::TEXT; in parseOffsetPattern()
2450 if (tmpType == itemType) { in parseOffsetPattern()
2453 if (itemType == GMTOffsetField::TEXT) { in parseOffsetPattern()
2463 if (GMTOffsetField::isValid(itemType, itemLength)) { in parseOffsetPattern()
2464 … GMTOffsetField* fld = GMTOffsetField::createTimeField(itemType, itemLength, status); in parseOffsetPattern()
2474 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()
/external/svox/pico/lib/
Dpicotok.c483 picoos_uint8 itemType, picoos_uint8 info1, picoos_uint8 info2, in tok_putItem() argument
489 if ((itemType == PICODATA_ITEM_CMD) && (info1 == PICODATA_ITEMINFO1_CMD_FLUSH)) { in tok_putItem()
490 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
496 switch (itemType) { in tok_putItem()
509 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
524 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
540 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
558 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
Dpicopr.c1017 …ocessingUnit this, pr_MemTypes mType, pr_ioItemPtr * item, picoos_uint8 itemType, picoos_int32 siz… in pr_newItem() argument
1030 if (itemType == PICODATA_ITEM_TOKEN) { in pr_newItem()
1111 picoos_uint8 itemType, picoos_uint8 info1, picoos_uint8 info2, in pr_putItem() argument
1120 pr->tmpItem.head.type = itemType; in pr_putItem()
1125 switch (itemType) { in pr_putItem()
/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.py2301 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) argument
2310 self._w, 'create', itemType,
2732 def add(self, itemType, cnf={}, **kw): argument
2734 self.tk.call((self._w, 'add', itemType) +
2751 def insert(self, index, itemType, cnf={}, **kw): argument
2753 self.tk.call((self._w, 'insert', index, itemType) +
/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/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1454 static Buffer ARRAY(ByteBuffer indexes, int index, Class<?> itemType) { in ARRAY() argument
1462 if (itemType == int.class) in ARRAY()
1464 else if (itemType == char.class) in ARRAY()
1466 else if (itemType == short.class) in ARRAY()