Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 69) sorted by relevance

123

/picolibc-latest/newlib/libc/stdio/
Dmktemp.c56 char *mktemp(char *<[path]>);
57 char *mkdtemp(char *<[path]>);
58 int mkstemp(char *<[path]>);
59 int mkstemps(char *<[path]>, int <[suffixlen]>);
60 int mkostemp(char *<[path]>, int <[flags]>);
61 int mkostemps(char *<[path]>, int <[suffixlen]>, int <[flags]>);
63 char *mktemp( char *<[path]>);
64 char *mkdtemp( char *<[path]>);
65 int *mkstemp( char *<[path]>);
66 int *mkstemps( char *<[path]>, int <[len]>);
[all …]
/picolibc-latest/newlib/libc/posix/
Ddirname.c20 dirname (char *path) in dirname() argument
23 if( path == NULL || *path == '\0' ) in dirname()
25 p = path + strlen(path) - 1; in dirname()
27 if( p == path ) in dirname()
28 return path; in dirname()
31 while( p >= path && *p != '/' ) in dirname()
33 while( p > path && p[-1] == '/' ) in dirname()
36 p < path ? "." : in dirname()
37 p == path ? "/" : in dirname()
38 (*p = '\0', path); in dirname()
Dnftw.c49 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int… in do_nftw() argument
51 size_t l = strlen(path), j = l && path[l-1]=='/' ? l-1 : l; in do_nftw()
58 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw()
59 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw()
64 if (access(path, R_OK) < 0) type = FTW_DNR; in do_nftw()
88 for (k=j; k && path[k]=='/'; k--); in do_nftw()
89 for (; k && path[k-1]!='/'; k--); in do_nftw()
93 if (!(flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev))) in do_nftw()
101 DIR *d = opendir(path); in do_nftw()
114 path[j]='/'; in do_nftw()
[all …]
Dbasename.c11 basename (char *path) in basename() argument
14 if( path == NULL || *path == '\0' ) in basename()
16 p = path + strlen(path) - 1; in basename()
18 if( p == path ) in basename()
19 return path; in basename()
22 while( p >= path && *p != '/' ) in basename()
Dftw.c28 int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit) in ftw() argument
33 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS); in ftw()
/picolibc-latest/newlib/libc/tinystdio/
Dmktemp.c39 char *mktemp(char *<[path]>);
40 int mkstemp(char *<[path]>);
41 int mkstemps(char *<[path]>, int suffixlen);
42 int mkostemps(char *<[path]>, int suffixlen, int flags);
56 at <[path]>. The pattern should be a valid filename (including path
65 <<mktemp>> returns the pointer <[path]> to the modified string
102 _gettemp (char *path, in _gettemp() argument
111 end = path + strlen(path) - suffixlen; in _gettemp()
115 while (path < trv && *--trv == 'X') in _gettemp()
152 int fd = open(path, O_RDONLY); in _gettemp()
[all …]
/picolibc-latest/newlib/libc/string/
Dgnu_basename.c10 * - the empty string is returned if path is an empty string, "/", or ends
20 __gnu_basename (const char *path) in __gnu_basename() argument
23 if ((p = strrchr (path, '/'))) in __gnu_basename()
25 return (char *) path; in __gnu_basename()
DmkwidthA20 PATH="$PATH:." uniset +width-a-new compact >> WIDTH-A
Dmkwide21 PATH="$PATH:." # for uniset
Dmkunidata7 PATH="$PATH":. # ensure access to uniset tool
/picolibc-latest/.github/workflows/
Dlinux.yml34 path: picolibc
40 path: ${{ env.IMAGE_FILE }}
75 path: picolibc
80 path: ${{ env.IMAGE_FILE }}
135 path: picolibc
140 path: ${{ env.IMAGE_FILE }}
195 path: picolibc
200 path: ${{ env.IMAGE_FILE }}
Dzephyr.yml35 path: picolibc
41 path: ${{ env.IMAGE_FILE }}
81 path: picolibc
86 path: ${{ env.IMAGE_FILE }}
141 path: picolibc
146 path: ${{ env.IMAGE_FILE }}
Dhead34 path: picolibc
40 path: ${{ env.IMAGE_FILE }}
Dsteps-head5 path: picolibc
10 path: ${{ env.IMAGE_FILE }}
Dhead-zephyr35 path: picolibc
41 path: ${{ env.IMAGE_FILE }}
/picolibc-latest/newlib/libc/search/
Dndbm.c65 char path[MAXPATHLEN]; in dbm_open() local
74 if( strlen(file) >= sizeof(path) - strlen(DBM_SUFFIX)) { in dbm_open()
78 (void)strcpy(path, file); in dbm_open()
79 (void)strcat(path, DBM_SUFFIX); in dbm_open()
80 return ((DBM *)__hash_open(path, flags, mode, 0, &info)); in dbm_open()
/picolibc-latest/.github/
Ddo-avr3 PATH=$AVR_SDK_INSTALL_DIR/bin:$PATH
Dzephyr11 PATH="$dir"/bin:$PATH
Ddo-test8 PATH="$p":$PATH
Ddo-build8 PATH="$p":$PATH
/picolibc-latest/newlib/libc/sys/xtensa/
Dcreat.c6 creat (const char *path, mode_t mode) in creat() argument
8 return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode); in creat()
/picolibc-latest/newlib/libc/machine/spu/
Dcreat.c13 creat (const char *path, in creat() argument
16 return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode); in creat()
/picolibc-latest/newlib/libc/iconv/lib/
Diconvnls.c64 char *path; in _iconv_nls_construct_filename() local
68 if ((path = getenv (NLS_ENVVAR_NAME)) == NULL || *path == '\0') in _iconv_nls_construct_filename()
69 path = ICONV_DEFAULT_NLSPATH; in _iconv_nls_construct_filename()
71 len1 = strlen (path); in _iconv_nls_construct_filename()
78 memcpy (p, path, len1); in _iconv_nls_construct_filename()
/picolibc-latest/scripts/
Ddo-arm-tk30 export PATH=$ARM_TK/bin:$PATH
/picolibc-latest/newlib/
DREADME92 to specify a path to find `configure' itself from your working
93 directory. If the path to `configure' would be the same as the
120 `--srcdir=PATH/newlib-4.2.0'), you will build all the required libraries.
196 [--srcdir=PATH]
213 `--srcdir=PATH'
221 use the source in the directory PATH. `configure' will create
223 directories below PATH.

123