| /system/update_engine/client_library/include/update_engine/ |
| update_status.h | 20 #include <string> 59 std::string current_version; 61 std::string current_system_version; 67 std::string new_version; 69 std::string new_system_version;
|
| /system/update_engine/common/ |
| boot_control_interface.h | 21 #include <string> 56 virtual bool GetPartitionDevice(const std::string& partition_name, 58 std::string* device) const = 0; 81 static std::string SlotName(Slot slot) { 85 return std::string(1, 'A' + slot);
|
| /system/update_engine/payload_generator/ |
| mapfile_filesystem.h | 30 #include <string> 38 const std::string& filename, const std::string& mapfile_filename); 52 MapfileFilesystem(const std::string& mapfile_filename, off_t num_blocks); 55 std::string mapfile_filename_;
|
| /external/tensorflow/tensorflow/tools/graph_transforms/ |
| transform_utils.h | 36 std::map<string, const NodeDef*>* result); 41 std::map<string, std::vector<const NodeDef*>>* result); 48 // This function takes a raw string, and breaks it into those component parts. 51 void NodeNamePartsFromInput(const string& input_name, string* prefix, 52 string* node_name, string* suffix); 55 string CanonicalInputName(const string& input_name); 58 // a string pulled from a NodeDef input, and return the plain node name [all...] |
| /system/tpm/trunks/ |
| tpm_generated.h | 22 #include <string> [all...] |
| /external/tensorflow/tensorflow/core/platform/ |
| file_system_test.cc | 34 Status FileExists(const string& fname) override { 35 string parsed_path; 44 Status CreateDir(const string& dirname) override { 45 string parsed_path; 52 std::vector<string> split_path = str_util::Split(parsed_path, '/'); 63 std::pair<string, std::set<string>>(parsed_path, {})); 73 std::pair<string, std::set<string>>(parsed_path, {})); 77 const string& parent_path = io::JoinPath(split_path[0], split_path[1]) [all...] |
| /art/dexdump/ |
| dexdump_test.cc | 18 #include <string> 41 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 43 std::string file_path = GetTestAndroidRoot() + "/bin/dexdump2"; 45 std::vector<std::string> exec_argv = { file_path }; 50 std::string dex_file_; 55 std::string error_msg; 60 std::string error_msg; 65 std::string error_msg; 70 std::string error_msg [all...] |
| /art/dexlist/ |
| dexlist_test.cc | 18 #include <string> 43 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 44 std::string file_path = GetTestAndroidRoot(); 47 std::vector<std::string> exec_argv = { file_path }; 52 std::string dex_file_; 57 std::string error_msg; 62 std::string error_msg; 67 std::string error_msg; 72 std::string error_msg [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
| AlwaysOnVpnSettingsTestActivity.java | 33 public static final String ACTION_ALWAYS_ON_VPN_SETTINGS_TEST = 37 private static final String CTS_VPN_APP_PACKAGE = "com.android.cts.vpnfirewall"; 38 private static final String CTS_VPN_APP_ACTION = 43 R.string.provisioning_byod_always_on_vpn, 44 R.string.provisioning_byod_always_on_vpn_info, 45 R.string.provisioning_byod_always_on_vpn_instruction); 51 R.string.provisioning_byod_always_on_vpn_api23, 53 R.string.provisioning_byod_always_on_vpn_api23_instruction, 57 R.string.provisioning_byod_always_on_vpn_api24, 59 R.string.provisioning_byod_always_on_vpn_api24_instruction [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
| StringTokenizer.cs | 40 string[] _tokens; 43 public StringTokenizer( string str, string separator ) 47 public StringTokenizer( string str, string separator, bool returnDelims ) 58 return new string[0]; 60 return new string[] { token }; 65 return new string[] { str[0].ToString() }; 67 return new string[] { token }; 71 return new string[] { token, str[_tokens.Take( i + 1 ).Select( t => t.Length + 1 ).Sum() - 1].ToString() } [all...] |
| /external/libbrillo/brillo/ |
| process_information.h | 9 #include <string> 23 std::string GetCommandLine(); 27 void set_cmd_line(std::vector<std::string>* value) { 32 const std::vector<std::string>& get_cmd_line() { return cmd_line_; } 36 void set_open_files(std::set<std::string>* value) { 41 const std::set<std::string>& get_open_files() { return open_files_; } 44 // |value|. The caller should expect an empty string on return. 45 void set_cwd(std::string* value) { 50 const std::string& get_cwd() { return cwd_; } 57 std::vector<std::string> cmd_line_ [all...] |
| /external/libcxx/benchmarks/ |
| string.bench.cpp | 12 std::string s1(state.range(0), '-'); 13 std::string s2(8, '*'); 19 // Benchmark when the string matches first time. 21 std::string s1(MAX_STRING_LEN, '-'); 22 std::string s2(state.range(0), '-'); 28 // Benchmark when the string matches somewhere in the end. 30 std::string s1(MAX_STRING_LEN / 2, '*'); 31 s1 += std::string(state.range(0), '-'); 32 std::string s2(state.range(0), '-'); 38 // Benchmark when the string matches somewhere from middle to the end [all...] |
| /external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
| overflow.pass.cpp | 25 assert(sb.str() == std::string("1bc")); 27 assert(sb.str() == std::string("12c")); 29 assert(sb.str() == std::string("123")); 31 assert(sb.str() == std::string("1234")); 33 assert(sb.str() == std::string("12345")); 35 assert(sb.str() == std::string("123456")); 37 assert(sb.str() == std::string("1234567")); 39 assert(sb.str() == std::string("12345678")); 41 assert(sb.str() == std::string("123456789")); 43 assert(sb.str() == std::string("1234567890")) [all...] |
| /external/parameter-framework/upstream/parameter/ |
| MappingData.cpp | 35 bool CMappingData::init(const std::string &rawMapping, std::string &error) 39 std::string strMappingElement; 43 std::string::size_type iFistDelimiterOccurrence = strMappingElement.find_first_of(':'); 45 std::string strKey, strValue; 47 if (iFistDelimiterOccurrence == std::string::npos) { 74 bool CMappingData::getValue(const std::string &strkey, const std::string *&pStrValue) const 87 std::string CMappingData::asString() const 92 bool CMappingData::addValue(const std::string &strkey, const std::string &strValue [all...] |
| /external/perfetto/include/perfetto/tracing/core/ |
| ftrace_config.h | 32 #include <string> 63 const std::vector<std::string>& ftrace_events() const { 66 std::string* add_ftrace_events() { 74 const std::vector<std::string>& atrace_categories() const { 77 std::string* add_atrace_categories() { 83 const std::vector<std::string>& atrace_apps() const { return atrace_apps_; } 84 std::string* add_atrace_apps() { 96 std::vector<std::string> ftrace_events_; 97 std::vector<std::string> atrace_categories_; 98 std::vector<std::string> atrace_apps_ [all...] |
| /external/protobuf/src/google/protobuf/compiler/ |
| code_generator.cc | 49 GeneratorContext::OpenForAppend(const string& filename) { 54 const string& filename, const string& insertion_point) { 65 void ParseGeneratorParameter(const string& text, 66 vector<pair<string, string> >* output) { 67 vector<string> parts = Split(text, ",", true); 70 string::size_type equals_pos = parts[i].find_first_of('='); 71 pair<string, string> value [all...] |
| /external/swiftshader/third_party/LLVM/tools/lto/ |
| LTOCodeGenerator.h | 24 #include <string> 37 bool addModule(struct LTOModule*, std::string& errMsg); 38 bool setDebugInfo(lto_debug_model, std::string& errMsg); 39 bool setCodePICModel(lto_codegen_model, std::string& errMsg); 43 std::string& errMsg); 44 bool compile_to_file(const char** name, std::string& errMsg); 45 const void* compile(size_t* length, std::string& errMsg); 49 std::string& errMsg); 55 bool determineTarget(std::string& errMsg); 69 std::string _mCpu [all...] |
| /external/tensorflow/tensorflow/core/distributed_runtime/ |
| cluster_function_library_runtime.h | 35 Status Instantiate(const string& function_name, 49 std::vector<string>* send_keys, std::vector<string>* recv_keys); 56 const string graph_handle; 57 const string target; 59 const std::vector<string> send_keys; 60 const std::vector<string> recv_keys; 62 FunctionData(const string& graph_handle, const string& target, 63 WorkerInterface* wi, const std::vector<string>& send_keys [all...] |
| /external/tensorflow/tensorflow/core/grappler/ |
| grappler_item.h | 20 #include <string> 41 string id; // A unique id for this item 45 std::vector<std::pair<string, Tensor>> feed; 46 std::vector<string> fetch; 49 std::vector<string> init_ops; 54 string save_op; 55 string restore_op; 56 string save_restore_loc_tensor; 70 std::unordered_set<string> NodesToPreserve() const; 75 const GraphDef& graph, const std::vector<string>& terminal_nodes) [all...] |
| /external/tensorflow/tensorflow/core/grappler/optimizers/ |
| auto_parallel.h | 34 string name() const override { return "autoparallel"; }; 44 std::map<string, NodeDef*> all_nodes_; 45 std::set<string> apply_gradients_nodes_; 46 std::set<string> replica_nodes_; 47 std::set<string> shared_nodes_; 53 NodeDef* AddNodeDiv(const string& name, const string& input_a, 54 const string& input_b); 55 NodeDef* AddNodeControl(const string& name, const std::set<string>& deps [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| remote_fused_graph_execute_op_test_utils.h | 32 static Status BuildAddGraph(const string& name0, const float val0, 33 const string& name1, const float val1, 34 const string& name_out, GraphDef* graph_def); 65 TestRemoteFusedGraphExecutor(const std::unordered_set<string>& fused_op_types, 66 const string& executor_name); 74 bool FillInputNode(const string&, const Tensor&) final; 75 bool ReadOutputNode(const string&, TensorAllocatorFunc) final; 77 const std::vector<string>& inputs, 78 const std::vector<string>& outputs, 83 const std::unordered_set<string> fused_op_types_ [all...] |
| /external/tensorflow/tensorflow/java/src/gen/cc/ |
| op_generator.cc | 16 #include <string> 26 string CamelCase(const string& str, char delimiter, bool upper) { 27 string result; 29 for (string::const_iterator it = str.begin(); it != str.end(); ++it) { 49 Status OpGenerator::Run(const OpList& ops, const string& lib_name, 50 const string& base_package, const string& output_dir) { 51 const string package = 53 const string package_path [all...] |
| /frameworks/base/core/proto/android/content/ |
| package_item_info.proto | 28 optional string name = 1; 29 optional string package_name = 2; 31 optional string non_localized_label = 4; 41 optional string permission = 2; 42 optional string process_name = 3; 47 optional string source_dir = 8; 48 optional string public_source_dir = 9; 49 repeated string split_source_dirs = 10; 50 repeated string split_public_source_dirs = 11; 51 repeated string resource_dirs = 12 [all...] |
| /packages/apps/Contacts/src/com/android/contacts/util/ |
| ContactDisplayUtils.java | 42 private static final String TAG = ContactDisplayUtils.class.getSimpleName(); 66 * @return An appropriate string label 94 * @return An appropriate string label. 97 if (type == null) return R.string.call_other; 100 return R.string.call_home; 102 return R.string.call_mobile; 104 return R.string.call_work; 106 return R.string.call_fax_work; 108 return R.string.call_fax_home; 110 return R.string.call_pager [all...] |
| /packages/apps/Dialer/java/com/android/contacts/common/util/ |
| ContactDisplayUtils.java | 60 * @return An appropriate string label 91 * @return An appropriate string label. 95 return R.string.call_other; 99 return R.string.call_home; 101 return R.string.call_mobile; 103 return R.string.call_work; 105 return R.string.call_fax_work; 107 return R.string.call_fax_home; 109 return R.string.call_pager; 111 return R.string.call_other [all...] |