/picolibc-latest/newlib/libc/string/ |
D | strings.tex | 18 @chapter Strings and Memory (@file{string.h}) 20 This chapter describes string-handling functions and functions for 22 @file{string.h}. 28 * Function index:: Search for character in string 39 * Function rindex:: Reverse search for character in string 40 * Function stpcpy:: Copy string returning a pointer to its end 41 * Function stpncpy:: Counted copy string returning a pointer to its end 43 * Function strcasestr:: Find string segment ignoring case 45 * Function strchr:: Search for character in string 46 * Function strchrnul:: Search for character in string [all …]
|
D | wcstrings.tex | 4 This chapter describes wide-character string-handling functions and 16 * Function wcschr:: Search for wide character in string 17 * Function wcscmp:: Wide-character string compare 18 * Function wcscoll:: Locale-specific wide-character string compare 19 * Function wcscpy:: Copy wide-character string 20 * Function wcpcpy:: Copy a wide-character string returning a pointer to its end 21 * Function wcscspn:: Count wide characters not in string 22 * Function wcsftime:: Convert date and time to a formatted wide-character string 24 * Function wcslcpy:: Copy wide-character string to specified length 25 * Function wcslen:: Wide-character string length [all …]
|
D | meson.build | 163 message('libc/string/' + file + ': machine overrides generic') 165 message('libc/string/' + s_file + ': machine overrides generic') 175 message('libc/string/' + file + ': machine overrides generic') 177 message('libc/string/' + s_file + ': machine overrides generic')
|
/picolibc-latest/newlib/libc/posix/ |
D | fnmatch.c | 57 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() argument 63 for (stringstart = string;;) in fnmatch() 66 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch() 68 return (*string == EOS ? 0 : FNM_NOMATCH); in fnmatch() 70 if (*string == EOS) in fnmatch() 72 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch() 74 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch() 75 (string == stringstart || in fnmatch() 76 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch() 78 ++string; in fnmatch() [all …]
|
D | regexec.c | 157 const char *__restrict string, in regexec() argument 177 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec() 179 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
|
/picolibc-latest/test/ |
D | test-strtod.c | 52 char *string; member 145 d = strtod(tests[i].string, &end); in main() 147 printf("strtod(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main() 153 tests[i].string, end, tests[i].end_test); in main() 156 f = strtof(tests[i].string, &end); in main() 158 printf("strtof(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main() 164 tests[i].string, end, tests[i].end_test); in main() 169 printf("strtof(\"%s\") got %a strtod got %a\n", tests[i].string, (double) f, d); in main() 179 ld = strtold(tests[i].string, &end); in main() 181 printf("strtold(\"%s\"): got %.17Le %La want %.17Le %La\n", tests[i].string, in main() [all …]
|
D | regex.c | 45 const char *string; member 52 { .pattern = ".", .string = "xxx", 55 { .pattern = ".*", .string = "xxx", 58 { .pattern = "(.)(.)(.)", .string = "xxx", 66 { .pattern = "x[a-c]*y", .string = "fooxaccabybar", 91 ret = regexec(®ex, tests[t].string, MAX_MATCH, matches, 0); in main() 95 tests[t].pattern, tests[t].string, ret, tests[t].ret); in main()
|
D | long_double_gen.5c | 8 string name; 13 string name; 18 string name; 23 string name; 28 string name; 31 string[] limited_funcs = { 59 is_full_func(string name) 73 string 74 toupper(string s) 76 string o = ""; [all …]
|
D | test-wchar.c | 41 const wchar_t *string = L"Hello\n"; variable 54 fputws(string, file); in main() 60 for (ref = string; *ref != L'\0'; ref++) { in main()
|
D | test-fgets-eof.c | 43 const char *string = "123456789"; variable 55 fputs(string, file); in main() 70 compare_result = strcmp( line, string ); in main()
|
/picolibc-latest/newlib/libc/argz/ |
D | argz_create_sep.c | 15 argz_create_sep (const char *string, in argz_create_sep() argument 31 if (!string || string[0] == '\0') in argz_create_sep() 40 running = strdup(string); in argz_create_sep() 55 running = strdup(string); in argz_create_sep()
|
/picolibc-latest/newlib/libc/stdlib/ |
D | stdlib.tex | 24 * Function ecvtbuf:: Double or float to string of digits 25 * Function ecvt:: Double or float to string of digits (malloc result) 27 * Function gcvt:: Format double or float as string 30 * Function itoa:: Integer to string 38 * Function mbsrtowcs:: Convert a character string to a wide-character string 39 * Function mbstowcs:: Minimal multibyte string to wide string converter 53 * Function wcsrtombs:: Convert a wide-character string to a character string 54 * Function wcstod:: Wide string to double or float 55 * Function wcstol:: Wide string to long 56 * Function wcstoll:: Wide string to long long [all …]
|
/picolibc-latest/newlib/libc/machine/i960/ |
D | strcspn.S | 71 lda (g0),g3 # copy string pointer 75 ldob (g3),g7 # fetch next character of string 78 cmpobe.f 0,g7,Lexit # quit if at end of string 80 cmpo g6,g7 # is charset char same as string char? 87 addo 1,g3,g3 # check next character of string 91 subo g0,g3,g0 # compute string length
|
D | strpbrk.S | 81 ldob (g0),g7 # fetch next character of string 83 cmpobe.f 0,g7,Lexit_char_not_found # quit if at end of string 85 cmpo g6,g7 # is brkset char equal to string char? 92 addo 1,g0,g0 # check next character of string 96 mov 0,g0 # return null if brkset char not found in string
|
D | strncat.S | 100 ld (g5), g7 # fetch word of dest string 107 and g7, g3, g14 # extract byte of last word of dest string 113 ld (g1), g7 # fetch first word of source string 136 bx (g6) # g0 = dest string address; g14 = 0 152 bx (g6) # g0 = dest string address; g14 = 0
|
D | strdup.S | 59 mov g0,r3 # Keep a copy of the original string addr 64 mov r3,g1 # Original string addr is now src for copy
|
/picolibc-latest/newlib/libm/test/ |
D | convert.c | 55 v = strtod(pd->string, &tail); in test_strtod() 56 if (tail - pd->string) { in test_strtod() 60 if (strncasecmp(pd->string, "0x", 2) == 0) in test_strtod() 71 test_iok(tail - pd->string, pd->endscan & ENDSCAN_MASK); in test_strtod() 81 v = strtof(pd->string, &tail); in test_strtof() 82 if (tail - pd->string) { in test_strtof() 92 test_iok(tail - pd->string, pd->endscan & ENDSCAN_MASK); in test_strtof() 113 v = strtold(pd->string, &tail); in test_strtold() 114 if (tail - pd->string) { in test_strtold() 127 test_iok(tail - pd->string, pd->endscan & ENDSCAN_MASK); in test_strtold() [all …]
|
D | test.c | 45 int string= 1; in main() local 61 string= 0; in main() 62 (void) string; in main() 87 if (string) in main() 105 void newfunc (const char *string) in newfunc() argument 107 if (strcmp(iname, string)) in newfunc() 111 if (memcheck && !strcmp(string, memcheck)) in newfunc() 120 printf("testing %s\n", string); in newfunc() 122 iname = string; in newfunc()
|
/picolibc-latest/semihost/ |
D | sys_write0.c | 39 sys_semihost_write0(const char *string) in sys_semihost_write0() argument 41 (void) sys_semihost(SYS_WRITE0, (uintptr_t) string); in sys_semihost_write0()
|
/picolibc-latest/test/libc-testsuite/ |
D | fnmatch.c | 73 const char *string; member 158 r = fnmatch(tests[i].pattern, tests[i].string, tests[i].flags); in test_fnmatch() 163 tests[i].pattern, tests[i].string); in test_fnmatch()
|
/picolibc-latest/newlib/libc/stdio/ |
D | stdio.tex | 22 to generate or scan strings according to specifications from a format string. 54 * Function fgets:: Get character string from a file or stream 56 * Function fgetws:: Get a wide character string from a file or stream 63 * Function fputs:: Write a character string in a file or stream 65 * Function fputws:: Write a wide character string to a file or stream 79 * Function getdelim:: Get character string from a file or stream 80 * Function getline:: Get character string from a file or stream 81 * Function gets:: Get character string from standard input (obsolete) 91 * Function puts:: Write a character string on standard output
|
/picolibc-latest/cmake/ |
D | picolibc.cmake | 109 string(MAKE_C_IDENTIFIER ${flag} flag_under) 141 string(REPLACE "_" "-" flag_dash ${flag}) 142 string(REGEX REPLACE "^-" "" flag_trim ${flag_dash}) 143 string(TOLOWER ${flag_trim} flag_lower)
|
/picolibc-latest/newlib/libc/include/ |
D | argz.h | 23 error_t argz_create_sep (const char *string, int sep, char **argz, size_t *argz_len);
|
/picolibc-latest/newlib/libc/time/ |
D | time.tex | 68 * Function asctime:: Format time as string 70 * Function ctime:: Convert time to local and format as string 75 * Function strftime:: Convert date and time to a user-formatted string
|
/picolibc-latest/newlib/libc/machine/rx/ |
D | strncat.S | 42 suntil.b ; Find the end of the destination string. 51 …beq 1f ; If we copied 0 bytes then we already know that the dest string is NUL terminated, so w…
|