Home
last modified time | relevance | path

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

1234567

/build/make/tools/libhost/
DCopyFile.c50 static int copyFileRecursive(const char* src, const char* dst, bool isCmdLine, unsigned int options…
98 static void printCopyMsg(const char* src, const char* dst, unsigned int options) in printCopyMsg() argument
101 printf(" '%s' --> '%s'\n", src, dst); in printCopyMsg()
104 static void printNotNewerMsg(const char* src, const char* dst, unsigned int options) in printNotNewerMsg() argument
106 (void)src; in printNotNewerMsg()
116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) in copyFileContents() argument
128 "acp: failed reading '%s': %s\n", src, strerror(errno)); in copyFileContents()
209 static int copyRegular(const char* src, const char* dst, const struct stat* pSrcStat, unsigned int … in copyRegular() argument
214 DBUG(("--- copying regular '%s' to '%s'\n", src, dst)); in copyRegular()
230 src, dst); in copyRegular()
[all …]
/build/blueprint/proptools/
Dextend_test.go28 src interface{} member
47 src: &struct{ B1, B2, B3, B4 bool }{
68 src: &struct{ B1, B2, B3, B4 bool }{
87 src: &struct{ S string }{
99 src: &struct{ S string }{
120 src: &struct{ B1, B2, B3, B4, B5, B6, B7, B8, B9 *bool }{
156 src: &struct{ B1, B2, B3, B4, B5, B6, B7, B8, B9 *bool }{
193 src: &struct{ I1, I2, I3, I4, I5, I6, I7, I8, I9 *int64 }{
222 src: &struct{ I1, I2, I3 *int64 }{
238 src: &struct{ S1, S2, S3, S4 *string }{
[all …]
Dextend.go37 func AppendProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc) error {
38 return extendProperties(dst, src, filter, OrderAppend)
56 func PrependProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc) error {
57 return extendProperties(dst, src, filter, OrderPrepend)
76 func AppendMatchingProperties(dst []interface{}, src interface{},
78 return extendMatchingProperties(dst, src, filter, OrderAppend)
97 func PrependMatchingProperties(dst []interface{}, src interface{},
99 return extendMatchingProperties(dst, src, filter, OrderPrepend)
121 func ExtendProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc,
123 return extendProperties(dst, src, filter, order)
[all …]
/build/soong/bp2build/
Dprebuilt_etc_conversion_test.go41 src: "version/tz_version",
63 src: "version/tz_version",
69 src: "arm",
72 src: "arm64",
97 src: "version/tz_version",
103 src: "arm",
106 src: "darwin_or_arm64",
111 src: "darwin_or_arm64",
149 src: "version/tz_version",
171 src: "version/tz_version",
/build/make/tools/droiddoc/templates-pdk/
Dhead_tag.cs16 <script src="<?cs var:toroot ?>assets/search_autocomplete.js" type="text/javascript"></script>
17 <script src="<?cs var:toroot ?>assets/jquery-resizable.min.js" type="text/javascript"></script>
18 <script src="<?cs var:toroot ?>assets/android-developer-docs.js" type="text/javascript"></script>
19 <script src="<?cs var:toroot ?>assets/prettify.js" type="text/javascript"></script>
24 <script src="<?cs var:toroot ?>assets/android-developer-reference.js" type="text/javascript"></scri…
25 <script src="<?cs var:toroot ?>navtree_data.js" type="text/javascript"></script><?cs
28 <script src="<?cs var:toroot ?>resources/resources-data.js" type="text/javascript"></script><?cs
37 …ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analyt… in function()
/build/soong/etc/
Dprebuilt_etc_test.go59 src: "foo.conf",
63 src: "bar.conf",
68 src: "baz.conf",
93 src: "foo.conf",
106 src: "foo.*",
110 src: "bar.*",
126 src: "foo.conf",
160 src: "foo.conf",
176 src: "foo.conf",
187 src: "foo.conf",
[all …]
Dsnapshot_etc_test.go39 src android.Path member
57 s.src = android.PathForModuleSrc(ctx, "source_file")
61 return android.Paths{s.src}
80 src: "foo.conf",
102 src: "foo.conf",
107 src: "bar.conf",
133 src: "foo.conf",
138 src: "bar.conf",
165 src: "bar.conf",
/build/soong/ui/build/
Dutil_test.go62 src := filepath.Join(tmpDir, "src.txt")
63 if err := ioutil.WriteFile(src, data, 0755); err != nil {
64 t.Fatalf("failed to create a src file %q for copying: %v", src, err)
69 l, err := copyFile(src, dst)
102 src string
106 src: "/src/not/exist",
110 src: srcExists,
116 if _, err := copyFile(tt.src, tt.dst); err == nil {
Dutil.go132 func copyFile(src, dst string) (int64, error) { argument
133 source, err := os.Open(src)
149 func gzipFileToDir(src, destDir string) error { argument
150 in, err := os.Open(src)
152 return fmt.Errorf("failed to open %s: %s", src, err.Error())
156 dest := filepath.Join(destDir, filepath.Base(src)+".gz")
Dupload.go102 for i, src := range metricsFiles {
103 dst := filepath.Join(tmpDir, filepath.Base(src))
104 if _, err := copyFile(src, dst); err != nil {
105 ctx.Fatalf("failed to copy %q to %q: %v\n", src, dst, err)
/build/make/tools/zipalign/tests/src/
Dalign_test.cpp27 const std::string src = GetTestPath("unaligned.zip"); in TEST() local
30 int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096); in TEST()
38 const std::string src = GetTestPath("unaligned.zip"); in TEST() local
42 int processed = process(src.c_str(), tmp.c_str(), 4, true, false, 4096); in TEST()
69 const std::string src = GetTestPath("holes.zip"); in TEST() local
72 int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096); in TEST()
81 const std::string src = GetTestPath("diffOrders.zip"); in TEST() local
84 int processed = process(src.c_str(), dst.c_str(), 4, true, false, 4096); in TEST()
/build/make/tools/acp/
Dacp.c115 char* src; in process() local
122 src = malloc(srcLen+1); in process()
123 memcpy(src, argv[i], srcLen+1); in process()
125 if (src[srcLen-1] == FSSEP) in process()
126 src[--srcLen] = '\0'; in process()
129 srcName = strrchr(src, FSSEP); in process()
131 srcName = src; in process()
153 copyResult = copyFile(src, dst, options); in process()
158 free(src); in process()
/build/soong/scripts/
Dgen-kotlin-build-file.py75 for src in NinjaRspFileReader(rsp_file):
76 path = os.path.abspath(src)
77 if src.endswith('.java'):
79 elif src.endswith('.kt'):
85 for src in NinjaRspFileReader(rsp_file):
86 path = os.path.abspath(src)
/build/bazel/rules/cc/
Dversioned_cc_common.bzl23 if len(ctx.files.src) != 1:
33 target_file = ctx.files.src[0],
38 inputs = ctx.files.src + [ctx.version_file],
45 input = ctx.files.src[0].path,
74 ctx.attr.src[CcInfo],
75 ctx.attr.src[InstrumentedFilesInfo],
76 ctx.attr.src[DebugPackageInfo],
77 ctx.attr.src[OutputGroupInfo],
93 src = attr.label(mandatory = True, allow_single_file = True, providers = [CcInfo]),
102 ctx.attr.src[CcSharedLibraryInfo],
[all …]
Dstripped_cc_common.bzl54 target_file = ctx.files.src[0],
65 inputs = ctx.files.src,
79 ctx.files.src[0].path,
147 ctx.attr.src[CcSharedLibraryInfo],
154 src = attr.label(
170 ctx.attr.src[CcInfo],
171 ctx.attr.src[InstrumentedFilesInfo],
172 ctx.attr.src[DebugPackageInfo],
173 ctx.attr.src[OutputGroupInfo],
190 src = attr.label(mandatory = True, allow_single_file = True, providers = [CcInfo]),
/build/soong/zip/
Dzip.go66 dest, src string member
345 for _, src := range srcs {
346 err := fillPathPairs(fa, src, &pathMappings, args.NonDeflatedFiles, noCompression)
398 func fillPathPairs(fa FileArg, src string, pathMappings *[]pathMapping,
404 dest = filepath.Base(src)
407 dest, err = filepath.Rel(fa.SourcePrefixToStrip, src)
413 Path: src,
425 pathMapping{dest: dest, src: src, zipMethod: zipMethod})
479 err = z.addManifest(ele.dest, ele.src, ele.zipMethod)
481 err = z.addFile(ele.dest, ele.src, ele.zipMethod, emulateJar, srcJar)
[all …]
/build/soong/cc/
Dcompdb.go129 func getArguments(src android.Path, ctx android.SingletonContext, ccModule *Module, ccPath string, …
135 switch src.Ext() {
149 log.Print("Unknown file extension " + src.Ext() + " on file " + src.String())
167 args = append(args, src.String())
184 for _, src := range srcs {
185 if _, ok := builds[src.String()]; !ok {
186 builds[src.String()] = compDbEntry{
188 Arguments: getArguments(src, ctx, ccModule, ccPath, cxxPath),
189 File: src.String(),
/build/bazel_common_rules/dist/
Ddist.py60 for src in files:
61 src_relpath = os.path.basename(src) if flat else src
63 src_abspath = os.path.abspath(src)
66 if os.path.isfile(src):
73 elif os.path.isdir(src):
/build/bazel_common_rules/docs/
Ddocs.bzl69 for src in srcs:
71 name = name + "-" + src,
72 out = name + "/" + src,
73 input = src,
79 all_markdown_files.append((name + "/" + src, src))
87 for target, src in all_markdown_files:
88 if default == src:
89 …default_file_cmd += """echo '<div hidden><a href="#{src}" id="default_file">{src}</a></div>' >> $@…
90 src = src,
/build/bazel/rules/
Dprebuilt_file.bzl20 "src": "Source file of this prebuilt",
29 srcs = ctx.files.src
31 …fail("src for", ctx.label.name, "is expected to be singular, but is of len", len(srcs), ":\n", src…
45 src = srcs[0],
58 "src": attr.label(
72 src,
84 src = src,
/build/soong/android/
Dpaths_test.go979 src string
985 src: "a/b/c",
990 src: "/a/b/c",
996 src: "out/soong/a/b/c",
1015 _, err := f.f(ctx, test.src)
1047 src string member
1072 for _, src := range srcs {
1073 p.rels = append(p.rels, src.Rel())
1077 src := PathForModuleSrc(ctx, *p.props.Src)
1078 if src != nil {
[all …]
/build/soong/rust/
Dvendor_snapshot_test.go625 src: "crtend_so.o",
628 src: "crtend_so.o",
642 src: "crtbegin_so.o",
645 src: "crtbegin_so.o",
658 src: "libstd.rlib",
661 src: "libstd.rlib",
673 src: "librust_vendor_available.rlib",
676 src: "librust_vendor_available.rlib",
690 src: "crtend_so.o",
693 src: "crtend_so.o",
[all …]
/build/make/tools/fs_config/
DAndroid.bp82 src: ":passwd_gen_system",
100 src: ":passwd_gen_vendor",
118 src: ":passwd_gen_odm",
136 src: ":passwd_gen_product",
154 src: ":passwd_gen_system_ext",
174 src: ":group_gen_system",
192 src: ":group_gen_vendor",
210 src: ":group_gen_odm",
228 src: ":group_gen_product",
246 src: ":group_gen_system_ext",
/build/make/core/
Ddistdir.mk40 $(eval src := $(call word-colon,1,$(file))) \
42 $(if $(dst),,$(eval dst := $$(notdir $$(src)))) \
43 $(eval _all_dist_src_dst_pairs += $$(src):$$(dst)) \
/build/blueprint/bootstrap/bpdoc/
Dproperties_test.go103 src []Property
109 src: []Property{},
115 src: []Property{*createProperty("a", "string", ""), *createProperty("b", "string", "")},
121 src: []Property{*createProperty("a", "string", ""), *createProperty("b", "string", "")},
127 src: []Property{*createProperty("a", "string", ""), *createProperty("b", "string", "")},
136 actual := nestUnique(testCase.src, testCase.target)

1234567