/frameworks/compile/slang/tests/P_struct_field/ |
ScriptField_Outer.java.expect | 31 static public class Item { 33 ScriptField_InnerOne.Item innerOneA; 35 ScriptField_InnerOne.Item innerOneB; 36 ScriptField_InnerTwo.Item[] innerTwo3; 37 ScriptField_InnerTwo.Item[] innerTwo2; 38 ScriptField_InnerOne.Item[] innerOne4; 39 ScriptField_InnerOne.Item innerOneC; 41 Item() { 42 innerOneA = new ScriptField_InnerOne.Item(); 43 innerOneB = new ScriptField_InnerOne.Item(); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
CommonXml.py | 55 def FromXml(self, Item, Key):
56 self.GUID = XmlElement(Item, '%s/GUID' % Key)
57 self.Version = XmlAttribute(XmlNode(Item, '%s/GUID' % Key), 'Version')
89 def FromXml(self, Item, Key):
92 self.Usage = XmlAttribute(Item, 'Usage')
94 [Arch for Arch in GetSplitValueList(XmlAttribute(Item, 'SupArchList'), DataType.TAB_SPACE_SPLIT) if Arch]
96 [Mod for Mod in GetSplitValueList(XmlAttribute(Item, 'SupModList'), DataType.TAB_SPACE_SPLIT) if Mod]
97 self.FeatureFlag = ConvertNOTEQToNE(XmlAttribute(Item, 'FeatureFlag'))
114 def FromXml(self, Item, Key):
117 self.Prompt = XmlElement2(Item, 'Prompt') [all...] |
GuidProtocolPpiXml.py | 60 def FromXml(self, Item, Key):
61 self.UiName = XmlAttribute(XmlNode(Item, '%s' % Key), 'UiName')
62 self.GuidType = XmlAttribute(XmlNode(Item, '%s' % Key), 'GuidType')
63 self.Notify = XmlAttribute(XmlNode(Item, '%s' % Key), 'Notify')
64 self.CName = XmlElement(Item, '%s/CName' % Key)
65 self.GuidValue = XmlElement(Item, '%s/GuidValue' % Key)
66 self.VariableName = XmlElement(Item, '%s/VariableName' % Key)
67 self.CommonDefines.FromXml(XmlNode(Item, '%s' % Key), Key)
68 for HelpTextItem in XmlList(Item, '%s/HelpText' % Key):
99 for Item in GuidProtocolPpi.GetHelpTextList(): [all...] |
PcdXml.py | 53 def FromXml(self, Item, Key):
54 self.ValidValueList = XmlElement(Item, '%s/ValidValueList' % Key)
56 XmlAttribute(XmlNode(Item, '%s/ValidValueList' % Key), 'Lang')
57 self.ValidValueRange = self.TransferValidEpxr2ValidRange(XmlElement(Item, '%s/ValidValueRange' % Key))
58 self.Expression = XmlElement(Item, '%s/Expression' % Key)
59 self.ErrorNumber = XmlElement(Item, '%s/ErrorNumber' % Key)
60 for ErrMsg in XmlList(Item, '%s/ErrorMessage' % Key):
98 for Item in PcdError.GetErrorMessageList():
100 CreateXmlElement('ErrorMessage', Item[1], [], [['Lang', Item[0]]]) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
StructPadTest.java | 35 ScriptField_PadMe.Item I = new ScriptField_PadMe.Item(); 40 S.set(new ScriptField_PadMe.Item(), 0, true);
|
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
RecipeListAdapter.java | 40 private class Item { 47 private List<Item> mItems = new ArrayList<Item>(); 59 List<Item> items = parseJson(jsonObject); 64 private List<Item> parseJson(JSONObject json) { 65 List<Item> result = new ArrayList<Item>(); 69 JSONObject item = items.getJSONObject(i); local 70 Item parsed = new Item(); 120 Item item = (Item) getItem(position); local [all...] |
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
RecipeListAdapter.java | 40 private class Item { 47 private List<Item> mItems = new ArrayList<Item>(); 59 List<Item> items = parseJson(jsonObject); 64 private List<Item> parseJson(JSONObject json) { 65 List<Item> result = new ArrayList<Item>(); 69 JSONObject item = items.getJSONObject(i); local 70 Item parsed = new Item(); 120 Item item = (Item) getItem(position); local [all...] |
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
RecipeListAdapter.java | 40 private class Item { 47 private List<Item> mItems = new ArrayList<Item>(); 59 List<Item> items = parseJson(jsonObject); 64 private List<Item> parseJson(JSONObject json) { 65 List<Item> result = new ArrayList<Item>(); 69 JSONObject item = items.getJSONObject(i); local 70 Item parsed = new Item(); 120 Item item = (Item) getItem(position); local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
InfPcdSectionParser.py | 51 for Item in self.LastSectionHeaderContent:
52 if (Item[0], Item[1], Item[3]) not in KeysList:
53 KeysList.append((Item[0], Item[1], Item[3]))
54 LineIndex = Item[3]
56 if (Item[0].upper() == DT.TAB_INF_FIXED_PCD.upper() or \
57 Item[0].upper() == DT.TAB_INF_FEATURE_PCD.upper() or \ [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
PackageItem.java | 16 final class PackageItem extends Item 62 private static final Item.ItemMetadata METADATA; // set in <clinit> 66 METADATA = new Item.ItemMetadata (IItemMetadata.TYPE_ID_PACKAGE, "package",
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
ModuleSubstreamVisitor.h | 34 LineColumnEntry &Item) const { 53 Item.NameIndex = BlockHeader->NameIndex; 54 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) 57 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) 76 FileChecksumEntry &Item) const { 81 Item.FileNameOffset = Header->FileNameOffset; 82 Item.Kind = static_cast<FileChecksumKind>(Header->ChecksumKind); 83 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize))
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
ByteCatchList.java | 54 * Gets the indicated item. 56 * @param n {@code >= 0;} which item 57 * @return {@code null-ok;} the indicated item 59 public Item get(int n) { 60 return (Item) get0(n); 64 * Sets the item at the given index. 67 * @param item {@code non-null;} the item 69 public void set(int n, Item item) { [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
ByteCatchList.java | 54 * Gets the indicated item. 56 * @param n {@code >= 0;} which item 57 * @return {@code null-ok;} the indicated item 59 public Item get(int n) { 60 return (Item) get0(n); 64 * Sets the item at the given index. 67 * @param item {@code non-null;} the item 69 public void set(int n, Item item) { [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
InfParserLite.py | 59 for Item in SourceFileList:
60 self.TblInf.Insert(MODEL_EFI_SOURCE_FILE, Item, '', '', '', '', 'COMMON', -1, self.FileID, -1, -1, -1, -1, 0)
86 # @param SectionItemList: the item belonging current section
88 # @param ThirdList: A list for third item for this section
97 for Item in SectionItemList:
99 (Name, Value) = AddToSelfMacro(self.Macros, Item[0])
100 self.TblInf.Insert(MODEL_META_DATA_HEADER, Name, Value, Third, '', '', Arch, -1, self.FileID, Item[1], -1, Item[1], -1, 0)
130 for Item in LineList:
131 ItemList = GetSplitValueList(Item, TAB_SPLIT) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/ |
Rsa2048Sha256GenerateKeys.py | 91 for Item in args.OutputFile:
95 args.PemFileName.append(Item.name)
96 Item.close()
101 Process = subprocess.Popen('%s genrsa -out %s 2048' % (OpenSslCommand, Item.name), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
111 for Item in args.InputFile:
115 args.PemFileName.append(Item.name)
116 Item.close()
119 for Item in args.PemFileName:
123 Process = subprocess.Popen('%s rsa -in %s -modulus -noout' % (OpenSslCommand, Item), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
155 for Item in PublicKeyHash: [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
RelationshipTester.java | 40 String reportItem(Item<?> item) { 41 return item.toString(); 98 Item<T> itemInfo = getItem(groupNumber, itemNumber); 99 Item<T> relatedInfo = getItem(groupNumber, relatedItemNumber); 101 T item = itemInfo.value; local 103 assertWithTemplate("$ITEM must be $RELATIONSHIP to $OTHER", itemInfo, relatedInfo, 104 equivalence.equivalent(item, related)); 106 int itemHash = equivalence.hash(item); 108 assertWithTemplate("the $HASH (" + itemHash + ") of $ITEM must be equal to the $HASH ( [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
DiffUtilTest.java | 44 private List<Item> mBefore = new ArrayList<>(); 45 private List<Item> mAfter = new ArrayList<>(); 272 List<Item> applied = applyUpdates(mBefore, DiffUtil.calculateDiff(mCallback, false)); 321 List<Item> applied = applyUpdates(mBefore, result); 329 mBefore.add(new Item(false)); 337 for (Object item : items) { 338 mLog.append(" ").append(item).append("\n"); 342 private void assertEquals(List<Item> applied, List<Item> after) { 348 Item item = applied.get(i) local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
InfGuidObject.py | 244 for Item in GuidList:
249 if len(Item) == 3:
250 CommentsList = Item[1]
251 CurrentLineOfItem = Item[2]
252 Item = Item[0]
254 if len(Item) >= 1 and len(Item) <= 2:
258 if not IsValidCVariableName(Item[0]):
261 ST.ERR_INF_PARSER_INVALID_CNAME%(Item[0]), [all...] |
InfPpiObject.py | 59 # For the Last comment Item, set BlockFlag.
83 # An item have Usage or Notify information and the first time get this information
220 for Item in PpiList:
225 if len(Item) == 3:
226 CommentsList = Item[1]
227 CurrentLineOfItem = Item[2]
228 Item = Item[0]
230 if len(Item) >= 1 and len(Item) <= 2: [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
OpReorderTest.java | 49 List<Item> mAddedItems = new ArrayList<Item>(); 50 List<Item> mRemovedItems = new ArrayList<Item>(); 81 mAddedItems = new ArrayList<Item>(); 82 mRemovedItems = new ArrayList<Item>(); 84 Item.idCounter = 0; 312 List<Item> items = new ArrayList<Item>(itemCount); 314 items.add(Item.create()) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
IndexedItem.java | 20 * An item in a Dalvik file which is referenced by index. 22 public abstract class IndexedItem extends Item { 23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not 44 * Gets the item index. 47 * @throws RuntimeException thrown if the item index is not yet assigned 58 * Sets the item index. This method may only ever be called once 62 * @param index {@code >= 0;} the item index 73 * Gets the index of this item as a string, suitable for including in
|
UniformItemSection.java | 26 * {@link Item} objects. Each of the items must have the same size in 46 Collection<? extends Item> items = items(); 53 // Since each item has to be the same size, we can pick any. 58 * Gets the item corresponding to the given {@link Constant}. This 64 * @return {@code non-null;} the corresponding item found in this instance 75 for (Item one : items()) { 86 for (Item one : items()) { 94 public final int getAbsoluteItemOffset(Item item) { 99 IndexedItem ii = (IndexedItem) item; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
IndexedItem.java | 20 * An item in a Dalvik file which is referenced by index. 22 public abstract class IndexedItem extends Item { 23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not 44 * Gets the item index. 47 * @throws RuntimeException thrown if the item index is not yet assigned 58 * Sets the item index. This method may only ever be called once 62 * @param index {@code >= 0;} the item index 73 * Gets the index of this item as a string, suitable for including in
|
UniformItemSection.java | 25 * {@link Item} objects. Each of the items must have the same size in 45 Collection<? extends Item> items = items(); 52 // Since each item has to be the same size, we can pick any. 57 * Gets the item corresponding to the given {@link Constant}. This 63 * @return {@code non-null;} the corresponding item found in this instance 74 for (Item one : items()) { 85 for (Item one : items()) { 93 public final int getAbsoluteItemOffset(Item item) { 98 IndexedItem ii = (IndexedItem) item; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/ |
WorkspaceCommon.py | 161 # for each node Item with a Constructor
162 for Item in LibraryList:
163 if Item not in Constructor:
165 # for each Node without a constructor with an edge e from Item to Node
166 for Node in ConsumedByList[Item]:
170 ConsumedByList[Item].remove(Node)
172 if ConsumedByList[Item] == []:
173 # insert Item into Q
174 Q.insert(0, Item)
187 # for each node Item with an edge e from Node to Item do [all...] |