/build/make/tools/libhost/ |
D | CopyFile.c | 50 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/ |
D | extend_test.go | 28 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 …]
|
D | extend.go | 37 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/ |
D | prebuilt_etc_conversion_test.go | 41 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/ |
D | head_tag.cs | 16 <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/ |
D | prebuilt_etc_test.go | 59 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 …]
|
D | snapshot_etc_test.go | 39 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/ |
D | util_test.go | 62 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 {
|
D | util.go | 132 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")
|
D | upload.go | 102 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/ |
D | align_test.cpp | 27 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/ |
D | acp.c | 115 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/ |
D | gen-kotlin-build-file.py | 75 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/ |
D | versioned_cc_common.bzl | 23 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 …]
|
D | stripped_cc_common.bzl | 54 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/ |
D | zip.go | 66 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/ |
D | compdb.go | 129 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/ |
D | dist.py | 60 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/ |
D | docs.bzl | 69 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/ |
D | prebuilt_file.bzl | 20 "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/ |
D | paths_test.go | 979 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/ |
D | vendor_snapshot_test.go | 625 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/ |
D | Android.bp | 82 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/ |
D | distdir.mk | 40 $(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/ |
D | properties_test.go | 103 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)
|