Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/scripts/dtc/
H A Dsrcpos.c145 struct srcfile_state *srcfile; in srcfile_push() local
150 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
152 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
153 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
154 srcfile->prev = current_srcfile; in srcfile_push()
156 srcfile->lineno = 1; in srcfile_push()
157 srcfile->colno = 1; in srcfile_push()
159 current_srcfile = srcfile; in srcfile_push()
164 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
166 assert(srcfile); in srcfile_pop()
[all …]
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dsrcpos.c174 struct srcfile_state *srcfile; in srcfile_push() local
179 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
181 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
182 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
183 srcfile->prev = current_srcfile; in srcfile_push()
185 srcfile->lineno = 1; in srcfile_push()
186 srcfile->colno = 1; in srcfile_push()
188 current_srcfile = srcfile; in srcfile_push()
191 set_initial_path(srcfile->name); in srcfile_push()
196 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dtest_bitmap.c58 __check_eq_uint(const char *srcfile, unsigned int line, in __check_eq_uint() argument
63 srcfile, line, exp_uint, x); in __check_eq_uint()
71 __check_eq_bitmap(const char *srcfile, unsigned int line, in __check_eq_bitmap() argument
77 srcfile, line, in __check_eq_bitmap()
85 __check_eq_pbl(const char *srcfile, unsigned int line, in __check_eq_pbl() argument
92 srcfile, line, in __check_eq_pbl()
100 __check_eq_u32_array(const char *srcfile, unsigned int line,
104 __check_eq_u32_array(const char *srcfile, unsigned int line, in __check_eq_u32_array() argument
110 srcfile, line, in __check_eq_u32_array()
116 pr_warn("[%s:%u] array contents differ\n", srcfile, line); in __check_eq_u32_array()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsrccode.c25 struct srcfile { struct
77 static void free_srcfile(struct srcfile *sf) in free_srcfile()
89 static struct srcfile *find_srcfile(char *fn) in find_srcfile()
92 struct srcfile *h; in find_srcfile()
110 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile()
120 h = malloc(sizeof(struct srcfile)); in find_srcfile()
160 struct srcfile *sf = find_srcfile(fn); in find_sourceline()
H A Dsrccode.h5 char *srcfile; member
11 state->srcfile = NULL; in srccode_state_init()
H A Dsort.c533 if (!left->srcfile) in sort__srcfile_cmp()
534 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_cmp()
535 if (!right->srcfile) in sort__srcfile_cmp()
536 right->srcfile = hist_entry__get_srcfile(right); in sort__srcfile_cmp()
538 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_cmp()
544 if (!he->srcfile) in hist_entry__srcfile_snprintf()
545 he->srcfile = hist_entry__get_srcfile(he); in hist_entry__srcfile_snprintf()
547 return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile); in hist_entry__srcfile_snprintf()
1878 MK_SORT_ENTRY_CHK(srcfile) in MK_SORT_ENTRY_CHK()
H A Dsort.h137 char *srcfile; member
H A Dhist.c218 if (h->srcfile) in hists__calc_col_len()
219 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len()
1313 if (he->srcfile && he->srcfile[0]) in hist_entry__delete()
1314 zfree(&he->srcfile); in hist_entry__delete()
1503 he->srcfile = NULL; in hierarchy_insert_entry()
1505 new->srcfile = NULL; in hierarchy_insert_entry()
H A Dmap.c446 zfree(&state->srcfile); in srccode_state_free()
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dappend.py105 srcfile = ''
123 srcfile = 'file://%s' % localpath
126 srcfile = 'file://%s' % localpath
143 srcfile = 'patch://%s' % addpatch
145 return (srcfile, elements, modpatches)
330 for newfile, srcfile in files.items():
331 src_destdir = os.path.dirname(srcfile)
340 source_uri = 'file://{0}'.format(os.path.basename(srcfile))
355 copyfiles[newfile] = srcfile
H A Dcreate.py267 def determine_from_filename(srcfile): argument
269 if is_package(srcfile):
273 if '.tar.' in srcfile:
274 namepart = srcfile.split('.tar.')[0]
276 namepart = os.path.splitext(srcfile)[0]
283 logger.debug('determine_from_filename: split name %s into: %s' % (srcfile, splitval))
338 srcfile = os.path.basename(parseres.path.rstrip('/'))
339 pn, pv = determine_from_filename(srcfile)
H A Dcreate_buildsys.py652 for srcfile in srcfiles:
656 with open(srcfile, 'r', errors='surrogateescape') as f:
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser/
H A DRkAiqCalibDb.cpp85 char *srcfile = strdup(iqFile); in getFilePathName() local
86 char *pstart = strrchr(srcfile, '/'); in getFilePathName()
87 char *pend = strrchr(srcfile, '.'); in getFilePathName()
93 snprintf(location, CALIBDB_PATH_LEN, "%s.bin", srcfile); in getFilePathName()
95 free(srcfile); in getFilePathName()
103 char *srcfile = strdup(iqFile); in getFilePathName2() local
104 char *pstart = strrchr(srcfile, '/'); in getFilePathName2()
105 char *pend = strrchr(srcfile, '.'); in getFilePathName2()
111 snprintf(newName, CALIBDB_PATH_LEN, "%s_write.xml", srcfile); in getFilePathName2()
113 free(srcfile); in getFilePathName2()
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Ddistrodata.py57 srcfile = rd.getVar('SRC_URI').split()
62 if srcfile and srcfile[0].startswith('file') or not rd.getVar('SRC_URI'):
H A Drecipetool.py533 def _copy_file_with_cleanup(self, srcfile, basedstdir, *paths): argument
545 dstfile = os.path.join(dstdir, os.path.basename(srcfile))
546 if srcfile != dstfile:
547 shutil.copy(srcfile, dstfile)
555 srcfile = fromname.output
558 with open(srcfile) as fh:
561 self.assertIn('meta-selftest', srcfile, 'wrong bbpath plugin found')
563 self._copy_file_with_cleanup(srcfile, path, 'lib', 'recipetool')
573 with open(srcfile, 'w') as fh:
H A Ddevtool.py774 srcfile = os.path.join(tempdir, 'oe-local-files/share/dot.bashrc')
776 self.assertExists(srcfile, 'Extracted source could not be found')
777 … if os.path.islink(srclink) and os.path.exists(srclink) and os.path.samefile(srcfile, srclink):
1669 def _copy_file_with_cleanup(self, srcfile, basedstdir, *paths): argument
1681 dstfile = os.path.join(dstdir, os.path.basename(srcfile))
1682 if srcfile != dstfile:
1683 shutil.copy(srcfile, dstfile)
1694 srcfile = fromname.output
1698 with open(srcfile) as fh:
1701 self.assertIn('meta-selftest', srcfile, 'wrong bbpath plugin found')
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Drecipeutils.py769 srcfile = origsrcfile
771 if not srcfile:
772 srcfile = os.path.basename(newfile)
773 srcurientry = 'file://%s' % srcfile
783 copyfiles[newfile] = srcfile
792 …nes.append('install -m %s ${WORKDIR}/%s ${D}%s' % (perms, os.path.basename(srcfile), instdestpath))
906 for newfile, srcfile in copyfiles.items():
907 filedest = os.path.join(outdir, destsubdir, os.path.basename(srcfile))
914 …s to %s (dry-run)' % (newfiledisp, os.path.join(appenddir, destsubdir, os.path.basename(srcfile))))
H A Dpatch.py473 for srcfile in out.split():
478 with open(srcfile, 'r', encoding=encoding) as f:
490 … raise PatchError('Unable to find a character encoding to decode %s' % srcfile)
493 outfile = os.path.basename(srcfile)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/
H A Dgtype.state11 (!srcfile 2047 "../libcpp/include/line-map.h")
12 (!srcfile 2047 "../libcpp/include/cpplib.h")
13 (!srcfile 2047 "input.h")
14 (!srcfile 2047 "coretypes.h")
16 (!srcfile 2047 "../include/ansidecl.h")
18 (!srcfile 2047 "config/vxworks-dummy.h")
19 (!srcfile 2047 "config/dbxelf.h")
20 (!srcfile 2047 "config/elfos.h")
21 (!srcfile 2047 "config/gnu-user.h")
22 (!srcfile 2047 "config/linux.h")
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/
H A Dgtype.state11 (!srcfile 2047 "../libcpp/include/line-map.h")
12 (!srcfile 2047 "../libcpp/include/cpplib.h")
13 (!srcfile 2047 "input.h")
14 (!srcfile 2047 "coretypes.h")
16 (!srcfile 2047 "../include/ansidecl.h")
18 (!srcfile 2047 "config/aarch64/biarchlp64.h")
19 (!srcfile 2047 "config/aarch64/aarch64.h")
20 (!srcfile 2047 "config/dbxelf.h")
21 (!srcfile 2047 "config/elfos.h")
22 (!srcfile 2047 "config/gnu-user.h")
[all …]
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-script.c1024 char *srcfile; in map__fprintf_srccode() local
1032 srcfile = get_srcline_split(map->dso, in map__fprintf_srccode()
1035 if (!srcfile) in map__fprintf_srccode()
1040 state->srcfile && in map__fprintf_srccode()
1041 !strcmp(state->srcfile, srcfile) && in map__fprintf_srccode()
1043 free(srcfile); in map__fprintf_srccode()
1047 srccode = find_sourceline(srcfile, line, &len); in map__fprintf_srccode()
1054 state->srcfile = srcfile; in map__fprintf_srccode()
1060 free(srcfile); in map__fprintf_srccode()
/OK3568_Linux_fs/external/xserver/
H A Dltmain.sh3318 srcfile=$nonopt # always keep a non-empty value in "srcfile"
3393 lastarg=$srcfile
3394 srcfile=$arg
3414 func_basename "$srcfile"
3501 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
3533 $ECHO "$srcfile" > "$lockfile"
3540 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
3541 srcfile=$func_to_tool_file_result
3542 func_quote_for_eval "$srcfile"
3568 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
[all …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb2ops.c1739 struct cifsFileInfo *srcfile, in smb2_copychunk_range() argument
1767 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink), in smb2_copychunk_range()
1768 srcfile->fid.persistent_fid, in smb2_copychunk_range()
1769 srcfile->fid.volatile_fid, pcchunk); in smb2_copychunk_range()
1995 struct cifsFileInfo *srcfile, in smb2_duplicate_extents() argument
2010 dup_ext_buf.VolatileFileHandle = srcfile->fid.volatile_fid; in smb2_duplicate_extents()
2011 dup_ext_buf.PersistentFileHandle = srcfile->fid.persistent_fid; in smb2_duplicate_extents()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/binutils/binutils/
H A D0009-Use-libtool-2.4.patch1057 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1560 -# Fix the shell variable \$srcfile for the compiler.
2990 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3484 -# Fix the shell variable \$srcfile for the compiler.
4901 - fix_srcfile_path='`cygpath -w "$srcfile"`'
5395 -# Fix the shell variable \$srcfile for the compiler.
6815 - fix_srcfile_path='`cygpath -w "$srcfile"`'
7309 -# Fix the shell variable \$srcfile for the compiler.
8747 - fix_srcfile_path='`cygpath -w "$srcfile"`'
9879 -# Fix the shell variable \$srcfile for the compiler.
[all …]
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dperf-report.txt92 - srcfile: file name of the source file of the samples. Requires dwarf