Searched defs:sub (Results 1 - 25 of 95) sorted by relevance

1234

/external/v8/test/mjsunit/regress/
H A Dregress-1278.js37 function sub(x, y) { function
55 assertEquals(0, sub(0, 0));
56 assertEquals(0, sub(0, -0));
57 assertEquals(-0, sub(-0, 0));
58 assertEquals(0, sub(-0, -0));
/external/bluetooth/glib/gio/fen/
H A Dfen-sub.c26 #include "fen-sub.h"
31 fen_sub *sub; local
32 sub = g_new (fen_sub, 1);
33 sub->user_data = udata;
34 sub->is_mondir = is_mondir;
35 return sub;
39 fen_sub_delete (fen_sub *sub) argument
41 g_free (sub);
H A Dgfendirectorymonitor.c44 fen_sub* sub; member in struct:_GFenDirectoryMonitor
61 if (self->sub) {
62 fen_remove (G_LOCAL_DIRECTORY_MONITOR (self)->dirname, self->sub, TRUE);
63 fen_sub_delete (self->sub);
64 self->sub = NULL;
100 self->sub = fen_sub_new (self, TRUE);
101 g_assert (self->sub);
103 fen_add (dirname, self->sub, TRUE);
139 if (self->sub) {
140 fen_remove (G_LOCAL_DIRECTORY_MONITOR (self)->dirname, self->sub, TRU
[all...]
H A Dgfenfilemonitor.c43 fen_sub* sub; member in struct:_GFenFileMonitor
60 if (self->sub) {
61 fen_remove (G_LOCAL_FILE_MONITOR (self)->filename, self->sub, FALSE);
62 fen_sub_delete (self->sub);
63 self->sub = NULL;
100 self->sub = fen_sub_new (self, FALSE);
101 g_assert (self->sub);
103 fen_add (filename, self->sub, FALSE);
138 if (self->sub) {
139 fen_remove (G_LOCAL_FILE_MONITOR (self)->filename, self->sub, FALS
[all...]
H A Dfen-helper.c49 static void default_emit_once_event_cb (fdata *f, int events, gpointer sub);
53 scan_children_init (node_t *f, gpointer sub) argument
93 /* Emit created to the new sub */
95 /* fdata_emit_events_once (data, FN_EVENT_CREATED, sub); */
98 gam_subscription_is_dir (sub), GAMIN_EVENT_EXISTS, sub, 1); local
116 fen_add (const gchar *filename, gpointer sub, gboolean is_mondir) argument
123 g_assert (sub);
127 FH_W ("[ %s ] f[0x%p] sub[0x%p] %s\n", __func__, f, sub, filenam
154 gam_subscription_is_dir (sub), GAMIN_EVENT_EXISTS, sub, 1); local
159 gam_subscription_is_dir (sub), GAMIN_EVENT_ENDEXISTS, sub, 1); local
164 gam_subscription_is_dir (sub), GAMIN_EVENT_DELETED, sub, 1); local
167 gam_subscription_is_dir (sub), GAMIN_EVENT_ENDEXISTS, sub, 1); local
174 fen_remove(const gchar *filename, gpointer sub, gboolean is_mondir) argument
235 default_emit_once_event_cb(fdata *f, int events, gpointer sub) argument
260 fen_sub* sub = (fen_sub*)i->data; local
271 fen_sub* sub = (fen_sub*)i->data; local
[all...]
/external/bluetooth/glib/gio/inotify/
H A Dinotify-sub.c3 /* inotify-sub.c - GMonitor based on inotify.
30 #include "inotify-sub.h"
52 inotify_sub *sub = NULL; local
54 sub = g_new0 (inotify_sub, 1);
55 sub->dirname = dup_dirname (dirname);
56 sub->filename = g_strdup (filename);
57 sub->user_data = user_data;
59 IS_W ("new subscription for %s being setup\n", sub->dirname);
61 return sub;
65 _ih_sub_free (inotify_sub *sub) argument
[all...]
H A Dinotify-helper.c47 static void ih_event_callback (ik_event_t *event, inotify_sub *sub);
48 static void ih_not_missing_callback (inotify_sub *sub);
109 _ih_sub_add (inotify_sub *sub) argument
113 if (!_ip_start_watching (sub))
114 _im_add (sub);
124 _ih_sub_cancel (inotify_sub *sub) argument
128 if (!sub->cancelled)
130 IH_W ("cancelling %s\n", sub->dirname);
131 sub->cancelled = TRUE;
132 _im_rm (sub);
143 ih_event_callback(ik_event_t *event, inotify_sub *sub) argument
169 ih_not_missing_callback(inotify_sub *sub) argument
[all...]
H A Dginotifydirectorymonitor.c39 inotify_sub *sub; member in struct:_GInotifyDirectoryMonitor
55 inotify_sub *sub = inotify_monitor->sub; local
57 if (sub)
59 _ih_sub_cancel (sub);
60 _ih_sub_free (sub);
61 inotify_monitor->sub = NULL;
78 inotify_sub *sub = NULL; local
95 sub = _ih_sub_new (dirname, NULL, inotify_monitor);
98 g_assert (sub !
136 inotify_sub *sub = inotify_monitor->sub; local
[all...]
H A Dginotifyfilemonitor.c41 inotify_sub *sub; member in struct:_GInotifyFileMonitor
57 inotify_sub *sub = inotify_monitor->sub; local
59 if (sub)
61 _ih_sub_cancel (sub);
62 _ih_sub_free (sub);
63 inotify_monitor->sub = NULL;
92 inotify_sub *sub = NULL; local
113 sub = _ih_sub_new (inotify_monitor->dirname, inotify_monitor->filename, inotify_monitor);
117 g_assert (sub !
154 inotify_sub *sub = inotify_monitor->sub; local
[all...]
H A Dinotify-missing.c40 static void (*missing_cb)(inotify_sub *sub) = NULL;
46 _im_startup (void (*callback)(inotify_sub *sub)) argument
59 _im_add (inotify_sub *sub) argument
61 if (g_list_find (missing_sub_list, sub))
63 IM_W ("asked to add %s to missing list but it's already on the list!\n", sub->dirname);
67 IM_W ("adding %s to missing list\n", sub->dirname);
68 missing_sub_list = g_list_prepend (missing_sub_list, sub);
80 _im_rm (inotify_sub *sub) argument
84 link = g_list_find (missing_sub_list, sub);
88 IM_W ("asked to remove %s from missing list but it isn't on the list!\n", sub
112 inotify_sub *sub = l->data; local
163 inotify_sub *sub = l->data; local
[all...]
/external/javassist/src/main/javassist/bytecode/analysis/
H A DSubroutineScanner.java62 private void scan(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { argument
75 next = scanOp(pos, iter, sub) && iter.hasNext();
81 private boolean scanOp(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { argument
82 subroutines[pos] = sub;
87 scanTableSwitch(pos, iter, sub);
93 scanLookupSwitch(pos, iter, sub);
114 scan(target, iter, sub);
125 private void scanLookupSwitch(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { argument
128 scan(pos + iter.s32bitAt(index), iter, sub);
135 scan(target, iter, sub);
139 scanTableSwitch(int pos, CodeIterator iter, Subroutine sub) argument
[all...]
/external/llvm/test/MC/ARM/
H A Darm-arithmetic-aliases.s6 sub r2, r2, #6 label
7 sub r2, #6 label
8 sub r2, r2, r3 label
9 sub r2, r3 label
11 @ CHECK: sub r2, r2, #6 @ encoding: [0x06,0x20,0x42,0xe2]
12 @ CHECK: sub r2, r2, #6 @ encoding: [0x06,0x20,0x42,0xe2]
13 @ CHECK: sub r2, r2, r3 @ encoding: [0x03,0x20,0x42,0xe0]
14 @ CHECK: sub r2, r2, r3 @ encoding: [0x03,0x20,0x42,0xe0]
/external/v8/test/mjsunit/
H A Dhtml-string-funcs.js36 strike: 'strike', sub: 'sub', sup: 'sup' };
/external/blktrace/btreplay/
H A Dbtrecord.h78 static inline __u64 mk_btversion(int mjr, int mnr, int sub) argument
80 return ((mjr & 0xff) << 16) | ((mnr & 0xff) << 8) | (sub & 0xff);
83 static inline void get_btversion(__u64 version, int *mjr, int *mnr, int *sub) argument
87 *sub = (int)((version >> 0) & 0xff);
/external/bluetooth/glib/gio/fam/
H A Dgfamdirectorymonitor.c36 fam_sub *sub; member in struct:_GFamDirectoryMonitor
47 fam_sub *sub = fam_monitor->sub; local
49 if (sub) {
50 if (!_fam_sub_cancel (sub))
53 fam_monitor->sub = NULL;
70 fam_sub *sub = NULL; local
83 sub = _fam_sub_add (dirname, TRUE, fam_monitor);
86 g_assert (sub != NULL);
88 fam_monitor->sub
129 fam_sub *sub = fam_monitor->sub; local
[all...]
H A Dgfamfilemonitor.c36 fam_sub *sub; member in struct:_GFamFileMonitor
47 fam_sub *sub = fam_monitor->sub; local
49 if (sub) {
50 if (!_fam_sub_cancel (sub))
52 fam_monitor->sub = NULL;
69 fam_sub *sub = NULL; local
83 sub = _fam_sub_add (filename, FALSE, fam_monitor);
86 g_assert (sub != NULL);
88 fam_monitor->sub
128 fam_sub *sub = fam_monitor->sub; local
[all...]
H A Dfam-helper.c76 fam_sub* sub = NULL; local
89 sub = (fam_sub*)ev.userdata;
90 cancelled = sub->cancelled;
93 _fam_sub_free (sub);
100 if (sub->directory)
102 GFileMonitor* monitor = G_FILE_MONITOR (sub->user_data);
114 path = g_strdup_printf ("%s/%s", sub->pathname, ev.filename);
126 GFileMonitor* monitor = G_FILE_MONITOR (sub->user_data);
213 fam_sub *sub; local
229 sub
245 _fam_sub_cancel(fam_sub* sub) argument
271 _fam_sub_free(fam_sub* sub) argument
[all...]
/external/clang/test/SemaCXX/
H A Dqual-id-test.cpp23 struct sub : B::base struct in namespace:A
39 A::sub a;
43 a.sub::x();
48 a.A::sub::x();
51 a.bad::x(); // expected-error{{'bad::x' is not a member of class 'A::sub'}}
60 A::sub *a;
64 a->sub::x();
69 a->A::sub::x();
72 a->bad::x(); // expected-error{{'bad::x' is not a member of class 'A::sub'}}
86 A::sub *
[all...]
/external/dbus/dbus/
H A Ddbus-marshal-byteswap.c118 DBusTypeReader sub; local
123 _dbus_type_reader_recurse (reader, &sub);
127 byteswap_body_helper (&sub,
162 DBusTypeReader sub; local
176 _dbus_type_reader_init_types_only (&sub, &sig, 0);
178 byteswap_body_helper (&sub, FALSE, old_byte_order, new_byte_order, p, &p);
185 DBusTypeReader sub; local
189 _dbus_type_reader_recurse (reader, &sub);
191 byteswap_body_helper (&sub, TRUE, old_byte_order, new_byte_order, p, &p);
/external/llvm/lib/Support/
H A DRegex.cpp94 std::string Regex::sub(StringRef Repl, StringRef String, function in class:Regex
/external/opencv/cv/src/
H A Dcvcalcimagehomography.cpp67 CvMat sub = cvMat( 3, 3, CV_32F, _sub ); local
105 cvSetIdentity( &sub );
106 cvSub( &sub, &r_trans, &sub );
107 cvMatMul( &sub, &center, &t_trans );
109 cvMatMul( &t_trans, &rz, &sub );
110 cvScaleAdd( &sub, cvRealScalar(1./plane_dist), &r_trans, &sub ); /* ? */
112 cvMatMul( &intrinsic, &sub, &r_trans );
113 cvInvert( &intrinsic, &sub, CV_SV
[all...]
/external/clang/utils/
H A DFindSpecRefs722 def sub(a,b): function in function:SpecIndex.__sub__
726 return map(sub,self.indices,indices)
/external/llvm/lib/CodeGen/
H A DCalcSpillWeights.cpp62 unsigned sub, hreg, hsub; local
64 sub = mi->getOperand(0).getSubReg();
68 sub = mi->getOperand(1).getSubReg();
77 return sub == hsub ? hreg : 0;
82 if (sub == 0)
85 // reg:sub should match the physreg hreg.
86 return tri.getMatchingSuperReg(hreg, sub, rc);
/external/mesa3d/src/glsl/
H A Dloop_controls.cpp93 ir_expression *const sub = local
97 new(mem_ctx) ir_expression(ir_binop_div, sub->type, sub, increment);
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A D3d-raytrace.js71 function sub(v1, v2) { function
126 var edge1 = sub(p3, p1);
127 var edge2 = sub(p2, p1);
227 var toLight = sub(light, hit);

Completed in 390 milliseconds

1234