| /build/make/tools/atree/ |
| D | files.h | 21 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 …]
|
| D | files.cpp | 22 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 …]
|
| D | atree.cpp | 16 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 …]
|
| D | fs.h | 8 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);
|
| D | fs.cpp | 21 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 …]
|
| D | options.h | 9 extern vector<string> g_listFiles; 10 extern vector<string> g_inputBases; 11 extern string g_outputBase;
|
| /build/make/tools/zipalign/tests/src/ |
| D | align_test.cpp | 15 static std::string GetTestPath(const std::string& filename) { in GetTestPath() 16 static std::string test_data_dir = android::base::GetExecutableDirectory() + "/tests/data/"; in GetTestPath() 20 static std::string GetTempPath(const std::string& filename) { in GetTempPath() 23 return temp_path.string(); in GetTempPath() 27 const std::string src = GetTestPath("unaligned.zip"); in TEST() 28 const std::string dst = GetTempPath("unaligned_out.zip"); in TEST() 38 const std::string src = GetTestPath("unaligned.zip"); in TEST() 39 const std::string tmp = GetTempPath("da_aligned.zip"); in TEST() 40 const std::string dst = GetTempPath("da_d_aligner.zip"); in TEST() 56 std::string tmp_content; in TEST() [all …]
|
| /build/soong/compliance/license_metadata_proto/ |
| D | license_metadata.proto | 22 optional string package_name = 1; 24 repeated string module_types = 2; 26 repeated string module_classes = 3; 29 repeated string projects = 4; 32 repeated string license_kinds = 5; 35 repeated string license_conditions = 6; 38 repeated string license_texts = 7; 44 repeated string built = 9; 47 repeated string installed = 10; 53 repeated string sources = 12; [all …]
|
| /build/soong/cc/libbuildversion/ |
| D | libbuildversion.cpp | 34 std::string GetBuildNumber() { in GetBuildNumber() 46 std::string property_value; in GetBuildNumber() 49 auto property_value = reinterpret_cast<std::string*>(cookie); in GetBuildNumber() 59 std::string GetBuildNumber() { in GetBuildNumber()
|
| /build/soong/ui/status/build_error_proto/ |
| D | build_error.proto | 23 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/ |
| D | ota_metadata.proto | 31 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/ |
| D | metrics.proto | 25 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/linkerconfig/proto/ |
| D | linker_config.proto | 27 repeated string permittedPaths = 1; 33 repeated string provideLibs = 3; 36 repeated string requireLibs = 4; 40 string namespace = 1; 45 repeated string paths = 2;
|
| /build/soong/provenance/provenance_metadata_proto/ |
| D | provenance_metadata.proto | 26 string module_name = 1; 30 string artifact_path = 2; 33 string artifact_sha256 = 3; 37 string artifact_install_path = 4; 42 string attestation_path = 5;
|
| /build/soong/ui/metrics/bp2build_metrics_proto/ |
| D | bp2build_metrics.proto | 31 map<string, uint64> ruleClassCount = 4; 34 repeated string convertedModules = 5; 37 map<string, uint64> convertedModuleTypeCount = 6; 40 map<string, uint64> totalModuleTypeCount = 7; 50 string name = 1;
|
| /build/soong/ui/metrics/upload_proto/ |
| D | upload.proto | 28 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/bazel/examples/android_app/java/com/app/ |
| D | jni.cc | 24 std::string hello = "Hello"; in Java_com_app_Jni_hello() 25 std::string jni = "JNI"; in Java_com_app_Jni_hello()
|
| /build/soong/cmd/sbox/sbox_proto/ |
| D | sbox.proto | 27 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/soong/ui/status/ninja_frontend/ |
| D | frontend.proto | 44 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/ |
| D | commands.proto | 18 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;
|
| D | config.proto | 34 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/bazel/platforms/product_variables/ |
| D | product_platform.bzl | 11 # Provides product variables for templated string replacement. 29 elif typ == "string": 46 # Generate constraints for Soong config variables (bool, value, string typed). 50 # All vendor vars are Starlark string-typed, even though they may be 72 # The string value is part of the the select key. 78 add_providing_var(providing_vars, "string", constraint_var, value)
|
| /build/make/tools/ |
| D | compare_fileslist.py | 18 import cgi, os, string, sys 39 lines = map(string.split, lines)
|
| /build/soong/cc/libbuildversion/tests/ |
| D | build_version_test_lib.cpp | 21 std::string LibGetBuildNumber() { in LibGetBuildNumber()
|
| D | build_version_test_lib.h | 22 std::string __attribute__((visibility("default"))) LibGetBuildNumber();
|