Home
last modified time | relevance | path

Searched refs:cfile (Results 1 – 25 of 39) sorted by relevance

12

/third_party/toybox/toys/pending/
Dcrond.c207 static void parse_line(char *line, CRONFILE *cfile) in parse_line() argument
229 if (TT.flagd) loginfo(LOG_LEVEL5, "user:%s entry:%s", cfile->username, line); in parse_line()
280 dlist_add_nomalloc((struct double_list **)&cfile->job, (struct double_list *)j); in parse_line()
287 if (!strcmp(name, "MAILTO")) cfile->mailto = xstrdup(val); in parse_line()
292 dlist_add_nomalloc((struct double_list **)&cfile->var, (struct double_list *)v); in parse_line()
374 CRONFILE *cfile; in scan_cronfiles() local
389 cfile = xzalloc(sizeof(CRONFILE)); in scan_cronfiles()
390 cfile->username = xstrdup(entry->d_name); in scan_cronfiles()
393 parse_line(line, cfile); in scan_cronfiles()
399 if (!cfile->job) { in scan_cronfiles()
[all …]
/third_party/python/Lib/
Dpy_compile.py79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, argument
126 if cfile is None:
129 cfile = importlib.util.cache_from_source(file,
132 cfile = importlib.util.cache_from_source(file)
133 if os.path.islink(cfile):
136 raise FileExistsError(msg.format(cfile))
137 elif os.path.exists(cfile) and not os.path.isfile(cfile):
140 raise FileExistsError(msg.format(cfile))
155 dirname = os.path.dirname(cfile)
172 importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
[all …]
Dcompileall.py212 cfile = (importlib.util.cache_from_source(
214 opt_cfiles[opt_level] = cfile
216 cfile = importlib.util.cache_from_source(fullname)
217 opt_cfiles[opt_level] = cfile
226 for cfile in opt_cfiles.values():
227 with open(cfile, 'rb') as chandle:
239 cfile = opt_cfiles[opt_level]
240 ok = py_compile.compile(fullname, cfile, dfile, True,
245 if filecmp.cmp(cfile, previous_cfile, shallow=False):
246 os.unlink(cfile)
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp800 void TiXmlElement::Print( FILE* cfile, int depth ) const in Print() argument
803 assert( cfile ); in Print()
805 fprintf( cfile, " " ); in Print()
808 fprintf( cfile, "<%s", value.c_str() ); in Print()
813 fprintf( cfile, " " ); in Print()
814 attrib->Print( cfile, depth ); in Print()
824 fprintf( cfile, " />" ); in Print()
828 fprintf( cfile, ">" ); in Print()
829 firstChild->Print( cfile, depth + 1 ); in Print()
830 fprintf( cfile, "</%s>", value.c_str() ); in Print()
[all …]
Dtinyxml.h213 virtual void Print( FILE* cfile, int depth ) const = 0;
870 virtual void Print( FILE* cfile, int depth ) const { in Print() argument
871 Print( cfile, depth, 0 ); in Print()
873 void Print( FILE* cfile, int depth, TIXML_STRING* str ) const;
1126 virtual void Print( FILE* cfile, int depth ) const;
1179 virtual void Print( FILE* cfile, int depth ) const;
1240 virtual void Print( FILE* cfile, int depth ) const;
1318 virtual void Print( FILE* cfile, int depth, TIXML_STRING* str ) const;
1319 virtual void Print( FILE* cfile, int depth ) const { in Print() argument
1320 Print( cfile, depth, 0 ); in Print()
[all …]
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c69 static void run_targets(const char *dirname, char *cfile, pid_t tid) in run_targets() argument
75 const char *const cmd_run[] = {cfile, NULL}; in run_targets()
82 snprintf(cfile, PATH_MAX, "%s%s/%d.%d.%d", in run_targets()
130 char cfile[PATH_MAX]; in thread_fn() local
155 snprintf(cfile, PATH_MAX, "%d.%d.%d.c", tid, i, k); in thread_fn()
156 fd = openat(dirfd, cfile, O_CREAT | O_RDWR, in thread_fn()
160 "openat(%s) failed", cfile); in thread_fn()
184 run_targets(dirname, cfile, tid); in thread_fn()
/third_party/ltp/lib/
Dtst_cgroup.c913 const struct cgroup_file *cfile; in cgroup_file_find() local
938 for (cfile = ctrl->files; cfile->file_name; cfile++) { in cgroup_file_find()
939 if (!strcmp(file_name, cfile->file_name)) in cgroup_file_find()
943 if (!cfile->file_name) { in cgroup_file_find()
950 return cfile; in cgroup_file_find()
986 static const char *cgroup_file_alias(const struct cgroup_file *const cfile, in cgroup_file_alias() argument
990 return cfile->file_name; in cgroup_file_alias()
992 if (cfile->ctrl_indx == CTRL_CPUSET && in cgroup_file_alias()
994 cfile->file_name_v1) { in cgroup_file_alias()
995 return strchr(cfile->file_name_v1, '.') + 1; in cgroup_file_alias()
[all …]
/third_party/gstreamer/gstreamer/gst/parse/
Dgen_grammar.py5 cfile = sys.argv[1] variable
9 args = ['-d', '-v', '-ppriv_gst_parse_yy', yfile, '-o', cfile]
19 contents = open(cfile).read()
21 open(cfile, 'w').write(contents)
Dgen_grammar.py.in5 cfile = sys.argv[1] variable
9 args = ['-d', '-v', '-ppriv_gst_parse_yy', yfile, '-o', cfile]
19 contents = open(cfile).read()
21 open(cfile, 'w').write(contents)
Dgen_lex.py5 cfile = sys.argv[1] variable
10 args = ['--header-file=' + hfile, '-o', cfile, '-Ppriv_gst_parse_yy', lfile]
22 contents = open(cfile).read()
27 open(cfile, 'w').write(contents)
Dgen_lex.py.in5 cfile = sys.argv[1] variable
10 args = ['--header-file=' + hfile, '-o', cfile, '-Ppriv_gst_parse_yy', lfile]
22 contents = open(cfile).read()
27 open(cfile, 'w').write(contents)
/third_party/ltp/testcases/kernel/fs/mongo/
Dmongo.pl169 my $cfile = $file . ".c";
170 die "source file \"${cfile}\" does not exist" unless (-e "$cfile");
171 if ( -e "$file" && (stat("$file")->mtime >= stat("$cfile")->mtime)) {
174 print "Compiling ${cfile} ...\n";
175 system ("gcc $cfile -o $file $opt");
/third_party/curl/
Dcompile265 cfile=
288 cfile=$1
301 if test -z "$ofile" || test -z "$cfile"; then
311 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/third_party/skia/third_party/externals/libpng/
Dcompile265 cfile=
288 cfile=$1
301 if test -z "$ofile" || test -z "$cfile"; then
311 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/third_party/libffi/
Dcompile265 cfile=
288 cfile=$1
301 if test -z "$ofile" || test -z "$cfile"; then
311 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/third_party/skia/third_party/externals/microhttpd/
Dcompile264 cfile=
287 cfile=$1
300 if test -z "$ofile" || test -z "$cfile"; then
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/third_party/libevdev/build-aux/
Dcompile265 cfile=
288 cfile=$1
301 if test -z "$ofile" || test -z "$cfile"; then
311 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/third_party/node/deps/cares/
Dcompile265 cfile=
288 cfile=$1
301 if test -z "$ofile" || test -z "$cfile"; then
311 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/third_party/curl/packages/vms/
Dconfig_h.com111 $ cfile = p1
113 $ cfile = f$search("sys$disk:[]config.h.in")
114 $ if cfile .eqs. ""
116 $ cfile = f$search("sys$disk:[]config.h_in")
117 $ if cfile .eqs. ""
119 $ cfile = f$search("sys$disk:[]configh.in")
120 $ if cfile .eqs. ""
122 $ cfile = f$search("sys$disk:[]config__2eh.in")
123 $ if cfile .eqs. ""
125 $ cfile = f$search("sys$disk:[]config.h__2ein")
[all …]
/third_party/python/Doc/library/
Dpy_compile.rst30 .. function:: compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, invalidation_mode=P…
34 written to *cfile*, which defaults to the :pep:`3147`/:pep:`488` path, ending
36 For example, if *file* is ``/foo/bar/baz.py`` *cfile* will default to
43 whatever *cfile* value was used.
52 If the path that *cfile* becomes (either explicitly specified or computed)
70 Changed default value of *cfile* to be :PEP:`3147`-compliant. Previous
78 caveat that :exc:`FileExistsError` is raised if *cfile* is a symlink or
/third_party/python/Lib/distutils/
Dutil.py450 cfile = importlib.util.cache_from_source(
453 cfile = importlib.util.cache_from_source(file)
463 cfile_base = os.path.basename(cfile)
465 if force or newer(file, cfile):
468 compile(file, cfile, dfile)
/third_party/libsnd/Scripts/
Dcstyle.py176 cfile = open (filename, "r")
182 line = cfile.readline ()
193 cfile.close ()
/third_party/openssl/util/
Dmkerr.pl500 my $cfile = $errorfile{$lib};
514 rel2abs(dirname($cfile)));
521 open( OUT, ">$cfile" )
522 || die "Can't open $cfile for writing, $!, stopped";
/third_party/node/deps/openssl/openssl/util/
Dmkerr.pl500 my $cfile = $errorfile{$lib};
514 rel2abs(dirname($cfile)));
521 open( OUT, ">$cfile" )
522 || die "Can't open $cfile for writing, $!, stopped";
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp274 char *cfile; in openCtrlConnection() local
362 cfile = (char *) malloc(flen); in openCtrlConnection()
363 if (cfile == NULL) in openCtrlConnection()
365 snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ctrl_iface); in openCtrlConnection()
368 cfile = (char *) malloc(flen); in openCtrlConnection()
369 if (cfile == NULL) in openCtrlConnection()
371 snprintf(cfile, flen, "%s", ctrl_iface); in openCtrlConnection()
387 debug("Trying to connect to '%s'", cfile); in openCtrlConnection()
388 ctrl_conn = wpa_ctrl_open(cfile); in openCtrlConnection()
390 free(cfile); in openCtrlConnection()
[all …]

12