Home
last modified time | relevance | path

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

12

/external/python/cffi/c/
Drealize_c_type.c279 static void _realize_name(char *target, const char *prefix, const char *srcname) in _realize_name() argument
285 if (srcname[0] == '$' && srcname[1] != '$' && in _realize_name()
286 !('0' <= srcname[1] && srcname[1] <= '9')) { in _realize_name()
287 strcpy(target, &srcname[1]); in _realize_name()
291 strcat(target, srcname); in _realize_name()
295 static void _unrealize_name(char *target, const char *srcname) in _unrealize_name() argument
298 if (strncmp(srcname, "struct ", 7) == 0) { in _unrealize_name()
299 strcpy(target, &srcname[7]); in _unrealize_name()
301 else if (strncmp(srcname, "union ", 6) == 0) { in _unrealize_name()
302 strcpy(target, &srcname[6]); in _unrealize_name()
[all …]
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c32 static const char *srcname = "srcfile.bin"; variable
250 tst_res(TINFO, "Fill %s with random data", srcname); in setup()
252 srcfd = SAFE_OPEN(srcname, (srcflags & ~O_DIRECT) | O_RDWR | O_CREAT, 0666); in setup()
276 srcfd = SAFE_OPEN(srcname, srcflags | O_RDWR | O_CREAT, 0666); in run()
279 tst_res(TINFO, "Copy %s -> %s", srcname, dstname); in run()
291 tst_res(TINFO, "Comparing %s with %s", srcname, dstname); in run()
300 srcfd = SAFE_OPEN(srcname, srcflags | O_RDONLY, 0666); in run()
/external/python/cpython3/Lib/ctypes/test/
Dtest_find.py90 srcname = os.path.join(d, 'dummy.c')
93 with open(srcname, 'wb') as f:
95 self.assertTrue(os.path.exists(srcname))
98 '-Wl,-soname,lib%s.so' % libname, srcname]
/external/tcpdump/
Dprint-ipfc.c67 const char *srcname, *dstname; in ipfc_hdr_print() local
69 srcname = etheraddr_string(ndo, ipfcsrc); in ipfc_hdr_print()
87 ND_PRINT("%s > %s, length %u: ", srcname, dstname, length); in ipfc_hdr_print()
Dprint-token.c109 const char *srcname, *dstname; in token_hdr_print() local
111 srcname = etheraddr_string(ndo, fsrc); in token_hdr_print()
119 srcname, dstname, in token_hdr_print()
Dprint-fddi.c258 const char *srcname, *dstname; in fddi_hdr_print() local
260 srcname = etheraddr_string(ndo, fsrc); in fddi_hdr_print()
266 srcname, dstname, in fddi_hdr_print()
/external/mbedtls/scripts/
Decp_comb_table.py172 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c")
181 srcname,
192 os.unlink(srcname)
/external/arm-trusted-firmware/tools/stm32image/
Dstm32image.c123 static int stm32image_create_header_file(char *srcname, char *destname, in stm32image_create_header_file() argument
140 src_fd = open(srcname, O_RDONLY); in stm32image_create_header_file()
142 fprintf(stderr, "Can't open %s: %s\n", srcname, in stm32image_create_header_file()
153 fprintf(stderr, "Can't read %s\n", srcname); in stm32image_create_header_file()
/external/python/cpython2/Lib/
Dshutil.py196 srcname = os.path.join(src, name)
199 if symlinks and os.path.islink(srcname):
200 linkto = os.readlink(srcname)
202 elif os.path.isdir(srcname):
203 copytree(srcname, dstname, symlinks, ignore)
206 copy2(srcname, dstname)
212 errors.append((srcname, dstname, str(why)))
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_utils.cc349 const string srcname = NewName(e->src(), pretty); in ToGraphDef() local
352 ndef->add_input(strings::StrCat("^", srcname)); in ToGraphDef()
354 ndef->add_input(srcname); in ToGraphDef()
356 ndef->add_input(strings::StrCat(srcname, ":", e->src_output())); in ToGraphDef()
/external/python/cpython2/Doc/library/
Dshutil.rst182 (*srcname*, *dstname*, *exception*).
208 srcname = os.path.join(src, name)
211 if symlinks and os.path.islink(srcname):
212 linkto = os.readlink(srcname)
214 elif os.path.isdir(srcname):
215 copytree(srcname, dstname, symlinks, ignore)
217 copy2(srcname, dstname)
220 errors.append((srcname, dstname, str(why)))
/external/skia/tools/skpbench/
Dskpbench.cpp518 SkString srcname; in main() local
521 srcname = "warmup"; in main()
540 srcname = SkOSPath::Basename(srcfile.c_str()); in main()
547 srcname.c_str(), SkScalarCeilToInt(skp->cullRect().width()), in main()
640 print_result(samples, config->getTag().c_str(), srcname.c_str()); in main()
/external/kernel-headers/original/uapi/linux/
Dcoda.h483 int srcname; member
522 int srcname; member
/external/libdrm/intel/
Dintel_decode.c755 static void i915_get_instruction_src0(uint32_t *data, int i, char *srcname) in i915_get_instruction_src0() argument
766 i915_get_instruction_src_name((a0 >> 7) & 0x7, src_nr, srcname); in i915_get_instruction_src0()
770 strcat(srcname, swizzle); in i915_get_instruction_src0()
773 static void i915_get_instruction_src1(uint32_t *data, int i, char *srcname) in i915_get_instruction_src1() argument
784 i915_get_instruction_src_name((a1 >> 13) & 0x7, src_nr, srcname); in i915_get_instruction_src1()
788 strcat(srcname, swizzle); in i915_get_instruction_src1()
791 static void i915_get_instruction_src2(uint32_t *data, int i, char *srcname) in i915_get_instruction_src2() argument
801 i915_get_instruction_src_name((a2 >> 21) & 0x7, src_nr, srcname); in i915_get_instruction_src2()
805 strcat(srcname, swizzle); in i915_get_instruction_src2()
/external/python/cpython3/Doc/library/
Dshutil.rst439 (*srcname*, *dstname*, *exception*).
482 srcname = os.path.join(src, name)
485 if symlinks and os.path.islink(srcname):
486 linkto = os.readlink(srcname)
488 elif os.path.isdir(srcname):
489 copytree(srcname, dstname, symlinks)
491 copy2(srcname, dstname)
494 errors.append((srcname, dstname, str(why)))
/external/python/cpython3/Lib/
Dshutil.py464 srcname = os.path.join(src, srcentry.name)
466 srcobj = srcentry if use_srcentry else srcname
476 linkto = os.readlink(srcname)
504 errors.append((srcname, dstname, str(why)))
/external/capstone/packages/rpm/
Dcapstone.spec17 %global srcname distribute
/external/python/cpython3/Lib/test/
Dtest_shutil.py131 srcname = None
135 srcname = f.name
138 with open(srcname, "rb") as src:
150 if srcname is not None:
151 os_helper.unlink(srcname)
2407 srcname = TESTFN + 'src'
2409 self.addCleanup(lambda: os_helper.unlink(srcname))
2411 with open(srcname, "wb"):
2414 with open(srcname, "rb") as src:
/external/libnfnetlink/build-aux/
Dltmain.sh2991 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/external/libnetfilter_conntrack/build-aux/
Dltmain.sh2991 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/external/libnetfilter_conntrack/
Dltmain.sh2046 func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
/external/libexif/
Dltmain.sh2993 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
/external/libogg/
Dltmain.sh2046 func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
/external/google-breakpad/autotools/
Dltmain.sh2046 func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
/external/lmfit/build-aux/
Dltmain.sh2991 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \

12