Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 91) sorted by relevance

1234

/ndk/tests/device/test-stlport/unit/
Dqueue_test.cpp35 priority_queue<int, deque<int>, less<int> > q; in pqueue1() local
36 q.push(42); in pqueue1()
37 q.push(101); in pqueue1()
38 q.push(69); in pqueue1()
40 CPPUNIT_ASSERT( q.top()==101 ); in pqueue1()
41 q.pop(); in pqueue1()
42 CPPUNIT_ASSERT( q.top()==69 ); in pqueue1()
43 q.pop(); in pqueue1()
44 CPPUNIT_ASSERT( q.top()==42 ); in pqueue1()
45 q.pop(); in pqueue1()
[all …]
Dshared_ptr_test.cpp35 std::tr1::shared_ptr<X> q = p->shared_from_this(); in shared_from_this() local
37 CPPUNIT_CHECK( p == q ); in shared_from_this()
38 CPPUNIT_CHECK( !(p < q) && !(q < p) ); // p and q share ownership in shared_from_this()
/ndk/tests/device/test-gnustl-full/unit/
Dqueue_test.cpp35 priority_queue<int, deque<int>, less<int> > q; in pqueue1() local
36 q.push(42); in pqueue1()
37 q.push(101); in pqueue1()
38 q.push(69); in pqueue1()
40 CPPUNIT_ASSERT( q.top()==101 ); in pqueue1()
41 q.pop(); in pqueue1()
42 CPPUNIT_ASSERT( q.top()==69 ); in pqueue1()
43 q.pop(); in pqueue1()
44 CPPUNIT_ASSERT( q.top()==42 ); in pqueue1()
45 q.pop(); in pqueue1()
[all …]
Dshared_ptr_test.cpp35 std::tr1::shared_ptr<X> q = p->shared_from_this(); in shared_from_this() local
37 CPPUNIT_CHECK( p == q ); in shared_from_this()
38 CPPUNIT_CHECK( !(p < q) && !(q < p) ); // p and q share ownership in shared_from_this()
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-q2 $description = "Test the -q option.\n";
4 $details = "Try various uses of -q and ensure they all give the correct results.\n";
23 '-q one', '');
27 run_make_test(undef, '-q two', '');
31 run_make_test(undef, '-q three', '', 256);
35 run_make_test(undef, '-q four', '');
39 run_make_test(undef, '-q five', '');
43 run_make_test(undef, '-q six', '');
47 run_make_test(undef, '-q seven', '', 256);
55 '-q', '', 256);
/ndk/sources/android/cpufeatures/
Dcpu-features.c138 const char *p, *q; in extract_cpuinfo_field() local
163 q = memchr(p, '\n', bufend-p); in extract_cpuinfo_field()
164 if (q == NULL) in extract_cpuinfo_field()
165 q = bufend; in extract_cpuinfo_field()
168 len = q-p; in extract_cpuinfo_field()
197 const char* q; in has_list_item() local
204 q = p; in has_list_item()
205 while (*q && *q != ' ' && *q != '\t') in has_list_item()
206 q++; in has_list_item()
208 if (itemlen == q-p && !memcmp(p, item, itemlen)) in has_list_item()
[all …]
/ndk/sources/host-tools/make-3.81/
Dvmsjobs.c306 char *cmd = alloca (strlen (argv) + 512), *p, *q; in child_execute_job() local
334 for (p = argv, q = cmd; *p; p++, q++) in child_execute_job()
340 *q = *p; in child_execute_job()
347 *q-- = 0; in child_execute_job()
358 *q = *p; in child_execute_job()
362 *q = ' '; in child_execute_job()
369 q--; in child_execute_job()
388 *q = ' '; in child_execute_job()
393 *q = *p; in child_execute_job()
397 *q = *p; in child_execute_job()
[all …]
Dread.c1104 register char *q = &p[-1]; in eval() local
1106 while (*q-- == '\\') in eval()
2259 char *q; in parse_file_seq() local
2278 q = p; in parse_file_seq()
2279 p = find_char_unquote (q, stopchar, VMS_COMMA, 1, 0); in parse_file_seq()
2304 p = q + strlen (q); in parse_file_seq()
2309 while (p - q > 2 && q[0] == '[' && q[1] == ']') in parse_file_seq()
2312 while (p - q > 2 && q[0] == '.' && q[1] == '/') in parse_file_seq()
2315 q += 2; /* Skip "./". */ in parse_file_seq()
2316 while (q < p && *q == '/') in parse_file_seq()
[all …]
DNMakefile64 if exist WinDebug\nul rmdir /s /q WinDebug
65 if exist WinRel\nul rmdir /s /q WinRel
66 if exist w32\subproc\WinDebug\nul rmdir /s /q w32\subproc\WinDebug
67 if exist w32\subproc\WinRel\nul rmdir /s /q w32\subproc\WinRel
Djob.c2826 char *q = new_line; in construct_command_argv_internal() local
2829 while (*q != '\0') in construct_command_argv_internal()
2831 if (q[0] == '\\' && q[1] == '\n') in construct_command_argv_internal()
2833 q += 2; /* remove '\\' and '\n' */ in construct_command_argv_internal()
2834 if (q[0] == '\t') in construct_command_argv_internal()
2835 q++; /* remove 1st tab in the next line */ in construct_command_argv_internal()
2838 *p++ = *q++; in construct_command_argv_internal()
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Deval.sed5 e../sed/sed 1q eval.in2
13 s,.* *cpu *,../sed/sed 1q eval.in2; echo "&",e
22 s,.* *cpu.*,../sed/sed 1q eval.in2,ep
34 s,.*,../sed/sed 1q eval.in2,ep
36 s,.*,../sed/sed 1q eval.in2,pe
38 s,.*,../sed/sed 1q eval.in2,
Dtst-boost.c110 char *p, *q; in main() local
212 rm_so = strtol (p, &q, 10); in main()
213 if (p == q) in main()
215 p = q; in main()
217 rm_eo = strtol (p, &q, 10); in main()
218 if (p == q) in main()
220 p = q; in main()
Deval.good34 ../sed/sed 1q eval.in2
38 ../sed/sed 1q eval.in2
40 ../sed/sed 1q eval.in2
Ddc.sed49 /|?;/ s/|?;\([^{}]\)/|?~[s}s{L{s}q]S}[S}l\1L}1-d0>}s\1L\1l{xS\1]dS{xL}/
50 /|?:/ s/|?:\([^{}]\)/|?~[s}L{s}L{s}L}s\1q]S}S}S{[L}1-d0>}S}l\1s\1L\1l{xS\1]dS{x/
61 /|?q/b quit
81 !=cSbLdlbtZ[[[-]P0lb-sb]sclb0>c1+]sclb0!<c[0P1+dld>c]scdld>cscSdLbP]q]Sb\
82 [t[1P1-d0<c]scd0<c]ScO_1>bO1!<cO[16]<bOX0<b[[q]sc[dSbdA>c[A]sbdA=c[B]sbd\
128 s/|?[^~]*~[^~]*~/|?q/
132 q
306 s,|?.,&SadSbdXSaZla-SbKLaLadSb[0Lb-d1lb-*d+K+0kkSb[1Lb/]q]Sa0>a[dk]sadK<a[Lb],
Dreadin.sed2 /too\.$/q
Dappquit.sed4 q
/ndk/sources/host-tools/sed-4.2.1/sed/
Dcompile.c1419 char *q = buf; local
1444 memmove (q, p, mbclen);
1445 q += mbclen;
1454 case 'a': *q++ = '\a'; p++; continue;
1456 case 'a': *q++ = '\007'; p++; continue;
1459 case 'f': *q++ = '\f'; p++; continue;
1461 case 'n': *q++ = '\n'; p++; continue;
1462 case 'r': *q++ = '\r'; p++; continue;
1463 case 't': *q++ = '\t'; p++; continue;
1464 case 'v': *q++ = '\v'; p++; continue;
[all …]
/ndk/sources/host-tools/nawk-20071023/
Dlib.c239 Cell *q; in setclvar() local
245 q = setsymtab(s, p, 0.0, STR, symtab); in setclvar()
246 setsval(q, p); in setclvar()
247 if (is_number(q->sval)) { in setclvar()
248 q->fval = atof(q->sval); in setclvar()
249 q->tval |= NUM; in setclvar()
604 char *p, *q; in eprint() local
619 for (q=ep-1; q>=p && *q!=' ' && *q!='\t' && *q!='\n'; q--) in eprint()
621 for ( ; p < q; p++) in eprint()
Db.c492 uschar *q; in pmatch() local
504 q = p; in pmatch()
507 patlen = q-p; in pmatch()
509 if ((ns = f->gototab[s][*q]) != 0) in pmatch()
512 s = cgoto(f, s, *q); in pmatch()
521 } while (*q++ != 0); in pmatch()
523 patlen = q-p-1; /* don't count $ */ in pmatch()
551 uschar *q; in nematch() local
562 q = p; in nematch()
565 patlen = q-p; in nematch()
[all …]
Drun.c782 char *s1, *s2, *p1, *p2, *q; in sindex() local
792 for (q=p1, p2=s2; *p2 != '\0' && *q == *p2; q++, p2++) in sindex()
1144 Cell *cat(Node **a, int q) /* a[0] cat a[1] */ in cat() argument
1747 char *sptr, *pb, *q; in sub() local
1780 for (q = patbeg; q < patbeg+patlen; ) in sub()
1781 *pb++ = *q++; in sub()
1808 char *rptr, *sptr, *t, *pb, *q; in gsub() local
1845 for (q = patbeg; q < patbeg+patlen; ) in gsub()
1846 *pb++ = *q++; in gsub()
1873 for (q = patbeg; q < patbeg+patlen; ) in gsub()
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dorder_only19 run_make_test(q!
40 run_make_test(q!
65 run_make_test(q!
87 run_make_test(q!
Dtargetvars51 %.q : ; @echo $(QVAR) $(RVAR)
52 foo.q : RVAR += rvar
105 &run_make_with_options($makefile, "foo.q bar.q", &get_logfile);
/ndk/sources/host-tools/sed-4.2.1/m4/
Dstdbool.m4100 _Bool q = true;
101 _Bool *pq = &q;
104 *pq |= q;
105 *pq |= ! q;
108 + !m + !n + !o + !p + !q + !pq);
/ndk/sources/host-tools/make-3.81/tests/scripts/misc/
Dgeneral447 run_make_test(q!
60 run_make_test(q!
71 run_make_test(q!
/ndk/sources/host-tools/make-3.81/w32/
Dpathstuff.c109 char *q = w32ify(buf, 0); in getcwd_fs() local
110 strncpy(buf, q, len); in getcwd_fs()

1234