Searched refs:func (Results 1 - 25 of 100) sorted by relevance

1234

/frameworks/rs/tests/lldb/tests/harness/
H A Ddecorators.py44 def __call__(self, func):
45 @functools.wraps(func)
53 print("skipping %r - %s" % (func, self._message))
55 return func(args[0])
75 def wimpy(func):
81 func.wimpy = True
83 return func
91 def __call__(self, func):
92 func.test_order = self._order
93 return func
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dmath_agree.rs46 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \
47 volatile type func##_rand_##abbrev##1_##abbrev##1; \
48 volatile type##2 func##_rand_##abbrev##2_##abbrev##2; \
49 volatile type##3 func##_rand_##abbrev##3_##abbrev##3; \
50 volatile type##4 func##_rand_##abbrev##4_##abbrev##4;
51 #define DECLARE_REFERENCE_SET_VEC_SCL(type, abbrev, func) \
52 volatile type##2 func##_rand_##abbrev##2_##abbrev##1; \
53 volatile type##3 func##_rand_##abbrev##3_##abbrev##1; \
54 volatile type##4 func##_rand_##abbrev##4_##abbrev##1;
56 #define DECLARE_ALL_REFERENCE_SETS_VEC_VEC(func) \
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dbuilder.cpp32 FunctionDefinition *func, const char *name) {
33 return new EntryPointDefinition(this, execModel, func, name);
43 FunctionInst *func = MakeFunction(retType, ctrl, funcType); local
45 return new FunctionDefinition(this, func, end);
31 MakeEntryPointDefinition(ExecutionModel execModel, FunctionDefinition *func, const char *name) argument
H A Dbuilder.h30 FunctionDefinition *func,
/frameworks/wilhelm/src/
H A Dassert.cpp30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument
33 failedexpr, file, line, func);
/frameworks/base/tools/aapt2/
H A DFlags.cpp34 auto func = [value](const StringPiece& arg) -> bool { local
39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false});
46 auto func = [value](const StringPiece& arg) -> bool { local
51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false});
58 auto func = [value](const StringPiece& arg) -> bool { local
63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false});
70 auto func = [value](const StringPiece& arg) -> bool { local
75 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false});
82 auto func = [value](const StringPiece& arg) -> bool { local
87 flags_.push_back(Flag{name.to_string(), description.to_string(), func, fals
93 auto func = [value](const StringPiece& arg) -> bool { local
[all...]
/frameworks/native/include/binder/
H A DDebug.h34 debugPrintFunc func = 0, void* cookie = 0);
39 debugPrintFunc func = 0, void* cookie = 0);
H A DBpBinder.h55 object_cleanup_func func);
73 IBinder::object_cleanup_func func);
87 IBinder::object_cleanup_func func; member in struct:android::BpBinder::ObjectManager::entry_t
H A DTextOutput.h78 TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
170 inline TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func) argument
172 return (*func)(to);
/frameworks/native/libs/binder/include/binder/
H A DDebug.h34 debugPrintFunc func = 0, void* cookie = 0);
39 debugPrintFunc func = 0, void* cookie = 0);
H A DBpBinder.h55 object_cleanup_func func);
73 IBinder::object_cleanup_func func);
87 IBinder::object_cleanup_func func; member in struct:android::BpBinder::ObjectManager::entry_t
H A DTextOutput.h78 TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
170 inline TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func) argument
172 return (*func)(to);
/frameworks/rs/tests/lldb/tests/testcases/
H A Dreduce_common.py82 for func, typename in funcname_types:
86 if not func.endswith(".combiner"):
92 expected_regex=[breakpoint_match % (script_soname, func)]
100 script_soname, func)
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DTransformations.java36 * The given function {@code func} will be executed on the main thread.
39 * @param func a function to apply
45 public static <X, Y> LiveData<Y> map(LiveData<X> source, final Function<X, Y> func) { argument
50 result.setValue(func.apply(x));
67 * The given function {@code func} will be executed on the main thread.
70 * @param func a function which creates "backing" LiveData
76 final Function<X, LiveData<Y>> func) {
83 LiveData<Y> newLiveData = func.apply(x);
75 switchMap(LiveData<X> trigger, final Function<X, LiveData<Y>> func) argument
/frameworks/native/cmds/lshal/
H A DTimeout.h32 BackgroundTaskState(std::function<void(void)> &&func) argument
33 : mFunc(std::forward<decltype(func)>(func)) {}
64 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { argument
66 BackgroundTaskState state{std::forward<decltype(func)>(func)};
82 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, argument
86 auto boundFunc = std::bind(std::forward<Function>(func),
99 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { argument
100 return timeoutIPC(IPC_CALL_WAIT, interfaceObject, func, arg
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContainerController.java67 boolean checkCallingPermission(String permission, String func) { argument
68 return mService.checkCallingPermission(permission, func);
/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp32 test_func func; member in struct:Test
90 t->result = t->func();
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.h24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : argument
25 mClosure(closure), mSi(si), mFunc(func) {}
H A DrsCpuRuntimeMath.cpp30 #define EXPORT_F32_FN_F32(func) \
31 float __attribute__((overloadable)) SC_##func(float v) { \
32 return func(v); \
35 #define EXPORT_F32_FN_F32_F32(func) \
36 float __attribute__((overloadable)) SC_##func(float t, float v) { \
37 return func(t, v); \
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Dtypedefs.h168 #define ADD_PREFIX(func) LINK0(PREFIX, _, func)
/frameworks/native/cmds/servicemanager/
H A Dbinder.h26 void (*func)(struct binder_state *bs, void *ptr); member in struct:binder_death
73 void binder_loop(struct binder_state *bs, binder_handler func);
/frameworks/base/native/android/
H A Dstorage_manager.cpp73 ObbCallback* registerObbCallback(AStorageManager_obbCallbackFunc func, void* data) { argument
74 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data);
128 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, argument
137 ObbCallback* cb = registerObbCallback(func, data);
144 void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void* data) { argument
145 ObbCallback* cb = registerObbCallback(func, data);
/frameworks/native/libs/binder/
H A DBpBinder.cpp46 IBinder::object_cleanup_func func)
51 e.func = func;
80 if (e.func != NULL) {
81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie);
288 object_cleanup_func func)
292 mObjects.attach(objectID, object, cleanupCookie, func);
44 attach( const void* objectID, void* object, void* cleanupCookie, IBinder::object_cleanup_func func) argument
286 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
/frameworks/base/services/core/java/com/android/server/broadcastradio/
H A DTunerCallback.java64 private void dispatch(RunnableThrowingRemoteException func) { argument
66 func.run();
/frameworks/base/libs/hwui/tests/scripts/
H A Dprocess_systrace.py15 parser.add_argument('--mapper_func', dest='func', default='AvgDrawFrame',
31 run_command = path_to_process_traces + " --mapper_handle " + mapper_func_file + ":" + args.func + " --output_file " + args.outfile + " " + args.trace_file_or_dir

Completed in 746 milliseconds

1234