/external/clang/test/SemaCXX/ |
decl-expr-ambiguity.cpp | 76 void fn(int(C)) { } // void fn(int(*fp)(C c)) { } expected-note{{candidate function}} function 77 // not: void fn(int C); 81 fn(1); // expected-error {{no matching function}} 82 fn(g); // OK
|
/external/perfetto/src/traced/probes/ftrace/ |
atrace_hal_wrapper.cc | 38 void* fn = dlsym(*handle_, "GetCategories"); local 39 if (!fn) { 43 get_categories_ = reinterpret_cast<decltype(get_categories_)>(fn);
|
/external/perfetto/tools/ |
analyze_pipestats.py | 45 for fn in argv[1:]: 46 name = os.path.basename(fn) 47 xs = np.loadtxt(fn, dtype=np.int)
|
/external/python/cpython3/Lib/test/test_tools/ |
test_sundry.py | 35 for fn in os.listdir(scriptsdir): 36 if not fn.endswith('.py'): 39 name = fn[:-3]
|
/external/selinux/libselinux/src/ |
procattr.c | 296 #define getselfattr_def(fn, attr) \ 297 int get##fn##_raw(char **c) \ 301 int get##fn(char **c) \ 306 #define setselfattr_def(fn, attr) \ 307 int set##fn##_raw(const char * c) \ 311 int set##fn(const char * c) \ 316 #define all_selfattr_def(fn, attr) \ 317 getselfattr_def(fn, attr) \ 318 setselfattr_def(fn, attr) 320 #define getpidattr_def(fn, attr) [all...] |
/external/tensorflow/tensorflow/core/framework/ |
op_def_builder.h | 43 OpRegistrationData(const OpDef& def, const OpShapeInferenceFn& fn, 45 : op_def(def), shape_inference_fn(fn), is_function_op(is_function) {} 143 OpDefBuilder& SetShapeFn(Status (*fn)(shape_inference::InferenceContext*));
|
/external/tensorflow/tensorflow/core/platform/ |
test_benchmark.h | 84 Benchmark(const char* name, void (*fn)(int)); 85 Benchmark(const char* name, void (*fn)(int, int)); 86 Benchmark(const char* name, void (*fn)(int, int, int));
|
/external/u-boot/arch/arm/mach-keystone/ |
cmd_mon.c | 72 void (*fn)(void); 74 fn = core_spin; 83 rcode = mon_power_on(core_id, fn);
|
/external/u-boot/test/py/ |
u_boot_utils.py | 29 def md5sum_file(fn, max_length=None): 33 fn: The filename of the file to hash. 42 with open(fn, 'rb') as fh: 54 def __init__(self, u_boot_console, fn, size): 66 fn: The filename (without path) to create. 73 self.fn = fn 75 self.abs_fn = u_boot_console.config.persistent_data_dir + '/' + fn 89 def attempt_to_open_file(fn): 98 fn: The filename to attempt to open [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
critical_section_test.py | 44 def fn(a, b): function in function:CriticalSectionTest.testCreateCriticalSection 52 r = [cs.execute(lambda: fn(1.0, 2.0)) for _ in range(num_concurrent)] 67 def fn(a, b): function in function:CriticalSectionTest.testCriticalSectionWithControlFlow 78 return cs.execute(lambda: fn(1.0, 2.0)) 99 # run fn() in parallel, which is where the deadlock could 104 def fn(i): function in function:CriticalSectionTest.testCriticalSectionInParallelDoesntDeadlockOnError 113 return [cs.execute(lambda: fn(i)) for i in range(num_concurrent)] 169 def fn(x): function in function:CriticalSectionTest.testRecursiveCriticalSectionAccessIsIllegal 176 cs.execute(lambda: fn(1.0)) 195 fn = array_ops.identit 313 def fn(x): function in function:CriticalSectionTest.testRecursiveCriticalSectionAccessIsIllegalSameSharedName 375 def fn(): function in function:CriticalSectionTest.testInsideFunction [all...] |
/external/flatbuffers/rust/flatbuffers/src/ |
primitives.rs | 86 fn clone(&self) -> WIPOffset<T> { 91 fn eq(&self, o: &WIPOffset<T>) -> bool { 99 fn deref(&self) -> &UOffsetT { 106 pub fn new(o: UOffsetT) -> WIPOffset<T> { 116 pub fn as_union_value(&self) -> WIPOffset<UnionWIPOffset> { 121 pub fn value(&self) -> UOffsetT { 130 fn push(&self, dst: &mut [u8], rest: &[u8]) { 140 fn push(&self, dst: &mut [u8], rest: &[u8]) { 151 pub fn value(&self) -> UOffsetT { 159 fn follow(buf: &'a [u8], loc: usize) -> Self::Inner [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_functoolsmodule.c | 94 PyObject *fn;
member in struct:__anon5357 127 pto->fn = func;
154 Py_XDECREF(pto->fn);
167 assert (PyCallable_Check(pto->fn));
201 ret = PyObject_Call(pto->fn, argappl, kwappl);
210 Py_VISIT(pto->fn);
223 {"func", T_OBJECT, OFF(fn), READONLY,
283 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn,
291 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_socketserver.py | 77 for fn in self.test_files:
79 os.remove(fn)
93 fn = tempfile.mktemp(prefix='unix_socket.', dir=dir)
98 if fn[1] == ':':
99 fn = fn[2:]
100 if fn[0] in (os.sep, os.altsep):
101 fn = fn[1:]
103 fn = fn.replace(os.sep, os.altsep) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_functoolsmodule.c | 94 PyObject *fn;
member in struct:__anon5667 127 pto->fn = func;
158 Py_XDECREF(pto->fn);
171 assert (PyCallable_Check(pto->fn));
205 ret = PyObject_Call(pto->fn, argappl, kwappl);
214 Py_VISIT(pto->fn);
227 {"func", T_OBJECT, OFF(fn), READONLY,
287 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn,
295 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/external/python/cpython2/Modules/ |
_functoolsmodule.c | 94 PyObject *fn; member in struct:__anon36633 127 pto->fn = func; 150 Py_XDECREF(pto->fn); 163 assert (PyCallable_Check(pto->fn)); 198 ret = PyObject_Call(pto->fn, argappl, kwappl); 207 Py_VISIT(pto->fn); 220 {"func", T_OBJECT, OFF(fn), READONLY, 280 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn, 288 PyObject *fn, *fnargs, *kw, *dict local [all...] |
/external/okhttp/website/static/ |
bootstrap.min.js | 6 !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on(" (…) [all...] |
/external/python/cpython3/Lib/test/ |
test_venv.py | 79 fn = self.get_env_file(*args) 80 self.assertTrue(os.path.isdir(fn)) 103 fn = self.get_env_file(self.bindir, self.exe) 104 if not os.path.exists(fn): # diagnostics for Windows buildbot failures 108 self.assertTrue(os.path.exists(fn), 'File %r should exist.' % fn) 168 fn = os.path.join(d, filename) 169 with open(fn, 'wb') as f: 179 fn = os.path.join(self.env_dir, *(subdirs + ('foo',))) 180 self.assertTrue(os.path.exists(fn)) [all...] |
/external/mesa3d/src/compiler/glsl/ |
lower_subroutine.cpp | 90 ir_function *fn = this->state->subroutines[s]; local 91 ir_constant *lc = new(mem_ctx)ir_constant(fn->subroutine_index); 95 for (int i = 0; i < fn->num_subroutine_types; i++) { 96 if (ir->sub_var->type->without_array() == fn->subroutine_types[i]) { 110 fn->exact_matching_signature(this->state,
|
/external/syzkaller/vendor/google.golang.org/appengine/internal/ |
api_classic.go | 92 if fn, ok := NamespaceMods[service]; ok { 93 fn(in, ns) 152 var fn func(format string, args ...interface{}) 155 fn = c.Debugf 157 fn = c.Infof 159 fn = c.Warningf 161 fn = c.Errorf 163 fn = c.Criticalf 166 fn = c.Criticalf 168 fn(format, args... [all...] |
/bionic/tests/ |
dlfcn_test.cpp | 216 int (*fn)(void); 217 fn = reinterpret_cast<int (*)(void)>(sym); 218 EXPECT_EQ(4, fn()); 391 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "relo_test_get_answer")); local 392 ASSERT_TRUE(fn != nullptr) << dlerror(); 393 ASSERT_EQ(1, fn()); 425 fn_t fn, fn2; local 426 fn = reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "check_order_dlsym_get_answer")); 427 ASSERT_TRUE(fn != nullptr) << dlerror(); 431 ASSERT_EQ(42, fn()); 478 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); local 505 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); local 543 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_grandchild_get_answer")); local 589 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_nephew_get_answer")); local 616 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); local 664 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_root_get_answer")); local 1226 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1236 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1246 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1256 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1266 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "versioned_function")); local 1278 fn_t fn = reinterpret_cast<fn_t>(dlvsym(handle, "versioned_function", "nonversion")); local 1284 fn_t fn = reinterpret_cast<fn_t>(dlvsym(handle, "versioned_function", "TESTLIB_V2")); local 1307 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); local 1322 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
mailerdaemon.py | 166 files = filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.'))
169 for fn in files:
171 fp = open(fn)
174 print '%s\t%-40s\t'%(fn, sender[1]),
181 os.rename(fn, ','+fn)
182 ## os.unlink(fn)
203 errorfirst[e] = '%s (%s)' % (fn, date)
206 errorlast[e] = '%s (%s)' % (fn, date) [all...] |
/external/boringssl/src/crypto/x509v3/ |
v3name_test.cc | 279 int (*fn) (X509 *, const char *); member in struct:set_name_fn 318 static void check_message(const struct set_name_fn *fn, const char *op, 325 fn->name, op, nameincert, 334 const struct set_name_fn *fn) 349 } else if (fn->host) { 356 check_message(fn, "host", nameincert, match, *pname); 364 } else if (fn->host) { 371 check_message(fn, "host-no-wildcards", nameincert, match, *pname); 375 if (fn->email) { 382 check_message(fn, "email", nameincert, match, *pname) [all...] |
/external/python/cpython2/Tools/scripts/ |
mailerdaemon.py | 167 files = filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.')) 170 for fn in files: 172 fp = open(fn) 175 print '%s\t%-40s\t'%(fn, sender[1]), 182 os.rename(fn, ','+fn) 183 ## os.unlink(fn) 204 errorfirst[e] = '%s (%s)' % (fn, date) 207 errorlast[e] = '%s (%s)' % (fn, date [all...] |
/external/python/cpython3/Tools/scripts/ |
mailerdaemon.py | 175 files = list(filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.'))) 178 for fn in files: 180 fp = open(fn) 183 print('%s\t%-40s\t'%(fn, sender[1]), end=' ') 190 os.rename(fn, ','+fn) 191 ## os.unlink(fn) 212 errorfirst[e] = '%s (%s)' % (fn, date) 215 errorlast[e] = '%s (%s)' % (fn, date [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
kullback_leibler_test.py | 99 def _testIndirectRegistration(self, fn): 135 self.assertEqual("sub1-1", fn(sub1, sub1)) 136 self.assertEqual("sub1-2", fn(sub1, sub2)) 137 self.assertEqual("sub2-1", fn(sub2, sub1)) 138 self.assertEqual("sub1-1", fn(sub11, sub11)) 139 self.assertEqual("sub1-1", fn(sub11, sub1)) 140 self.assertEqual("sub1-2", fn(sub11, sub2)) 141 self.assertEqual("sub1-1", fn(sub11, sub1)) 142 self.assertEqual("sub1-2", fn(sub11, sub2)) 143 self.assertEqual("sub2-1", fn(sub2, sub11) [all...] |