/bionic/tests/ |
unistd_test.cpp | 350 static void TestFsyncFunction(int (*fn)(int)) { 355 EXPECT_EQ(-1, fn(-1)); 362 EXPECT_EQ(0, fn(tf.fd)); 365 EXPECT_EQ(0, fn(fd)); 369 EXPECT_EQ(0, fn(fd)); 374 EXPECT_EQ(0, fn(fd)); 380 EXPECT_EQ(-1, fn(fd));
|
/external/iproute2/ip/ |
ipneigh.c | 236 struct nlmsghdr *fn; local 241 fn = (struct nlmsghdr*)(filter.flushb + NLMSG_ALIGN(filter.flushp)); 242 memcpy(fn, n, n->nlmsg_len); 243 fn->nlmsg_type = RTM_DELNEIGH; 244 fn->nlmsg_flags = NLM_F_REQUEST; 245 fn->nlmsg_seq = ++rth.seq; 246 filter.flushp = (((char*)fn) + n->nlmsg_len) - filter.flushb;
|
/external/valgrind/main/VEX/priv/ |
guest_generic_bb_to_IR.c | 112 dis_instr_fn is the arch-specific fn to disassemble on function; it 592 ULong VEX_REGPARM(1) (*fn)(HWord) = NULL; 594 case 1: fn = genericg_compute_checksum_8al_1; 596 case 2: fn = genericg_compute_checksum_8al_2; 598 case 3: fn = genericg_compute_checksum_8al_3; 600 case 4: fn = genericg_compute_checksum_8al_4; 602 case 5: fn = genericg_compute_checksum_8al_5; 604 case 6: fn = genericg_compute_checksum_8al_6; 606 case 7: fn = genericg_compute_checksum_8al_7; 608 case 8: fn = genericg_compute_checksum_8al_8 [all...] |
host_amd64_isel.c | 424 return value is after the call. The caller (of this fn) must 916 HWord fn = 0; local 3123 HWord fn = 0; \/* address of helper fn, if required *\/ local 3737 HWord fn = 0; \/* address of helper fn, if required *\/ local [all...] |
/external/linux-tools-perf/perf-3.12.0/include/linux/ |
perf_event.h | 826 #define perf_cpu_notifier(fn) \ 828 static struct notifier_block fn##_nb = \ 829 { .notifier_call = fn, .priority = CPU_PRI_PERF }; \ 832 fn(&fn##_nb, (unsigned long)CPU_UP_PREPARE, \ 835 fn(&fn##_nb, (unsigned long)CPU_STARTING, \ 838 fn(&fn##_nb, (unsigned long)CPU_ONLINE, \ 840 register_cpu_notifier(&fn##_nb); [all...] |
/bootable/recovery/uncrypt/ |
uncrypt.c | 159 char* fn = NULL; local 177 fn = strdup(temp + strlen("--update_package=")); 186 if (fn) { 187 char* newline = strchr(fn, '\n'); 190 return fn;
|
/external/chromium_org/remoting/webapp/ |
base.js | 345 * Add a listener |fn| to listen to |type| event. 347 * @param {function(?=):void} fn 349 addEventListener: function(type, fn) { 350 base.debug.assert(typeof fn == 'function'); 354 listeners.push(fn); 358 * Remove the listener |fn| from the event source. 360 * @param {function(?=):void} fn 362 removeEventListener: function(type, fn) { 363 base.debug.assert(typeof fn == 'function'); 370 if (listener == fn) { [all...] |
window_frame.js | 64 * @type {Array.<{cls:string, fn: function()}>} 67 { cls: 'window-disconnect', fn: this.disconnectSession_.bind(this) }, 69 fn: this.maximizeOrRestoreWindow_.bind(this) }, 70 { cls: 'window-minimize', fn: this.minimizeWindow_.bind(this) }, 71 { cls: 'window-close', fn: window.close.bind(window) }, 72 { cls: 'window-controls-stub', fn: this.toggleWindowControls_.bind(this) } 77 element.addEventListener('click', handlers[i].fn, false);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
linuxthreads.cc | 80 /* Wrapper around clone() that runs "fn" on the same stack as the 92 static int local_clone (int (*fn)(void *), void *arg, ...) 97 static int local_clone (int (*fn)(void *), void *arg, ...) { 112 return sys_clone(fn, (char *)&arg - 4096, 132 /* Re-runs fn until it doesn't cause EINTR 134 #define NO_INTR(fn) do {} while ((fn) < 0 && errno == EINTR)
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
linuxthreads.cc | 80 /* Wrapper around clone() that runs "fn" on the same stack as the 92 static int local_clone (int (*fn)(void *), void *arg, ...) 97 static int local_clone (int (*fn)(void *), void *arg, ...) { 112 return sys_clone(fn, (char *)&arg - 4096, 132 /* Re-runs fn until it doesn't cause EINTR 134 #define NO_INTR(fn) do {} while ((fn) < 0 && errno == EINTR)
|
/ndk/sources/host-tools/make-3.81/glob/ |
fnmatch.c | 320 unsigned char fn = FOLD ((unsigned char) *n); local 329 if (c == fn) 397 if (FOLD (c) == fn) 412 if (cold <= fn && fn <= FOLD (cend))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
audiodev.py | 238 def test(fn = None): 241 fn = sys.argv[1] 243 fn = 'f:just samples:just.aif' 245 af = aifc.open(fn, 'r') 246 print fn, af.getparams()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
cygwinccompiler.py | 412 fn = sysconfig.get_config_h_filename() 416 f = open(fn) 426 "couldn't read '%s': %s" % (fn, exc.strerror)) 431 return (CONFIG_H_OK, "'%s' mentions '__GNUC__'" % fn) 433 return (CONFIG_H_NOTOK, "'%s' does not mention '__GNUC__'" % fn)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
audiodev.py | 238 def test(fn = None): 241 fn = sys.argv[1] 243 fn = 'f:just samples:just.aif' 245 af = aifc.open(fn, 'r') 246 print fn, af.getparams()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
cygwinccompiler.py | 412 fn = sysconfig.get_config_h_filename() 416 f = open(fn) 426 "couldn't read '%s': %s" % (fn, exc.strerror)) 431 return (CONFIG_H_OK, "'%s' mentions '__GNUC__'" % fn) 433 return (CONFIG_H_NOTOK, "'%s' does not mention '__GNUC__'" % fn)
|
/external/chromium_org/third_party/icu/source/common/ |
unames.cpp | 601 UEnumCharNamesFn *fn, void *context, 607 if(fn!=DO_FIND_NAME) { 618 if(!fn(context, start, nameChoice, buffer, length)) { 645 UEnumCharNamesFn *fn, void *context) 647 if(fn!=DO_FIND_NAME) { 655 if(!fn(context, start, U_EXTENDED_CHAR_NAME, buffer, length)) { 669 UEnumCharNamesFn *fn, void *context, 686 if(!enumExtNames(start, extLimit-1, fn, context)) { 695 return enumGroupNames(names, group, start, limit-1, fn, context, nameChoice); 707 fn, context, nameChoice)) [all...] |
/external/icu/icu4c/source/common/ |
unames.cpp | 601 UEnumCharNamesFn *fn, void *context, 607 if(fn!=DO_FIND_NAME) { 618 if(!fn(context, start, nameChoice, buffer, length)) { 645 UEnumCharNamesFn *fn, void *context) 647 if(fn!=DO_FIND_NAME) { 655 if(!fn(context, start, U_EXTENDED_CHAR_NAME, buffer, length)) { 669 UEnumCharNamesFn *fn, void *context, 686 if(!enumExtNames(start, extLimit-1, fn, context)) { 695 return enumGroupNames(names, group, start, limit-1, fn, context, nameChoice); 707 fn, context, nameChoice)) [all...] |
/external/fio/ |
parse.c | 433 fio_opt_str_fn *fn = o->cb; local 453 else if (fn) 454 ret = fn(data, ptr); 461 fio_opt_str_val_fn *fn = o->cb; local 509 if (fn) 510 ret = fn(data, &ull); 609 fio_opt_str_fn *fn = o->cb; local 619 if (fn) 620 ret = fn(data, ptr); 635 fn = vp->cb 730 fio_opt_int_fn *fn = o->cb; local [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
jquery.js | 13 return new jQuery.fn.init( selector, context, rootjQuery ); 83 jQuery.fn = jQuery.prototype = { 135 jQuery.fn.attr.call( selector, context, true ); 260 ready: function( fn ) { 265 readyList.add( fn ); 308 jQuery.fn.init.prototype = jQuery.fn; 310 jQuery.extend = jQuery.fn.extend = function() { 424 if ( jQuery.fn.trigger ) { 784 proxy: function( fn, context ) [all...] |
/build/tools/releasetools/ |
common.py | 101 def read_helper(fn): 103 return input.read(fn) 105 path = os.path.join(input, *fn.split("/")) 111 raise KeyError(fn) 316 fn = os.path.join(sourcedir, "second") 317 if os.access(fn, os.F_OK): 319 cmd.append(fn) 321 fn = os.path.join(sourcedir, "cmdline") 322 if os.access(fn, os.F_OK): 324 cmd.append(open(fn).read().rstrip("\n") [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/ |
mootools-1.2.2-core-nc.js | 120 forEach: function(fn, bind){ 122 if (this.hasOwnProperty(key)) fn.call(bind, this[key], key, this); 148 forEach: function(fn, bind){ 149 for (var i = 0, l = this.length; i < l; i++) fn.call(bind, this[i], i, this); 185 function $each(iterable, fn, bind){ 187 ((type == 'arguments' || type == 'collection' || type == 'array') ? Array : Hash).each(iterable, fn, bind); 457 every: function(fn, bind){ 459 if (!fn.call(bind, this[i], i, this)) return false; 464 filter: function(fn, bind){ 467 if (fn.call(bind, this[i], i, this)) results.push(this[i]) [all...] |
/bootable/recovery/edify/ |
expr.c | 36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); 49 return expr->fn(expr->name, state, expr->argc, expr->argv); 325 Expr* Build(Function fn, YYLTYPE loc, int count, ...) { 329 e->fn = fn; 351 void RegisterFunction(const char* name, Function fn) { 357 fn_table[fn_entries].fn = fn; 379 return nf->fn;
|
/external/valgrind/main/coregrind/ |
m_tooliface.c | 359 #define DEF0(fn, args...) \ 360 void VG_(fn)(void(*f)(args)) { \ 361 VG_(tdict).fn = f; \ 364 #define DEF1(fn, args...) \ 365 void VG_(fn)(VG_REGPARM(1) void(*f)(args)) { \ 366 VG_(tdict).fn = f; \ 369 #define DEF2(fn, args...) \ 370 void VG_(fn)(VG_REGPARM(2) void(*f)(args)) { \ 371 VG_(tdict).fn = f; \
|
/frameworks/rs/driver/runtime/ |
rs_cl.c | [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_print.cpp | 497 if (op == OP_CALL && asFlow()->target.fn) { 499 asFlow()->target.fn->getName(), 500 asFlow()->target.fn->getLabel()); 579 PrintPass::visit(Function *fn) 581 INFO("\n%s:%i\n", fn->getName(), fn->getLabel());
|