Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 54) sorted by relevance

123

/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/rs/
DrsDriverLoader.cpp51 static bool LoadHalTable(Context *rsc, HalQueryHal fn, bool loadGraphics) { in LoadHalTable() argument
54 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver); in LoadHalTable()
55 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority); in LoadHalTable()
56 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem); in LoadHalTable()
57 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem); in LoadHalTable()
58 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish); in LoadHalTable()
60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable()
61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable()
62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable()
63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript29 #define TEST_HN_FUNC_HN(fn) \
30 h1 = fn(h1); \
31 h2 = fn(h2); \
32 h3 = fn(h3); \
33 h4 = fn(h4);
35 #define TEST_IN_FUNC_HN(fn) \
36 i1 = fn(h1); \
37 i2 = fn(h2); \
38 i3 = fn(h3); \
39 i4 = fn(h4);
[all …]
/frameworks/base/data/sounds/
DAudioPackage13.mk19 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
20 …$(LOCAL_PATH)/alarms/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/$(fn).og…
22 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
23 …$(LOCAL_PATH)/notifications/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifica…
25 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
26 …$(LOCAL_PATH)/ringtones/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/$(
28 PRODUCT_COPY_FILES += $(foreach fn,$(EFFECT_FILES),\
29 $(LOCAL_PATH)/effects/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
30 PRODUCT_COPY_FILES += $(foreach fn,$(MATERIAL_EFFECT_FILES),\
31 $(LOCAL_PATH)/effects/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
DAudioPackage12.mk18 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
19 $(LOCAL_PATH)/alarms/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/$(fn).ogg)
21 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
22 …$(LOCAL_PATH)/notifications/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/$(f…
24 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
25 $(LOCAL_PATH)/ringtones/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/$(fn).ogg)
27 PRODUCT_COPY_FILES += $(foreach fn,$(EFFECT_FILES),\
28 $(LOCAL_PATH)/effects/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
29 PRODUCT_COPY_FILES += $(foreach fn,$(MATERIAL_EFFECT_FILES),\
30 $(LOCAL_PATH)/effects/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
DAudioPackage14.mk20 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
21 …$(LOCAL_PATH)/alarms/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/$(fn).og…
23 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
24 …$(LOCAL_PATH)/notifications/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifica…
26 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
27 …$(LOCAL_PATH)/ringtones/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/$(
29 PRODUCT_COPY_FILES += $(foreach fn,$(EFFECT_FILES),\
30 $(LOCAL_PATH)/effects/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
31 PRODUCT_COPY_FILES += $(foreach fn,$(MATERIAL_EFFECT_FILES),\
32 $(LOCAL_PATH)/effects/material/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
DAudioPackage12_48.mk19 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
20 $(LOCAL_PATH)/alarms/ogg/$(fn).ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/$(fn).ogg)
22 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
23 …$(LOCAL_PATH)/notifications/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications…
25 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
26 …$(LOCAL_PATH)/ringtones/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/$(fn).o…
28 PRODUCT_COPY_FILES += $(foreach fn,$(EFFECT_FILES),\
29 $(LOCAL_PATH)/effects/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
30 PRODUCT_COPY_FILES += $(foreach fn,$(MATERIAL_EFFECT_FILES),\
31 …$(LOCAL_PATH)/effects/material/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).o…
DAudioPackage13_48.mk19 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
20 …$(LOCAL_PATH)/alarms/material/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/$(fn
22 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
23 …(LOCAL_PATH)/notifications/material/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notif…
25 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
26 …$(LOCAL_PATH)/ringtones/material/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtone…
28 PRODUCT_COPY_FILES += $(foreach fn,$(EFFECT_FILES),\
29 $(LOCAL_PATH)/effects/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).ogg)
30 PRODUCT_COPY_FILES += $(foreach fn,$(MATERIAL_EFFECT_FILES),\
31 …$(LOCAL_PATH)/effects/material/ogg/$(fn)_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/$(fn).o…
/frameworks/minikin/app/
DHyphTool.cpp13 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix, const char* language) { in loadHybFile() argument
15 int status = stat(fn, &statbuf); in loadHybFile()
17 fprintf(stderr, "error opening %s\n", fn); in loadHybFile()
21 FILE* f = fopen(fn, "rb"); in loadHybFile()
23 fprintf(stderr, "error opening %s\n", fn); in loadHybFile()
30 fprintf(stderr, "error reading %s\n", fn); in loadHybFile()
/frameworks/rs/driver/runtime/
Drs_cl.c1580 #define THUNK_NATIVE_F(fn) \ argument
1581 float __attribute__((overloadable)) native_##fn(float v) { return fn(v);} \
1582 float2 __attribute__((overloadable)) native_##fn(float2 v) { return fn(v);} \
1583 float3 __attribute__((overloadable)) native_##fn(float3 v) { return fn(v);} \
1584 float4 __attribute__((overloadable)) native_##fn(float4 v) { return fn(v);}
1586 #define THUNK_NATIVE_F_F(fn) \ argument
1587 float __attribute__((overloadable)) native_##fn(float v1, float v2) { return fn(v1, v2);} \
1588 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 v2) { return fn(v1, v2);} \
1589 float3 __attribute__((overloadable)) native_##fn(float3 v1, float3 v2) { return fn(v1, v2);} \
1590 float4 __attribute__((overloadable)) native_##fn(float4 v1, float4 v2) { return fn(v1, v2);}
[all …]
/frameworks/base/cmds/screencap/
Dscreencap.cpp170 const char* fn = NULL; in main() local
174 fn = argv[0]; in main()
175 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664); in main()
177 fprintf(stderr, "Error opening file: %s (%s)\n", fn, strerror(errno)); in main()
180 const int len = strlen(fn); in main()
181 if (len >= 4 && 0 == strcmp(fn+len-4, ".png")) { in main()
250 if (fn != NULL) { in main()
251 notifyMediaScanner(fn); in main()
/frameworks/libs/native_bridge_support/overriding/libc/
D__cxa_thread_atexit_impl.cpp26 thread_atexit_fn_t fn; member
33 WrappedArg::thread_atexit_fn_t origin_fn = wrapped_arg->fn; in WrappedFn()
48 wrapped_arg->fn = func; in __cxa_thread_atexit_impl()
Dmalloc_init.cpp38 static fn_t fn = reinterpret_cast<fn_t>( in malloc_info_impl() local
40 return fn(options, fd); in malloc_info_impl()
/frameworks/native/cmds/idlcli/
Dvibrator.h72 R call(R (I::*fn)(Args0...), Args1&&... args1) { in call()
73 return (*mHal.*fn)(std::forward<Args1>(args1)...); in call()
90 R halCall(R (I::*fn)(Args0...), Args1&&... args1) { in halCall()
92 return hal ? hal->call(fn, std::forward<Args1>(args1)...) : NullptrStatus<R>(); in halCall()
/frameworks/libs/net/common/hostdevice/com/android/testutils/
DMiscAsserts.kt80 fun assertRunsInAtMost(descr: String, timeLimit: Long, fn: Runnable) { in assertRunsInAtMost()
81 assertRunsInAtMost(descr, timeLimit) { fn.run() } in assertRunsInAtMost()
84 fun assertRunsInAtMost(descr: String, timeLimit: Long, fn: () -> Unit) { in assertRunsInAtMost()
85 val timeTaken = measureTimeMillis(fn) in assertRunsInAtMost()
DConcurrentUtils.kt24 fun durationOf(fn: Runnable) = measureTimeMillis { fn.run() } in <lambda>()
/frameworks/base/data/keyboards/
DVendor_046d_Product_c532.kl22 # - FORWARD_DEL is produced by fn + BACKSPACE
23 # - PAGE_UP / PAGE_DOWN is produced by fn + CHANNEL_UP / CHANNEL_DOWN
25 # as well as several of the other fn buttons and the PIP button?
125 # key 289 right mouse button (fn + button)
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp395 ForEachFunc_t fn = mtls->kernel; in walk_general_foreach() local
413 fn(&fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]); in walk_general_foreach()
422 ForEachFunc_t fn = mtls->kernel; in walk_2d_foreach() local
438 fn(&fep, mtls->start.x, mtls->end.x, fep.outStride[0]); in walk_2d_foreach()
447 ForEachFunc_t fn = mtls->kernel; in walk_1d_foreach() local
462 fn(&fep, xStart, xEnd, fep.outStride[0]); in walk_1d_foreach()
544 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; in walk_1d_reduce() local
557 fn(&redp, xStart, xEnd, accumPtr); in walk_1d_reduce()
583 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; in walk_2d_reduce() local
597 fn(&redp, mtls->start.x, mtls->end.x, accumPtr); in walk_2d_reduce()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java97 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup() local
99 String cgroup = FileUtils.readTextFile(new File(fn), 1024, null); in getSchedulerGroup()
105 Log.e(TAG, "Can't read: " + fn, e); in getSchedulerGroup()
/frameworks/compile/libbcc/include/bcc/
DScript.h82 void setLinkRuntimeCallback(RSLinkRuntimeCallback fn) { in setLinkRuntimeCallback() argument
83 mLinkRuntimeCallback = fn; in setLinkRuntimeCallback()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h542 C2R (*fn)(bool, const C2P<T> &, C2P<T> &, const C2P<Deps> &...),
546 setSetter([typedParam, fn, &deps...](
563 C2R result = fn(mayBlock, oldValue, helper, factory.get(deps)...);
585 C2R (*fn)(bool, C2P<T> &, const C2P<Deps> &...), std::shared_ptr<Deps>& ... deps) {
587 setSetter([typedParam, fn, &deps...](
603 C2R result = fn(mayBlock, helper, factory.get(deps)...);
625 C2R (*fn)(bool, C2P<T> &, const C2P<Deps> &...), std::shared_ptr<Deps>& ... deps) {
627 return withSetter(fn, std::forward<decltype(deps)>(deps)...);
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp55 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \ argument
56 ALOGE_IF(cond, #fn "(%p:%s, " fmt ") ERROR: %s(%#x)", \
58 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__) argument
59 #define CLOG_IF_ERROR(fn, err, fmt, ...) \ argument
60 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__)
62 #define CLOGI_(level, fn, fmt, ...) \ argument
63 ALOGI_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__)
64 #define CLOGD_(level, fn, fmt, ...) \ argument
65 ALOGD_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__)
67 #define CLOG_LIFE(fn, fmt, ...) CLOGI_(ADebug::kDebugLifeCycle, fn, fmt, ##__VA_ARGS__) argument
[all …]
/frameworks/base/cmds/bootanimation/
DFORMAT.md112 for fn in *.png ; do
113 zopflipng -m ${fn}s ${fn}s.new && mv -f ${fn}s.new ${fn}
/frameworks/minikin/tools/
Dmk_hyb_file.py275 def load(fn): argument
277 with io.open(fn, encoding='UTF-8') as f:
285 def load_chr(fn): argument
287 with io.open(fn, encoding='UTF-8') as f:
305 def load_hyp(hyph, fn): argument
306 with io.open(fn, encoding='UTF-8') as f:
427 def verify_file_sorted(lines, fn): argument
428 file_lines = [l.strip() for l in io.open(fn, encoding='UTF-8')]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java57 private static String readFile(String fn) { in readFile() argument
63 f = new FileReader(fn); in readFile()

123