Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/ndk/sources/android/support/src/stdio/
Dstdio_impl.c9 void fake_file_init_file(FakeFILE* file, FILE* f) { in fake_file_init_file() argument
10 memset(file, 0, sizeof(*file)); in fake_file_init_file()
11 file->file = f; in fake_file_init_file()
14 void fake_file_init_buffer(FakeFILE* file, char* buffer, size_t buffer_size) { in fake_file_init_buffer() argument
15 memset(file, 0, sizeof(*file)); in fake_file_init_buffer()
16 file->buffer = (void*)buffer; in fake_file_init_buffer()
17 file->buffer_pos = 0; in fake_file_init_buffer()
18 file->buffer_size = buffer_size; in fake_file_init_buffer()
21 void fake_file_init_wbuffer(FakeFILE* file, in fake_file_init_wbuffer() argument
24 fake_file_init_buffer(file, (char*)buffer, buffer_size * sizeof(wchar_t)); in fake_file_init_wbuffer()
[all …]
Dstdio_impl.h16 FILE* file; member
23 void fake_file_init_file(FakeFILE* file, FILE* f) __HIDDEN__;
26 void fake_file_init_buffer(FakeFILE* file, char* buffer, size_t buffer_size)
31 void fake_file_init_wbuffer(FakeFILE* file, wchar_t* buffer, size_t buffer_size)
35 void fake_file_out(FakeFILE* file, const char* s, size_t l) __HIDDEN__;
38 void fake_file_outw(FakeFILE* file, const wchar_t* s, size_t l) __HIDDEN__;
41 int fake_feof(FakeFILE* file) __HIDDEN__;
42 int fake_ferror(FakeFILE* file) __HIDDEN__;
43 int fake_fprintf(FakeFILE* file, const char* fmt, ...) __HIDDEN__;
44 void fake_fputc(char ch, FakeFILE* file) __HIDDEN__;
[all …]
/ndk/sources/host-tools/make-3.81/
Dremake.c42 extern int try_implicit_rule PARAMS ((struct file *file, unsigned int depth));
63 static int update_file PARAMS ((struct file *file, unsigned int depth));
64 static int update_file_1 PARAMS ((struct file *file, unsigned int depth));
65 static int check_dep PARAMS ((struct file *file, unsigned int depth, FILE_TIMESTAMP this_mtime, int…
66 static int touch_file PARAMS ((struct file *file));
67 static void remake_file PARAMS ((struct file *file));
87 #define MTIME(file) (rebuilding_makefiles ? file_mtime_no_search (file) \ in update_goal_chain() argument
88 : file_mtime (file)) in update_goal_chain()
127 struct file *file; in update_goal_chain() local
130 for (file = g->file->double_colon ? g->file->double_colon : g->file; in update_goal_chain()
[all …]
Dfiledef.h26 struct file struct
40 struct file *prev; /* Previous entry for same file name; argument
43 struct file *last; /* Last entry for the same file name. */ argument
47 struct file *renamed; argument
58 struct file *parent; argument
62 struct file *double_colon; argument
100 extern struct file *default_goal_file, *suffix_file, *default_file;
104 extern struct file *lookup_file PARAMS ((char *name));
105 extern struct file *enter_file PARAMS ((char *name));
109 extern void rename_file PARAMS ((struct file *file, char *name));
[all …]
Dcommands.c45 set_file_variables (struct file *file) in set_file_variables() argument
54 if (ar_name (file->name)) in set_file_variables()
59 p = strchr (file->name, '('); in set_file_variables()
60 at = (char *) alloca (p - file->name + 1); in set_file_variables()
61 bcopy (file->name, at, p - file->name); in set_file_variables()
62 at[p - file->name] = '\0'; in set_file_variables()
71 at = file->name; in set_file_variables()
76 if (file->stem == 0) in set_file_variables()
86 if (ar_name (file->name)) in set_file_variables()
88 name = strchr (file->name, '(') + 1; in set_file_variables()
[all …]
DMakefile.DOS80 make_SOURCES = ar.c arscan.c commands.c default.c dir.c expand.c file.c function.c getopt.c getopt1…
214 … d=$(srcdir); for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9] $$file[0-9] $…
216 …)$(infodir) $(DESTDIR)$(infodir)/$$file"; install-info --info-dir=$(DESTDIR)$(infodir) $(DESTD…
220 …NFO_DEPS); do test -z $ii || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; done
222 …ake.i; do (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9] $$file[0-9] $…
225 … test -f $(distdir)/$$file || ln $$d/$$file $(distdir)/$$file 2> /dev/null || cp -p …
253 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
254 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
363 …(srcdir); test -f $(distdir)/$$file || ln $$d/$$file $(distdir)/$$file 2> /dev/null || cp -p $$d/$…
Dimplicit.c29 pattern_search PARAMS ((struct file *file, int archive,
39 try_implicit_rule (struct file *file, unsigned int depth) in try_implicit_rule() argument
48 if (pattern_search (file, 0, depth, 0)) in try_implicit_rule()
54 if (ar_name (file->name)) in try_implicit_rule()
58 if (pattern_search (file, 1, depth, 0)) in try_implicit_rule()
73 struct file *intermediate_file; /* intermediate file, 0 otherwise */
90 struct file *f = p->intermediate_file; in free_idep_chain()
200 pattern_search (struct file *file, int archive, in pattern_search() argument
204 char *filename = archive ? strchr (file->name, '(') : file->name; in pattern_search()
215 struct file *intermediate_file = 0; in pattern_search()
[all …]
Dfile.c46 return_ISTRING_HASH_1 (((struct file const *) key)->hname); in file_hash_1()
52 return_ISTRING_HASH_2 (((struct file const *) key)->hname); in file_hash_2()
58 return_ISTRING_COMPARE (((struct file const *) x)->hname, in file_hash_cmp()
59 ((struct file const *) y)->hname); in file_hash_cmp()
75 struct file *
78 register struct file *f; in lookup_file()
79 struct file file_key; in lookup_file()
126 f = (struct file *) hash_find_item (&files, &file_key); in lookup_file()
134 struct file *
137 register struct file *f; in enter_file()
[all …]
Dvpath.c51 static int selective_vpath_search PARAMS ((struct vpath *path, char **file, FILE_TIMESTAMP *mtime_p…
318 gpath_search (char *file, unsigned int len) in gpath_search() argument
324 if (strneq (*gp, file, len) && (*gp)[len] == '\0') in gpath_search()
337 vpath_search (char **file, FILE_TIMESTAMP *mtime_ptr) in vpath_search() argument
344 if (**file == '/' in vpath_search()
346 || **file == '\\' in vpath_search()
347 || (*file)[1] == ':' in vpath_search()
353 if (pattern_matches (v->pattern, v->percent, *file)) in vpath_search()
354 if (selective_vpath_search (v, file, mtime_ptr)) in vpath_search()
358 && selective_vpath_search (general_vpath, file, mtime_ptr)) in vpath_search()
[all …]
Dvariable.h114 extern char *variable_expand_for_file PARAMS ((char *line, struct file *file));
115 extern char *allocated_variable_expand_for_file PARAMS ((char *line, struct file *file));
117 allocated_variable_expand_for_file (line, (struct file *) 0)
134 struct file *file));
143 extern void initialize_file_variables PARAMS ((struct file *file, int read));
144 extern void print_file_variables PARAMS ((struct file *file));
193 extern char **target_environment PARAMS ((struct file *file));
Djob.h44 struct file *file; /* File being remade. */ member
69 extern void new_job PARAMS ((struct file *file));
73 extern char **construct_command_argv PARAMS ((char *line, char **restp, struct file *file, char** b…
Dcommands.h38 extern void execute_file_commands PARAMS ((struct file *file));
42 extern void set_file_variables PARAMS ((struct file *file));
/ndk/sources/host-tools/sed-4.2.1/lib/
Ddirname.c32 dir_len (char const *file) in dir_len() argument
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); in dir_len()
40 && ISSLASH (file[prefix_length])) in dir_len()
41 : (ISSLASH (file[0]) in dir_len()
43 && ISSLASH (file[1]) && ! ISSLASH (file[2]) in dir_len()
48 for (length = last_component (file) - file; in dir_len()
50 if (! ISSLASH (file[length - 1])) in dir_len()
71 dir_name (char const *file) in dir_name() argument
73 size_t length = dir_len (file); in dir_name()
76 && length == FILE_SYSTEM_PREFIX_LEN (file) in dir_name()
[all …]
Ddirname.h61 char *base_name (char const *file);
62 char *dir_name (char const *file);
63 size_t base_len (char const *file);
64 size_t dir_len (char const *file);
65 char *last_component (char const *file);
67 bool strip_trailing_slashes (char *file);
Dlstat.c54 rpl_lstat (const char *file, struct stat *sbuf) in rpl_lstat() argument
57 int lstat_result = orig_lstat (file, sbuf); in rpl_lstat()
62 len = strlen (file); in rpl_lstat()
63 if (len == 0 || file[len - 1] != '/') in rpl_lstat()
70 if (stat (file, sbuf) != 0) in rpl_lstat()
/ndk/sources/host-tools/sed-4.2.1/build-aux/
Dmissing206 file=`echo "$*" | sed -n "$sed_output"`
207 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
208 if test -f "$file"; then
209 touch $file
211 test -z "$file" || exec >$file
216 chmod +x $file
281 file=`echo "$*" | sed -n "$sed_output"`
282 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
283 if test -f "$file"; then
284 touch $file
[all …]
Dlink-warning.h13 # define GL_LINK_WARNING1(file, line, message) \ argument
14 GL_LINK_WARNING2 (file, line, message) /* macroexpand file and line */
15 # define GL_LINK_WARNING2(file, line, message) \ argument
16 GL_LINK_WARNING3 (file ":" #line ": warning: " message)
/ndk/sources/host-tools/make-3.81/config/
Dmissing195 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
196 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
197 if test -f "$file"; then
198 touch $file
200 test -z "$file" || exec >$file
205 chmod +x $file
270 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
271 if test -z "$file"; then
272 file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
274 if [ -f "$file" ]; then
[all …]
DChangeLog18 * codeset.m4: New file, from gettext-0.11.1.
19 * gettext.m4: New file, from gettext-0.11.1.
20 * glibc21.m4: New file, from gettext-0.11.1.
21 * iconv.m4: New file, from gettext-0.11.1.
22 * isc-posix.m4: New file, from gettext-0.11.1.
23 * lcmessage.m4: New file, from gettext-0.11.1.
24 * lib-ld.m4: New file, from gettext-0.11.1.
25 * lib-link.m4: New file, from gettext-0.11.1.
26 * lib-prefix.m4: New file, from gettext-0.11.1.
27 * progtest.m4: New file, from gettext-0.11.1.
[all …]
/ndk/sources/host-tools/sed-4.2.1/
Dautoboot195 file=$1
197 test -f $file || touch $file
198 echo "$str" | sort -u - $file | cmp -s - $file \
199 || echo "$str" | sort -u - $file -o $file \
248 test -f .gitmodules && git config --file .gitmodules "$@"
458 file=$2
461 grep -F "/$file/" $dir/CVS/Entries 2>/dev/null |
464 git rm -n "$dir/$file" > /dev/null 2>&1 && found=yes
466 svn log -r HEAD "$dir/$file" > /dev/null 2>&1 && found=yes
468 echo "$0: no version control for $dir/$file?" >&2
[all …]
/ndk/build/core/
Ddefinitions.mk113 define ev-generate-file-dir
119 generate-file-dir = $(eval $(call ev-generate-file-dir,$1))
176 define list-file-start-gen-10
183 define list-file-always-gen-10
189 define list-file-maybe-gen-10
195 define list-file-start-gen-100
196 $(call list-file-start-gen-10,$10,$2)
197 $(call list-file-always-gen-10,$11,$2)
198 $(call list-file-always-gen-10,$12,$2)
199 $(call list-file-always-gen-10,$13,$2)
[all …]
/ndk/tests/device/test-libc++-shared-full/
DDATA1 # run-tests.sh looks for this file to check if additional data is needed to run tests in this proje…
5 …tream.cons___move sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
6 …tream.cons___pointer sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
7 …tream.cons___string sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
9 …virtuals___pbackfail sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fi…
10 …virtuals___underflow sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fi…
12 …mbers___close sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
13 …mbers___open_pointer sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
14 …mbers___open_string sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
15 …mbers___rdbuf sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
[all …]
/ndk/tests/device/test-libc++-static-full/
DDATA1 # run-tests.sh looks for this file to check if additional data is needed to run tests in this proje…
5 …tream.cons___move sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
6 …tream.cons___pointer sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
7 …tream.cons___string sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
9 …virtuals___pbackfail sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fi…
10 …virtuals___underflow sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fi…
12 …mbers___close sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
13 …mbers___open_pointer sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
14 …mbers___open_string sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
15 …mbers___rdbuf sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/if…
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/misc/
Dgeneral412 all: dir/subdir/file.a
16 dir/subdir/file.b: dir/subdir ; @echo touch dir/subdir/file.b
19 … '', "mkdir -p dir/subdir\ntouch dir/subdir/file.b\ncp dir/subdir/file.b dir/subdir/file.a\n");
73 all: dir/subdir/file.$$a
77 dir/subdir/file.$$b: dir/subdir ; @echo touch '$@'
81 …'', "mkdir -p dir/subdir\ntouch dir/subdir/file.\$b\ncp dir/subdir/file.\$b dir/subdir/file.\$a\n"…
/ndk/sources/host-tools/make-3.81/doc/
DMakefile.in315 for file in $$list; do \
316 relfile=`echo "$$file" | sed 's|^.*/||'`; \
323 for file in $$list; do \
324 relfile=`echo "$$file" | sed 's|^.*/||'`; \
340 for file in $$d/$$base*; do \
341 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
343 cp -p $$file $(distdir)/$$relfile; \
368 list='$(DISTFILES)'; for file in $$list; do \
369 case $$file in \
370 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
[all …]

12345678910>>...26