Home
last modified time | relevance | path

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

/tools/security/fuzzing/orphans/libffi/
Dfuzz_ffi.cc48 new_type->elements = reinterpret_cast<ffi_type**>( in generateCustomType()
56 new_type->elements[i] = getRandomType(dataProvider, false); in generateCustomType()
60 new_type->elements[num_elements] = NULL; in generateCustomType()
78 if (type->elements != NULL) { in getTotalSize()
79 for (size_t i=0; type->elements[i] != NULL; i++) { in getTotalSize()
80 total_size += getTotalSize(type->elements[i]); in getTotalSize()
277 if (ffi_type->elements != NULL) { in freeFFI()
278 free(ffi_type->elements); in freeFFI()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java110 …private void addToMap(Map<String, ApiElement> elements, String name, int version, boolean deprecat… in addToMap() argument
111 ApiElement element = elements.get(name); in addToMap()
114 elements.put(name, element); in addToMap()
120 private ApiElement addToArray(Collection<ApiElement> elements, String name, int version) { in addToArray() argument
121 ApiElement element = findByName(elements, name); in addToArray()
124 elements.add(element); in addToArray()
DApiElement.java182 …void print(Collection<? extends ApiElement> elements, String tag, String indent, PrintStream strea… in print() argument
183 for (ApiElement element : sortedList(elements)) { in print()
188 private <T extends ApiElement> List<T> sortedList(Collection<T> elements) { in sortedList() argument
189 List<T> list = new ArrayList<>(elements); in sortedList()
/tools/platform-compat/java/android/processor/compat/
DSingleAnnotationProcessor.java60 protected Elements elements; field in SingleAnnotationProcessor
70 this.elements = processingEnv.getElementUtils(); in init()
98 PackageElement packageElement = elements.getPackageOf(annotatedElement); in process()
192 String packageName = elements.getPackageOf(element).toString(); in getEnclosingElementName()
/tools/dexter/slicer/
Ddex_ir.cc272 auto& elements = irAnnotation->elements; in Normalize() local
273 std::sort(elements.begin(), elements.end(), in Normalize()
Dwriter.cc202 data.PushULeb128(ir_annotation->elements.size()); in WriteAnnotation()
203 for (auto irAnnotationElement : ir_annotation->elements) { in WriteAnnotation()
Dreader.cc577 ir_annotation->elements.push_back(ir_element); in ParseAnnotation()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DGameCoreConfigurationXmlParser.java177 NodeList elements = element.getElementsByTagName(field.getTag()); in getElement() local
178 if (elements.getLength() > 0) { in getElement()
179 return elements.item(0).getTextContent(); in getElement()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeParameterItem.kt22 import org.jetbrains.kotlin.asJava.elements.KotlinLightTypeParameterBuilder
23 import org.jetbrains.kotlin.asJava.elements.KtLightTypeParameter
DPsiModifierItem.kt38 import org.jetbrains.kotlin.asJava.elements.KtLightModifierList in <lambda>()
39 import org.jetbrains.kotlin.asJava.elements.KtLightNullabilityAnnotation in <lambda>()
DPsiAnnotationItem.kt47 import org.jetbrains.kotlin.asJava.elements.KtLightNullabilityAnnotation in <lambda>()
DUAnnotationItem.kt37 import org.jetbrains.kotlin.asJava.elements.KtLightNullabilityAnnotation in <lambda>()
/tools/asuite/aidegen/idea/
Dxml_gen_unittest.py63 elements = self.xml.find_elements_by_name('a', 'b')
64 self.assertEqual(len(elements), 1)
/tools/metalava/
DREADME.md107 syntax. Since the goal is to have **all** API elements explicitly state
164 problems such as removing API elements. Metalava adds new warnings around
329 consult the filter, not the PSI elements directly.
365 which limits itself to visiting code elements that are part of the API.
442 to flag all API elements that have been removed as invalid (since you cannot
DFORMAT.md101 nullable elements, we add "?" after the type, for unknown nullness we add "!",
284 The last two elements are "redundant"; they could be computed from the property
500 * Fix formatting for package private elements. These had two spaces of
502 indentation with all other elements.
/tools/platform-compat/
DREADME.md21 …└── unsupportedappusage # Creates csv files with source positions for @UnsupportedAppUsage elements
/tools/acloud/internal/lib/
Dutils.py422 elements = rsa.split()
423 if len(elements) != 3:
426 key_type, data, _ = elements
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dnanopb.proto3 // - Maximum number of elements in array
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java208 elements.getDocComment(element); in createChange()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDocAnalyzerTest.kt1351 fun `No api levels on SystemApi only elements`() { in No api levels on SystemApi only elements()
/tools/test/openhst/
Dstress_test.proto95 // one. Note that if duplicate entries exist for the repeated elements (based
/tools/dexter/slicer/export/slicer/
Ddex_ir.h265 std::vector<AnnotationElement*> elements; member
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto623 // particular index within it). This is used whenever a set of elements are
670 // Always has exactly three or four elements: start line, start column,