Home
last modified time | relevance | path

Searched refs:argIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/proto_logging/stats/stats_log_api_gen/
Dnative_writer.cpp34 static void write_annotations(FILE* out, int argIndex, in write_annotations() argument
39 fieldNumberToAtomDeclSet.find(argIndex); in write_annotations()
49 const AnnotationSet& annotations = atomDecl->fieldNumberToAnnotations.at(argIndex); in write_annotations()
80 fprintf(out, " if (arg%d == %d) {\n", argIndex, resetState); in write_annotations()
94 int argIndex = 1; in write_native_method_signature() local
109 fprintf(out, ", %s arg%d", cpp_type_name(*arg), argIndex); in write_native_method_signature()
112 fprintf(out, ", size_t arg%d_length", argIndex); in write_native_method_signature()
115 argIndex++; in write_native_method_signature()
123 int argIndex = 1; in write_native_method_body() local
149 argIndex, argIndex); in write_native_method_body()
[all …]
Djava_writer.cpp67 static void write_annotations(FILE* out, int argIndex, in write_annotations() argument
70 fieldNumberToAtomDeclSet.find(argIndex); in write_annotations()
79 const AnnotationSet& annotations = atomDecl->fieldNumberToAnnotations.at(argIndex); in write_annotations()
107 fprintf(out, " if (arg%d == %d) {\n", argIndex, resetState); in write_annotations()
118 int argIndex = 1; in write_method_signature() local
127 fprintf(out, ", %s arg%d", java_type_name(*arg), argIndex); in write_method_signature()
129 argIndex++; in write_method_signature()
148 int argIndex = 1; in write_method_body() local
158 argIndex); in write_method_body()
162 fprintf(out, "%s builder.writeInt(arg%d);\n", indent.c_str(), argIndex); in write_method_body()
[all …]
Djava_writer_q.cpp64 int argIndex = 1; in write_java_methods_q_schema() local
73 fprintf(out, ", %s arg%d", java_type_name(*arg), argIndex); in write_java_methods_q_schema()
75 argIndex++; in write_java_methods_q_schema()
86 argIndex = 1; in write_java_methods_q_schema()
102 fprintf(out, "%s if (arg%d == null) {\n", indent.c_str(), argIndex); in write_java_methods_q_schema()
103 fprintf(out, "%s arg%d = \"\";\n", indent.c_str(), argIndex); in write_java_methods_q_schema()
108 indent.c_str(), argIndex, argIndex); in write_java_methods_q_schema()
110 indent.c_str(), argIndex); in write_java_methods_q_schema()
114 fprintf(out, "%s if (arg%d == null) {\n", indent.c_str(), argIndex); in write_java_methods_q_schema()
115 fprintf(out, "%s arg%d = new byte[0];\n", indent.c_str(), argIndex); in write_java_methods_q_schema()
[all …]
Dutils.cpp321 int argIndex = 1; in write_java_non_chained_methods() local
328 fprintf(out, ", %s arg%d", java_type_name(*arg), argIndex); in write_java_non_chained_methods()
330 argIndex++; in write_java_non_chained_methods()
335 argIndex = 1; in write_java_non_chained_methods()
339 if (argIndex == 1) { in write_java_non_chained_methods()
340 fprintf(out, ", new int[] {arg%d}", argIndex); in write_java_non_chained_methods()
341 } else if (argIndex == 2) { in write_java_non_chained_methods()
342 fprintf(out, ", new java.lang.String[] {arg%d}", argIndex); in write_java_non_chained_methods()
344 fprintf(out, ", arg%d", argIndex); in write_java_non_chained_methods()
346 argIndex++; in write_java_non_chained_methods()
[all …]
Drust_writer.cpp243 static void write_annotations(FILE* out, int argIndex, const AtomDecl& atomDecl, in write_annotations() argument
246 auto annotationsIt = atomDecl.fieldNumberToAnnotations.find(argIndex); in write_annotations()
280 const AtomField& field = atomDecl.fields[argIndex - 1]; in write_annotations()
/frameworks/native/services/utils/
DPriorityDumper.cpp57 for (uint32_t argIndex = 0; argIndex < args.size(); argIndex++) { in priorityDump() local
58 if (args[argIndex] == PROTO_ARG) { in priorityDump()
60 } else if (args[argIndex] == PRIORITY_ARG) { in priorityDump()
61 if (argIndex + 1 < args.size()) { in priorityDump()
62 argIndex++; in priorityDump()
63 priority = getPriorityType(args[argIndex]); in priorityDump()
66 strippedArgs.add(args[argIndex]); in priorityDump()
/frameworks/base/services/core/java/com/android/server/utils/
DPriorityDump.java151 for (int argIndex = 0; argIndex < args.length; argIndex++) { in dump()
152 if (args[argIndex].equals(PROTO_ARG)) { in dump()
154 } else if (args[argIndex].equals(PRIORITY_ARG)) { in dump()
155 if (argIndex + 1 < args.length) { in dump()
156 argIndex++; in dump()
157 priority = getPriorityType(args[argIndex]); in dump()
160 strippedArgs[strippedCount++] = args[argIndex]; in dump()
/frameworks/base/core/java/com/android/internal/protolog/
DBaseProtoLogImpl.java167 int argIndex = 0; in logToProto() local
172 int type = LogDataType.bitmaskToLogDataType(paramsMask, argIndex); in logToProto()
193 argIndex++; in logToProto()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java301 int argIndex = 0; in bindSelection() local
322 argIndex = Integer.parseInt(selection.substring(start, i)) - 1; in bindSelection()
327 final Object arg = selectionArgs[argIndex++]; in bindSelection()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java663 private boolean isInvocationArgAtIndex(int argIndex) { in isInvocationArgAtIndex() argument
664 return (mFlags & (1 << argIndex)) != 0; in isInvocationArgAtIndex()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java4552 int argIndex = 0;
4553 while (argIndex < args.length) {
4554 final String arg = args[argIndex++];
4583 if (argIndex >= args.length) {
4587 filter.addUser(Integer.parseInt(args[argIndex++]));
4594 if (argIndex >= args.length) {
4597 filter.addPackageRegex(args[argIndex++]);
4606 while (argIndex < args.length) {
4607 filter.addPackage(args[argIndex++]);