HomeSort by relevance Sort by last modified time
    Searched refs:fn (Results 101 - 125 of 1690) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/tensorflow/tensorflow/core/common_runtime/
eigen_thread_pool.h 29 void Schedule(std::function<void()> fn) override {
30 pool_->Schedule(std::move(fn));
  /external/u-boot/board/ge/common/
vpd_reader.h 15 int (*fn)(void *userdata, u8 id, u8 version, u8 type,
  /external/flatbuffers/rust/flatbuffers/src/
follow.rs 32 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner;
38 pub fn lifted_follow<'a, T: Follow<'a>>(buf: &'a [u8], loc: usize) -> T::Inner {
48 pub fn new() -> Self {
52 pub fn self_follow(&'a self, buf: &'a [u8], loc: usize) -> T::Inner {
59 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
push.rs 27 fn push(&self, dst: &mut [u8], _rest: &[u8]);
29 fn size() -> usize {
33 fn alignment() -> PushAlignment {
43 pub fn new(x: usize) -> Self {
47 pub fn value(&self) -> usize {
51 pub fn max_of(&self, o: usize) -> Self {
63 fn push(&self, dst: &mut [u8], _rest: &[u8]) {
  /external/skia/src/core/
Sk4px.h 106 // A generic driver that maps fn over a src array into a dst array.
107 // fn should take an Sk4px (4 src pixels) and return an Sk4px (4 dst pixels).
108 template <typename Fn>
109 static void MapSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) {
112 // This looks a bit odd, but it helps loop-invariant hoisting across different calls to fn.
116 Sk4px dst0 = fn(Load4(src+0)),
117 dst4 = fn(Load4(src+4));
125 fn(Load4(src)).store4(dst);
129 fn(Load2(src)).store2(dst)
    [all...]
  /external/skqp/src/core/
Sk4px.h 106 // A generic driver that maps fn over a src array into a dst array.
107 // fn should take an Sk4px (4 src pixels) and return an Sk4px (4 dst pixels).
108 template <typename Fn>
109 static void MapSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) {
112 // This looks a bit odd, but it helps loop-invariant hoisting across different calls to fn.
116 Sk4px dst0 = fn(Load4(src+0)),
117 dst4 = fn(Load4(src+4));
125 fn(Load4(src)).store4(dst);
129 fn(Load2(src)).store2(dst)
    [all...]
  /external/u-boot/include/
sh_pfc.h 118 #define PORT_1(fn, pfx, sfx) fn(pfx, sfx)
120 #define PORT_10(fn, pfx, sfx) \
121 PORT_1(fn, pfx##0, sfx), PORT_1(fn, pfx##1, sfx), \
122 PORT_1(fn, pfx##2, sfx), PORT_1(fn, pfx##3, sfx), \
123 PORT_1(fn, pfx##4, sfx), PORT_1(fn, pfx##5, sfx), \
124 PORT_1(fn, pfx##6, sfx), PORT_1(fn, pfx##7, sfx),
    [all...]
  /external/perfetto/src/trace_processor/
filtered_row_index.h 55 // Calls |fn| on each row index which is currently to be returned and retains
56 // row index if |fn| returns true or discards the row otherwise.
58 void FilterRows(RowPredicate fn) {
63 FilterAllRows(fn);
66 FilterBitVector(fn);
69 FilterRowVector(fn);
100 void FilterAllRows(Predicate fn) {
105 if (fn(i))
111 void FilterBitVector(Predicate fn) {
119 *it = fn(value_it)
    [all...]
  /external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
JcopOsDownload.cpp 74 static const char fn [] = "JcopOsDwnld::getJcopOsFileInfo"; local
100 static const char fn [] = "JcopOsDwnld::initialize"; local
102 ALOGD ("%s: enter", fn);
106 ALOGD("%s: insufficient resources, file not present", fn);
120 ALOGD("%s: Memory allocation for IChannel is failed", fn);
130 ALOGD("%s: Memory allocation for SendBuf is failed", fn);
136 ALOGD("%s: Memory allocation failed", fn);
141 ALOGD ("%s: exit", fn);
155 static const char fn [] = "JcopOsDwnld::finalize"; local
156 ALOGD ("%s: enter", fn);
187 static const char fn [] = "JcopOsDwnld::JcopOs_Download"; local
223 static const char fn[] = "JcopOsDwnld::JcopOs_update_seq_handler"; local
266 static const char fn [] = "JcopOsDwnld::TriggerApdu"; local
329 static const char fn [] = "JcopOsDwnld::GetInfo"; local
425 static const char fn [] = "JcopOsDwnld::load_JcopOS_image"; local
572 static const char fn [] = "JcopOsDwnld::GetJcopOsState"; local
644 static const char fn [] = "JcopOsDwnld::SetJcopOsState"; local
    [all...]
  /bionic/libc/bionic/
clone.cpp 40 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*), void* arg);
45 extern "C" __LIBC_HIDDEN__ void __start_thread(int (*fn)(void*), void* arg) {
53 int status = (*fn)(arg);
58 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) {
63 if (fn != nullptr && child_stack == nullptr) {
102 if (fn != nullptr) {
103 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg);
  /build/make/tools/
check_radio_versions.py 40 key, fn = item.split(":", 1)
47 f = open(fn, "rb")
53 f = open(fn + ".sha1")
56 print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key)
67 print "*** SHA-1 hash of \"%s\" doesn't appear in \"%s.sha1\"" % (fn, fn)
74 fn, versions[digest], key, sys.argv[1])
  /external/python/apitools/apitools/base/protorpclite/
util_test.py 40 def fn(kwonly=1): function in function:UtilTest.testDecoratedFunction_LengthZero
42 self.assertEquals([1], fn())
43 self.assertEquals([2], fn(kwonly=2))
45 r'fn\(\) takes at most 0 positional '
47 fn, 1)
51 def fn(pos, kwonly=1): function in function:UtilTest.testDecoratedFunction_LengthOne
53 self.assertEquals([1, 1], fn(1))
54 self.assertEquals([2, 2], fn(2, kwonly=2))
56 r'fn\(\) takes at most 1 positional '
58 fn, 2, 3
62 def fn(pos1, pos2=1, kwonly=1): function in function:UtilTest.testDecoratedFunction_LengthTwoWithDefault
87 def fn(a, b, c=None): function in function:UtilTest.testDefaultDecoration
97 def fn(a): function in function:UtilTest.testDefaultDecorationNoKwdsFails
107 def fn(kwonly=1): function in function:UtilTest.testDecoratedFunctionDocstring
    [all...]
  /bionic/libm/upstream-freebsd/lib/msun/ld128/
e_rem_pio2l.h 65 long double z,w,t,r,fn; local
77 /* TODO: use only double precision for fn, as in expl(). */
78 fn = rnintl(x * invpio2);
79 n = i64rint(fn);
80 r = x-fn*pio2_1;
81 w = fn*pio2_1t; /* 1st round good to 180 bit */
92 w = fn*pio2_2;
94 w = fn*pio2_2t-((t-r)-w);
101 w = fn*pio2_3;
103 w = fn*pio2_3t-((t-r)-w);
    [all...]
  /external/libvpx/libvpx/vp8/common/
reconintra.c 54 intra_pred_fn fn; local
61 fn = dc_pred[x->left_available][x->up_available][SIZE_16];
63 fn = pred[mode][SIZE_16];
66 fn(ypred_ptr, y_stride, yabove_row, yleft_col);
85 intra_pred_fn fn; local
93 fn = dc_pred[x->left_available][x->up_available][SIZE_8];
95 fn = pred[uvmode][SIZE_8];
98 fn(upred_ptr, pred_stride, uabove_row, uleft_col);
99 fn(vpred_ptr, pred_stride, vabove_row, vleft_col);
  /external/skia/tests/
ColorSpaceTest.cpp 132 skcms_TransferFunction fn; local
133 fn.a = 1.0f;
134 fn.b = 0.0f;
135 fn.c = 1.0f;
136 fn.d = 0.5f;
137 fn.e = 0.0f;
138 fn.f = 0.0f;
139 fn.g = 1.0f;
145 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ), false);
165 skcms_TransferFunction fn; local
294 skcms_TransferFunction fn; local
311 skcms_TransferFunction fn; local
    [all...]
  /external/skqp/tests/
ColorSpaceTest.cpp 132 skcms_TransferFunction fn; local
133 fn.a = 1.0f;
134 fn.b = 0.0f;
135 fn.c = 1.0f;
136 fn.d = 0.5f;
137 fn.e = 0.0f;
138 fn.f = 0.0f;
139 fn.g = 1.0f;
145 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ), false);
165 skcms_TransferFunction fn; local
294 skcms_TransferFunction fn; local
311 skcms_TransferFunction fn; local
    [all...]
  /external/u-boot/drivers/fpga/
altera.c 47 static int altera_validate(Altera_desc *desc, const char *fn)
50 printf("%s: NULL descriptor!\n", fn);
56 printf("%s: Invalid family type, %d\n", fn, desc->family);
62 printf("%s: Invalid Interface type, %d\n", fn, desc->iface);
67 printf("%s: NULL part size\n", fn);
75 altera_desc_to_fpga(Altera_desc *desc, const char *fn)
79 if (altera_validate(desc, fn)) {
80 printf("%s: Invalid device descriptor\n", fn);
90 printf("%s: Unsupported family type, %d\n", fn, desc->family);
  /external/python/cpython2/Mac/scripts/
cachersrc.py 16 for fn in fnames:
17 if fn[-5:] == '.rsrc' and fn[-13:] != '.rsrc.df.rsrc':
20 os.unlink(os.path.join(dirname, fn + '.df.rsrc'))
23 macresource.open_pathname(os.path.join(dirname, fn), verbose=verbose)
  /external/tensorflow/tensorflow/compiler/jit/
xla_compilation_cache_test.cc 24 NameAttrList fn; local
25 fn.set_name("afunction");
32 XlaCompilationCache::BuildSignature(fn, args));
37 XlaCompilationCache::BuildSignature(fn, args));
42 XlaCompilationCache::BuildSignature(fn, args));
  /external/tensorflow/tensorflow/core/lib/core/
threadpool.h 63 // Schedules fn() for execution in the pool of threads.
64 void Schedule(std::function<void()> fn);
69 void ScheduleWithHint(std::function<void()> fn, int start, int limit);
71 // Spawns k threads and calls fn(i*block_size, (i+1)*block_size) from the
72 // ith thread (i>=0). When (i+1)*block_size > total, fn(i*block_size, total)
77 const std::function<void(int64, int64)>& fn);
95 std::function<void(int64, int64)> fn);
105 // synchronization. However, the worker fn may be called multiple times
111 // should be allocated by fn the first time that the id is used.
114 const std::function<void(int64, int64, int)>& fn);
    [all...]
  /external/compiler-rt/lib/asan/
asan_win_dll_thunk.cc 108 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
109 fn(); \
116 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
117 fn(arg); \
124 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
125 fn(arg1, arg2); \
132 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
133 fn(arg1, arg2, arg3); \
140 static fntype fn = (fntype)getRealProcAddressOrDie(#name); \
141 return fn(); \
208 static fntype fn = 0; local
    [all...]
  /external/python/cpython2/Doc/tools/
rstlint.py 66 def check_syntax(fn, lines):
74 compile(code, fn, 'exec')
80 def check_suspicious_constructs(fn, lines):
95 def check_whitespace(fn, lines):
107 def check_line_length(fn, lines):
121 def check_leaked_markup(fn, lines):
184 for fn in files:
185 fn = join(root, fn)
186 if fn[:2] == './'
    [all...]
  /external/python/cpython3/Doc/tools/
rstlint.py 67 def check_syntax(fn, lines):
75 compile(code, fn, 'exec')
81 def check_suspicious_constructs(fn, lines):
96 def check_whitespace(fn, lines):
108 def check_line_length(fn, lines):
122 def check_leaked_markup(fn, lines):
180 for fn in files:
181 fn = join(root, fn)
182 if fn[:2] == './'
    [all...]
  /external/autotest/utils/
parallel.py 30 for fn in function_list:
31 functions[fn] = set()
34 for fn, deps in functions.iteritems():
35 dependents[fn] = []
36 for fn, deps in functions.iteritems():
38 dependents[dep].append(fn)
58 for fn, deps in self.functions.iteritems():
60 self.ready_to_run.append(fn)
71 fn = self.pid_map.pop(pid)
73 errors.append("%s failed" % fn.__name__
    [all...]
  /external/compiler-rt/test/asan/TestCases/Posix/
start-deactivated.cc 42 typedef void (*Fn)();
59 void *fn = dlsym(dso, "do_another_bad_thing"); local
60 if (!fn) {
70 ((Fn)fn)();

Completed in 1490 milliseconds

1 2 3 45 6 7 8 91011>>