Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/frameworks/av/media/codec2/core/include/
D_C2MacroUtils.h80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__) argument
81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__) argument
82 #define _C2_MAP_62(fn, arg, head, ...) fn(head, arg), _C2_MAP_61(fn, arg, ##__VA_ARGS__) argument
83 #define _C2_MAP_61(fn, arg, head, ...) fn(head, arg), _C2_MAP_60(fn, arg, ##__VA_ARGS__) argument
84 #define _C2_MAP_60(fn, arg, head, ...) fn(head, arg), _C2_MAP_59(fn, arg, ##__VA_ARGS__) argument
85 #define _C2_MAP_59(fn, arg, head, ...) fn(head, arg), _C2_MAP_58(fn, arg, ##__VA_ARGS__) argument
86 #define _C2_MAP_58(fn, arg, head, ...) fn(head, arg), _C2_MAP_57(fn, arg, ##__VA_ARGS__) argument
87 #define _C2_MAP_57(fn, arg, head, ...) fn(head, arg), _C2_MAP_56(fn, arg, ##__VA_ARGS__) argument
88 #define _C2_MAP_56(fn, arg, head, ...) fn(head, arg), _C2_MAP_55(fn, arg, ##__VA_ARGS__) argument
89 #define _C2_MAP_55(fn, arg, head, ...) fn(head, arg), _C2_MAP_54(fn, arg, ##__VA_ARGS__) argument
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java74 private void arg(String name, String value) { in arg() method in GLLogWrapper
97 private void arg(String name, boolean value) { in arg() method in GLLogWrapper
98 arg(name, Boolean.toString(value)); in arg()
101 private void arg(String name, int value) { in arg() method in GLLogWrapper
102 arg(name, Integer.toString(value)); in arg()
105 private void arg(String name, float value) { in arg() method in GLLogWrapper
106 arg(name, Float.toString(value)); in arg()
118 private void arg(String name, int n, int[] arr, int offset) { in arg() method in GLLogWrapper
119 arg(name, toString(n, FORMAT_INT, arr, offset)); in arg()
122 private void arg(String name, int n, short[] arr, int offset) { in arg() method in GLLogWrapper
[all …]
DEGLLogWrapper.java50 arg("display", display); in eglChooseConfig()
51 arg("attrib_list", attrib_list); in eglChooseConfig()
52 arg("config_size", config_size); in eglChooseConfig()
57 arg("configs", configs); in eglChooseConfig()
58 arg("num_config", num_config); in eglChooseConfig()
67 arg("display", display); in eglCopyBuffers()
68 arg("surface", surface); in eglCopyBuffers()
69 arg("native_pixmap", native_pixmap); in eglCopyBuffers()
81 arg("display", display); in eglCreateContext()
82 arg("config", config); in eglCreateContext()
[all …]
/frameworks/rs/script_api/
Drs_debug.spec30 arg: const char* message
31 arg: #1 a
46 arg: const char* message
47 arg: #2#1 a
56 arg: const char* message
57 arg: #2#1 a
64 arg: const char* message
65 arg: float#1 a
73 arg: const char* message
74 arg: half#1 a
[all …]
Drs_quaternion.spec26 arg: rs_quaternion* q, "Destination quaternion to add to."
27 arg: const rs_quaternion* rhs, "Quaternion to add."
42 arg: rs_quaternion* q, "Quaternion to modify."
56 arg: const rs_quaternion* q0, "First quaternion."
57 arg: const rs_quaternion* q1, "Second quaternion."
69 arg: rs_matrix4x4* m, "Resulting matrix."
70 arg: const rs_quaternion* q, "Normalized quaternion."
102 arg: rs_quaternion* q, "Destination quaternion."
103 arg: float rot, "Angle to rotate by, in radians."
104 arg: float x, "X component of the vector."
[all …]
Drs_graphics.spec189 arg: #1* dst
198 arg: #1 v
207 arg: #1* dst
208 arg: #1 src
216 arg: rs_allocation alloc
233 arg: rs_allocation alloc
234 arg: rs_allocation_usage_type source
242 arg: rs_allocation colorTarget
243 arg: uint slot
255 arg: rs_program_fragment ps, "program fragment object"
[all …]
Drs_math.spec172 arg: #2#1 v
186 arg: #2#1 v, range(-1,1)
200 arg: #2#1 v, range(-1,1)
209 arg: #2#1 v
223 arg: #2#1 v
232 arg: #2#1 v, range(-1,1)
248 arg: #2#1 v, range(-1,1)
257 arg: #2#1 v, range(-1,1)
271 arg: #2#1 v, range(-1,1)
280 arg: #2#1 v
[all …]
Drs_matrix.spec51 arg: const rs_matrix4x4* viewProj, "Matrix to extract planes from."
52 arg: float4* left, "Left plane."
53 arg: float4* right, "Right plane."
54 arg: float4* top, "Top plane."
55 arg: float4* bottom, "Bottom plane."
56 arg: float4* near, "Near plane."
57 arg: float4* far, "Far plane."
112 arg: const rs_matrix4x4* viewProj
113 arg: float4* left
114 arg: float4* righ
[all …]
Drs_atomic.spec37 arg: volatile int32_t* addr, "Address of the value to modify."
38 arg: int32_t value, "Amount to add."
48 arg: volatile uint32_t* addr
49 arg: uint32_t value
56 arg: volatile int32_t* addr, "Address of the value to modify."
57 arg: int32_t value, "Value to and with."
68 arg: volatile uint32_t* addr
69 arg: uint32_t value
76 arg: volatile int32_t* addr, "Address of the value to compare and replace if the test passes."
77 arg: int32_t compareValue, "Value to test *addr against."
[all …]
Drs_allocation_create.spec30 arg: rs_data_type data_type, "Data type of the Element"
42 arg: rs_data_type data_type, "Data type of the Element"
43 arg: uint32_t vector_width, "Vector width (either 2, 3, or 4)"
55 arg: rs_data_type data_type, "Data type of the Element"
56 arg: rs_data_kind data_kind, "Data kind of the Element"
68 arg: int32_t data_type
69 arg: int32_t data_kind
70 arg: bool isNormalized
71 arg: uint32_t vecSize
78 arg: rs_element element, "Element to be associated with the Type"
[all …]
Drs_vector_math.spec43 arg: #2#1 left_vector
44 arg: #2#1 right_vector
57 arg: #2#1 left_vector
58 arg: #2#1 right_vector
68 arg: #2#1 left_vector
69 arg: #2#1 right_vector
84 arg: #2#1 left_vector
85 arg: #2#1 right_vector
95 arg: #2#1 left_vector
96 arg: #2#1 right_vector
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java297 String arg = args.nextArg(); in parseArgs() local
299 if (arg.equals("--")) { in parseArgs()
302 } else if (arg.startsWith("--setuid=")) { in parseArgs()
308 mUid = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
309 } else if (arg.startsWith("--setgid=")) { in parseArgs()
315 mGid = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
316 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs()
322 mTargetSdkVersion = Integer.parseInt(getAssignmentValue(arg)); in parseArgs()
323 } else if (arg.equals("--runtime-args")) { in parseArgs()
325 } else if (arg.startsWith("--runtime-flags=")) { in parseArgs()
[all …]
/frameworks/libs/binary_translation/interpreter/riscv64/
Dregs.h29 inline auto GPRRegToInteger(uint64_t arg)
32 return static_cast<IntegerType>(arg);
36 inline auto IntegerToGPRReg(IntegerType arg)
40 return static_cast<int32_t>(arg);
42 return bit_cast<uint64_t>(arg);
47 inline FloatType FPRegToFloat(uint64_t arg);
50 inline intrinsics::Float32 FPRegToFloat<intrinsics::Float32>(uint64_t arg) {
52 memcpy(&result, &arg, sizeof(intrinsics::Float32));
57 inline intrinsics::Float64 FPRegToFloat<intrinsics::Float64>(uint64_t arg) {
58 return bit_cast<intrinsics::Float64>(arg);
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dmacros.h101 #define _PDX_APPLY_BINARY_1(macro, arg, head, next, ...) \ argument
102 macro(arg, head) \
103 _PDX_NEXT_FUNC(next, _PDX_APPLY_BINARY_2)(macro, arg, next, __VA_ARGS__)
106 #define _PDX_APPLY_BINARY_2(macro, arg, head, next, ...) \ argument
107 macro(arg, head) \
108 _PDX_NEXT_FUNC(next, _PDX_APPLY_BINARY_1)(macro, arg, next, __VA_ARGS__)
112 #define _PDX_HANDLE_EMPTY_ARGS_BINARY(macro, arg, ...) \ argument
114 (macro, arg, __VA_ARGS__, ())
117 #define PDX_FOR_EACH_BINARY(macro, arg, ...) \ argument
118 _PDX_EXPAND(_PDX_HANDLE_EMPTY_ARGS_BINARY(macro, arg, __VA_ARGS__))
[all …]
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp36 std::string GetSafePath(StringPiece arg) { in GetSafePath() argument
41 CHECK(android::base::UTF8PathToWindowsLongPath(arg.data(), &path16)) in GetSafePath()
42 << "Failed to convert file path to UTF-16: file path " << arg.data(); in GetSafePath()
46 << "Failed to convert file path back to UTF-8: file path " << arg.data(); in GetSafePath()
50 return std::string(arg); in GetSafePath()
56 auto func = [value, flags](StringPiece arg) -> bool { in AddRequiredFlag() argument
57 *value = (flags & Command::kPath) ? GetSafePath(arg) : std::string(arg); in AddRequiredFlag()
66 auto func = [value, flags](StringPiece arg) -> bool { in AddRequiredFlagList() argument
67 value->push_back((flags & Command::kPath) ? GetSafePath(arg) : std::string(arg)); in AddRequiredFlagList()
76 auto func = [value, flags](StringPiece arg) -> bool { in AddOptionalFlag() argument
[all …]
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java73 String arg = nextArg(); in run() local
74 if (arg.equals("backup")) { in run()
76 } else if (arg.equals("restore")) { in run()
94 String arg; in doBackup() local
95 while ((arg = nextArg()) != null) { in doBackup()
96 if (arg.startsWith("-")) { in doBackup()
97 if ("-apk".equals(arg)) { in doBackup()
99 } else if ("-noapk".equals(arg)) { in doBackup()
101 } else if ("-obb".equals(arg)) { in doBackup()
103 } else if ("-noobb".equals(arg)) { in doBackup()
[all …]
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp264 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_Color)) { in TranslateArguments() local
265 bool res = llvm::StringSwitch<bool>(arg->getValue()) in TranslateArguments()
281 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_Verbose)) { in TranslateArguments() local
282 llvm::StringRef value = arg->getValue(); in TranslateArguments()
285 mcld::errs() << "Invalid value for" << arg->getOption().getPrefixedName() in TranslateArguments()
286 << ": " << arg->getValue(); in TranslateArguments()
293 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_ErrorLimit)) { in TranslateArguments() local
294 llvm::StringRef value = arg->getValue(); in TranslateArguments()
297 mcld::errs() << "Invalid value for" << arg->getOption().getPrefixedName() in TranslateArguments()
298 << ": " << arg->getValue(); in TranslateArguments()
[all …]
/frameworks/libs/binary_translation/intrinsics/common_to_x86/
Dgen_text_asm_intrinsics.cc87 constexpr bool NeedInputShadow(Arg arg);
89 constexpr bool NeedOutputShadow(Arg arg);
179 AsmCallInfo::ProcessBindings([out, &id, indent](auto arg) { in GenerateTemporaries() argument
180 using RegisterClass = typename decltype(arg)::RegisterClass; in GenerateTemporaries()
182 if constexpr (!HaveInput(arg.arg_info) && !HaveOutput(arg.arg_info)) { in GenerateTemporaries()
184 std::is_same_v<typename decltype(arg)::Usage, intrinsics::bindings::Def> || in GenerateTemporaries()
185 std::is_same_v<typename decltype(arg)::Usage, intrinsics::bindings::DefEarlyClobber>); in GenerateTemporaries()
199 AsmCallInfo::ProcessBindings([out, indent](auto arg) { in GenerateInShadows() argument
200 using RegisterClass = typename decltype(arg)::RegisterClass; in GenerateInShadows()
203 static_assert(!HaveInput(arg.arg_info) && !HaveOutput(arg.arg_info)); in GenerateInShadows()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java133 String arg = cmd; in onCommand() local
135 if ("--user".equals(arg)) { in onCommand()
147 if ("get".equalsIgnoreCase(arg)) { in onCommand()
149 } else if ("put".equalsIgnoreCase(arg)) { in onCommand()
151 } else if ("delete".equalsIgnoreCase(arg)) { in onCommand()
153 } else if ("list".equalsIgnoreCase(arg)) { in onCommand()
155 } else if ("reset".equalsIgnoreCase(arg)) { in onCommand()
159 perr.println("Invalid command: " + arg); in onCommand()
163 if (!"system".equalsIgnoreCase(arg) in onCommand()
164 && !"secure".equalsIgnoreCase(arg) in onCommand()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java44 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { in checkBitFlags() argument
45 if ((arg & flags) == 0) { in checkBitFlags()
50 return arg; in checkBitFlags()
64 public static <T> T checkEquals(String argName, T arg, in checkEquals() argument
66 if (!Objects.equals(arg, expectedValue)) { in checkEquals()
70 argName, expectedName, arg, expectedValue)); in checkEquals()
73 return arg; in checkEquals()
89 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() argument
90 if (arg == null) { in checkNotNull()
94 return arg; in checkNotNull()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/
DAnrTimer.java244 final String arg; field in AnrTimer.Error
253 @NonNull StackTraceElement[] stack, @NonNull String arg) { in Error() argument
258 this.arg = arg; in Error()
266 ipw.format("%2d: op:%s tag:%s issue:%s arg:%s\n", seq, operation, tag, issue, arg); in dump()
431 abstract void start(@NonNull V arg, int pid, int uid, long timeoutMs); in start() argument
433 abstract boolean cancel(@NonNull V arg); in cancel() argument
436 abstract TimerLock accept(@NonNull V arg); in accept() argument
438 abstract boolean discard(@NonNull V arg); in discard() argument
456 void start(@NonNull V arg, int pid, int uid, long timeoutMs) { in start() argument
457 final Message msg = mHandler.obtainMessage(mWhat, arg); in start()
[all …]
/frameworks/libs/binary_translation/assembler/
Dgen_asm_x86.py37 def _get_arg_type_name(arg): argument
38 cls = arg.get('class')
60 for arg in insn.get('args'):
61 cls = arg.get('class')
71 for arg in insn.get('args'):
72 if asm_defs.is_implicit_reg(arg.get('class')):
74 result.append("%s arg%d" % (_get_arg_type_name(arg), arg_count))
80 return any(asm_defs.is_mem_op(arg['class']) for arg in insn.get('args'))
161 for arg in insn.get('args'):
162 if asm_defs.is_implicit_reg(arg.get('class')):
[all …]
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java106 KeymasterArgument arg = getArgumentByTag(tag); in getEnum() local
107 if (arg == null) { in getEnum()
110 return getEnumTagValue(arg); in getEnum()
123 for (KeymasterArgument arg : mArguments) { in getEnums()
124 if (arg.tag == tag) { in getEnums()
125 values.add(getEnumTagValue(arg)); in getEnums()
135 private int getEnumTagValue(KeymasterArgument arg) { in getEnumTagValue() argument
136 return ((KeymasterIntArgument) arg).value; in getEnumTagValue()
168 KeymasterArgument arg = getArgumentByTag(tag); in getUnsignedInt() local
169 if (arg == null) { in getUnsignedInt()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java242 String arg = getNextArg(); in runSetBlurDisabled() local
243 if (arg == null) { in runSetBlurDisabled()
250 switch (arg) { in runSetBlurDisabled()
260 getErrPrintWriter().println("Error: expected true, 1, false, 0, but got " + arg); in runSetBlurDisabled()
288 String arg = getNextArg(); in runDisplayDensity() local
291 if ("-d".equals(option) && arg != null) { in runDisplayDensity()
293 displayId = Integer.parseInt(arg); in runDisplayDensity()
297 } else if ("-u".equals(option) && arg != null) { in runDisplayDensity()
298 displayId = mInterface.getDisplayIdByUniqueId(arg); in runDisplayDensity()
390 String arg = getNextArgRequired(); in runSandboxDisplayApis() local
[all …]
/frameworks/libs/native_bridge_support/android_api/libc/
D__cxa_thread_atexit_impl.cpp23 void* arg,
29 void* arg; member
33 static void WrappedFn(void* arg) { in WrappedFn() argument
34 WrappedArg* wrapped_arg = static_cast<WrappedArg*>(arg); in WrappedFn()
36 void* origin_arg = wrapped_arg->arg; in WrappedFn()
48 extern "C" int __cxa_thread_atexit_impl(void (*func)(void*), void* arg, void* dso_handle) { in __cxa_thread_atexit_impl() argument
51 wrapped_arg->arg = arg; in __cxa_thread_atexit_impl()

12345678910>>...21