/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/ |
D | __scan_keyword.pass.cpp | 47 const char input[] = "a"; in main() local 48 const char* in = input; in main() 51 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main() 55 assert(in == input+1); in main() 59 const char input[] = "abc"; in main() local 60 const char* in = input; in main() 63 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, in main() 67 assert(in == input+2); in main() 71 const char input[] = "abb"; in main() local 72 const char* in = input; in main() [all …]
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | execute.c | 115 struct input { struct 135 bool (*read_fn) P_((struct input *)); /* read one line */ argument 512 static bool read_always_fail P_((struct input *)); 514 read_always_fail(input) in read_always_fail() argument 515 struct input *input UNUSED; in read_always_fail() 520 static bool read_file_line P_((struct input *)); 522 read_file_line(input) in read_file_line() argument 523 struct input *input; in read_file_line() 528 long result = ck_getline (&b, &blen, input->fp); 693 static void open_next_file P_((const char *name, struct input *)); [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.get/ |
D | xsgetn.pass.cpp | 36 char input[7] = "123456"; in main() local 37 t.setg(input, input, input+7); in main() 38 char output[sizeof(input)] = {0}; in main() 40 assert(strcmp(input, output) == 0); in main()
|
/ndk/sources/host-tools/nawk-20071023/ |
D | lex.c | 96 int c = input(); in peek() 108 c = input(); in gettok() 118 for ( ; (c = input()) != 0; ) { in gettok() 135 for ( ; (c = input()) != 0; ) { in gettok() 207 while ((c = input()) != '\n' && c != 0) in yylex() 215 input(); in yylex() 217 input(); input(); /* \n */ in yylex() 225 input(); RET(AND); in yylex() 230 input(); RET(BOR); in yylex() 235 input(); yylval.i = NE; RET(NE); in yylex() [all …]
|
D | maketab.c | 119 const char* input; in main() local 128 input = "ytab.h"; in main() 130 input = argv[1]; in main() 131 if (!strcmp(input,"-")) in main() 132 input = NULL; in main() 134 if (input == NULL) { in main() 137 if ((fp = fopen(input, "rt")) == NULL) { in main() 138 fprintf(stderr, "maketab can't open %s!\n", input); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.sort/partial.sort.copy/ |
D | partial_sort_copy.pass.cpp | 29 int* input = new int[N]; in test_larger_sorts() local 32 input[i] = i; in test_larger_sorts() 33 std::random_shuffle(input, input+N); in test_larger_sorts() 34 int* r = std::partial_sort_copy(Iter(input), Iter(input+N), output, output+M); in test_larger_sorts() 41 delete [] input; in test_larger_sorts()
|
D | partial_sort_copy_comp.pass.cpp | 32 int* input = new int[N]; in test_larger_sorts() local 35 input[i] = i; in test_larger_sorts() 36 std::random_shuffle(input, input+N); in test_larger_sorts() 37 int* r = std::partial_sort_copy(Iter(input), Iter(input+N), output, output+M, in test_larger_sorts() 45 delete [] input; in test_larger_sorts()
|
/ndk/tests/device/test-stlport/unit/ |
D | unary_test.cpp | 76 int input [3] = { -1, -4, -16 }; in ucompos1() local 79 …transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1() 89 int input [3] = { -1, -4, -16 }; in ucompos2() local 92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
|
D | times_test.cpp | 31 int input [4] = { 1, 5, 7, 2 }; in times() local 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); in times()
|
D | divides_test.cpp | 30 int input [3] = { 2, 3, 4 }; in div() local 31 int result = accumulate(input, input + 3, 48, divides<int>()); in div()
|
D | strstream_test.cpp | 19 CPPUNIT_TEST(input); 23 void input(); 31 void StrstreamTest::input() in input() function in StrstreamTest
|
D | neq_test.cpp | 33 int input [3] = { 1, 2, 3 }; in negate0() local 36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
|
D | logic_test.cpp | 48 bool input [7] = { 1, 0, 0, 1, 1, 1, 1 }; in logicnot() local 50 int n = count_if(input, input + 7, logical_not<bool>()); in logicnot()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | unary_test.cpp | 76 int input [3] = { -1, -4, -16 }; in ucompos1() local 79 …transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1() 89 int input [3] = { -1, -4, -16 }; in ucompos2() local 92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
|
D | times_test.cpp | 31 int input [4] = { 1, 5, 7, 2 }; in times() local 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); in times()
|
D | divides_test.cpp | 30 int input [3] = { 2, 3, 4 }; in div() local 31 int result = accumulate(input, input + 3, 48, divides<int>()); in div()
|
D | strstream_test.cpp | 19 CPPUNIT_TEST(input); 23 void input(); 31 void StrstreamTest::input() in input() function in StrstreamTest
|
D | neq_test.cpp | 33 int input [3] = { 1, 2, 3 }; in negate0() local 36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
|
D | logic_test.cpp | 48 bool input [7] = { 1, 0, 0, 1, 1, 1, 1 }; in logicnot() local 50 int n = count_if(input, input + 7, logical_not<bool>()); in logicnot()
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
D | mbrlen.m4 | 63 const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ 67 if (mbrlen (input + 1, 1, &state) == (size_t)(-2)) 114 char input[] = "B\303\274\303\237er"; /* "Büßer" */ 118 if (mbrlen (input + 1, 1, &state) == (size_t)(-2)) 120 input[1] = '\0'; 121 if (mbrlen (input + 2, 5, &state) != 1) 128 char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ 132 if (mbrlen (input + 1, 1, &state) == (size_t)(-2)) 134 input[1] = '\0'; 135 if (mbrlen (input + 2, 5, &state) != 2)
|
D | mbrtowc.m4 | 117 const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ 122 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) 169 char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ 174 if (mbrtowc (&wc, input + 3, 6, &state) != 4 175 && mbtowc (&wc, input + 3, 6) == 4) 268 char input[] = "B\303\274\303\237er"; /* "Büßer" */ 273 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) 275 input[1] = '\0'; 276 if (mbrtowc (&wc, input + 2, 5, &state) != 1) 283 char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ [all …]
|
D | iconv.m4 | 77 static const char input[] = "\342\202\254"; /* EURO SIGN */ 79 const char *inptr = input; 80 size_t inbytesleft = strlen (input); 96 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 98 const char *inptr = input; 99 size_t inbytesleft = strlen (input);
|
/ndk/sources/host-tools/sed-4.2.1/doc/ |
D | sed.x | 18 transformations on an input stream 19 (a file or input from a pipeline). 23 input(s), and is consequently more efficient. 243 the input stream, and the address 2~5 will match every fifth line, 274 matches the very first line of input the 296 until the next line whose input line number is a multiple of
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
D | manis.sed | 2 # The input should look just like the input after this is run.
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regexec.c | 191 const re_string_t *input, Idx idx) 705 err = re_string_allocate (&mctx.input, string, length, dfa->nodes_len + 1, in re_search_internal() 710 mctx.input.stop = stop; in re_search_internal() 711 mctx.input.raw_stop = stop; in re_search_internal() 712 mctx.input.newline_anchor = preg->newline_anchor; in re_search_internal() 725 if (BE (SIZE_MAX / sizeof (re_dfastate_t *) <= mctx.input.bufs_len, 0)) in re_search_internal() 731 mctx.state_log = re_malloc (re_dfastate_t *, mctx.input.bufs_len + 1); in re_search_internal() 742 mctx.input.tip_context = (eflags & REG_NOTBOL) ? CONTEXT_BEGBUF in re_search_internal() 820 __re_size_t offset = match_first - mctx.input.raw_mbs_idx; in re_search_internal() 821 if (BE (offset >= (__re_size_t) mctx.input.valid_raw_len, 0)) in re_search_internal() [all …]
|