Home
last modified time | relevance | path

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

12

/tools/repohooks/tools/
Dcheckpatch.pl4149 my @elements = split(/($ops|;)/, $opline);
4159 foreach my $el (@elements) {
4169 for (my $n = 0; $n < $#elements; $n += 2) {
4175 $off += length($elements[$n]);
4180 if (length($opline) >= ($off + length($elements[$n + 1]))) {
4181 $cc = substr($opline, $off + length($elements[$n + 1]));
4186 $a = 'V' if ($elements[$n] ne '');
4187 $a = 'W' if ($elements[$n] =~ /\s$/);
4188 $a = 'C' if ($elements[$n] =~ /$;$/);
4189 $a = 'B' if ($elements[$n] =~ /(\[|\()$/);
[all …]
/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.cc273 auto& elements = irAnnotation->elements; in Normalize() local
274 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.cc576 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/
DREADME.md106 syntax. Since the goal is to have **all** API elements explicitly state
163 problems such as removing API elements. Metalava adds new warnings around
328 consult the filter, not the PSI elements directly.
364 which limits itself to visiting code elements that are part of the API.
441 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
501 * Fix formatting for package private elements. These had two spaces of
503 indentation with all other elements.
/tools/acloud/internal/lib/
Dutils.py410 elements = rsa.split()
411 if len(elements) != 3:
414 key_type, data, _ = elements
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeParameterItem.kt23 import org.jetbrains.kotlin.asJava.elements.KotlinLightTypeParameterBuilder
24 import org.jetbrains.kotlin.asJava.elements.KtLightTypeParameter
DPsiModifierItem.kt34 import org.jetbrains.kotlin.asJava.elements.KtLightModifierList
35 import org.jetbrains.kotlin.asJava.elements.KtLightNullabilityAnnotation
DUAnnotationItem.kt37 import org.jetbrains.kotlin.asJava.elements.KtLightNullabilityAnnotation in <lambda>()
DPsiAnnotationItem.kt46 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/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,
/tools/platform-compat/
DREADME.md21 …└── unsupportedappusage # Creates csv files with source positions for @UnsupportedAppUsage elements
/tools/tradefederation/core/tests/res/testtype/
Dpython_output1.txt48 Second list contains 1 additional 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.java198 elements.getDocComment(element); in createChange()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDocAnalyzerTest.kt1289 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

12