Home
last modified time | relevance | path

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

12

/build/make/tools/atree/
Dfiles.h21 string listFile;
24 string sourceBase;
25 string sourceName;
26 string sourcePath;
32 string outName;
33 string outPath;
40 int read_list_file(const string& filename,
41 const map<string, string>& variables,
43 vector<string>* excludes);
44 int locate(FileRecord* rec, const vector<string>& search);
[all …]
Dfiles.cpp22 static string
23 path_append(const string& base, const string& leaf) in path_append()
25 string full = base; in path_append()
62 split_line(const char* p, vector<string>* out) in split_line()
94 out->push_back(string(start, len)); in split_line()
109 out->push_back(string(start, len)); in split_line()
115 const string& listFile, int listLine, in add_file()
116 const string& sourceName, const string& outName) in add_file()
127 static string
128 replace_variables(const string& input, in replace_variables()
[all …]
Datree.cpp16 vector<string> g_listFiles;
17 vector<string> g_inputBases;
18 map<string, string> g_variables;
19 string g_outputBase;
20 string g_dependency;
75 var << "${" << string(arg, p-arg) << "}"; in add_variable()
76 g_variables[var.str()] = string(p+1); in add_variable()
94 static string
95 escape_filename(const string& name) in escape_filename()
98 for (string::const_iterator iter = name.begin(); iter != name.end(); ++iter) in escape_filename()
[all …]
Dfs.h8 int remove_recursively(const string& path);
9 int mkdir_recursively(const string& path);
10 int copy_file(const string& src, const string& dst);
11 int strip_file(const string& path);
Dfs.cpp21 is_dir(const string& path) in is_dir()
30 remove_file(const string& path) in remove_file()
42 remove_recursively(const string& path) in remove_recursively()
54 vector<string> files; in remove_recursively()
55 vector<string> dirs; in remove_recursively()
63 string full = path; in remove_recursively()
75 for (vector<string>::iterator it=files.begin(); it!=files.end(); it++) { in remove_recursively()
82 for (vector<string>::iterator it=dirs.begin(); it!=dirs.end(); it++) { in remove_recursively()
102 mkdir_recursively(const string& path) in mkdir_recursively()
112 string p = path.substr(0, pos); in mkdir_recursively()
[all …]
Doptions.h9 extern vector<string> g_listFiles;
10 extern vector<string> g_inputBases;
11 extern string g_outputBase;
/build/make/tools/zipalign/tests/src/
Dalign_test.cpp13 static std::string GetTestPath(const std::string& filename) { in GetTestPath()
14 static std::string test_data_dir = android::base::GetExecutableDirectory() + "/tests/data/"; in GetTestPath()
19 const std::string src = GetTestPath("unaligned.zip"); in TEST()
20 const std::string dst = GetTestPath("unaligned_out.zip"); in TEST()
33 const std::string src = GetTestPath("holes.zip"); in TEST()
34 const std::string dst = GetTestPath("holes_out.zip"); in TEST()
45 const std::string src = GetTestPath("diffOrders.zip"); in TEST()
46 const std::string dst = GetTestPath("diffOrders_out.zip"); in TEST()
/build/soong/cc/libbuildversion/
Dlibbuildversion.cpp34 std::string GetBuildNumber() { in GetBuildNumber()
42 std::string property_value; in GetBuildNumber()
45 auto property_value = reinterpret_cast<std::string*>(cookie); in GetBuildNumber()
55 std::string GetBuildNumber() { in GetBuildNumber()
/build/soong/ui/status/build_error_proto/
Dbuild_error.proto23 repeated string error_messages = 1;
33 optional string description = 1;
36 optional string command = 2;
39 optional string output = 3;
42 repeated string artifacts = 4;
44 // The error string produced by the build action.
45 optional string error = 5;
/build/make/tools/releasetools/
Dota_metadata.proto31 string partition_name = 1;
32 repeated string device = 2;
33 repeated string build = 3;
34 // The version string of the partition. It's usually timestamp if present.
37 string version = 4;
50 repeated string device = 1;
53 repeated string build = 2;
55 string build_incremental = 3;
59 string sdk_level = 5;
61 string security_patch_level = 6;
[all …]
/build/soong/ui/metrics/metrics_proto/
Dmetrics.proto25 optional string build_id = 2;
28 optional string platform_version_codename = 3;
31 optional string target_product = 4;
52 optional string target_arch_variant = 7;
55 optional string target_cpu_variant = 8;
64 optional string host_os = 11;
67 optional string host_os_extra = 12;
70 optional string host_cross_os = 13;
73 optional string host_cross_arch = 14;
76 optional string host_cross_2nd_arch = 15;
[all …]
/build/soong/ui/metrics/upload_proto/
Dupload.proto28 optional string branch_name = 3;
31 optional string target_name = 4;
34 repeated string metrics_files = 5;
38 repeated string directories_to_delete = 6;
/build/soong/cmd/sbox/sbox_proto/
Dsbox.proto27 optional string output_depfile = 2;
41 required string command = 3;
49 optional string input_hash = 5;
60 required string from = 1;
61 required string to = 2;
70 required string file = 1;
78 required string from = 1;
79 required string to = 2;
/build/bazel/examples/android_app/java/com/app/
Djni.cc24 std::string hello = "Hello"; in Java_app_Jni_hello()
25 std::string jni = "JNI"; in Java_app_Jni_hello()
/build/bazel/product_variables/
Dproduct_variables.bzl20 "platform_version_name": attr.string(default="S"),
22 "platform_sdk_codename": attr.string(default="S"),
25 "platform_vndk_version": attr.string(default="S"),
/build/soong/ui/status/ninja_frontend/
Dfrontend.proto44 repeated string inputs = 3;
46 repeated string outputs = 4;
48 optional string desc = 5;
50 optional string command = 6;
63 optional string output = 4;
94 optional string message = 2;
/build/soong/cmd/extract_apks/bundle_proto/
Dcommands.proto18 string package_name = 4;
62 string name = 1;
72 repeated string dependencies = 4;
93 string name = 1;
130 string path = 2;
150 string split_id = 1;
159 repeated string fused_module_name = 1;
167 repeated string fused_module_name = 1;
196 string local_testing_path = 2;
Dconfig.proto34 string version = 2;
42 repeated string uncompressed_glob = 1;
50 repeated string resource_names = 2;
130 string default_suffix = 2;
142 string package_name = 1;
145 string path = 2;
151 string path = 1;
161 string asset_version_tag = 2;
/build/soong/linkerconfig/proto/
Dlinker_config.proto27 repeated string permittedPaths = 1;
33 repeated string provideLibs = 3;
36 repeated string requireLibs = 4;
/build/bazel/bazel_skylib/rules/
Dcommon_settings.bzl61 doc = "A string list-typed build setting that can be set on the command line",
67 doc = "A string list-typed build setting that cannot be set on the command line",
80 build_setting = config.string(flag = True),
86 doc = "A string-typed build setting that can be set on the command line",
91 build_setting = config.string(),
97 doc = "A string-typed build setting that cannot be set on the command line",
/build/make/tools/
Dcompare_fileslist.py18 import cgi, os, string, sys
39 lines = map(string.split, lines)
/build/soong/cc/libbuildversion/tests/
Dbuild_version_test_lib.cpp21 std::string LibGetBuildNumber() { in LibGetBuildNumber()
Dbuild_version_test_lib.h22 std::string __attribute__((visibility("default"))) LibGetBuildNumber();
/build/make/tools/warn/
D.pylintrc4 indent-string=' '
/build/soong/cc/libbuildversion/include/build/
Dversion.h25 std::string GetBuildNumber();

12