| /system/update_engine/update_manager/ |
| fake_updater_provider.h | 20 #include <string> 48 FakeVariable<std::string>* var_new_version() override { 56 FakeVariable<std::string>* var_curr_channel() override { 60 FakeVariable<std::string>* var_new_channel() override { 95 FakeVariable<std::string> var_new_version_{"new_version", kVariableModePoll}; 97 FakeVariable<std::string> var_curr_channel_{"curr_channel", 99 FakeVariable<std::string> var_new_channel_{"new_channel", kVariableModePoll};
|
| /system/vold/fs/ |
| F2fs.cpp | 26 #include <string> 45 status_t Check(const std::string& source) { 46 std::vector<std::string> cmd; 55 status_t Mount(const std::string& source, const std::string& target) { 74 status_t Format(const std::string& source) { 75 std::vector<std::string> cmd;
|
| /build/kati/ |
| find.cc | 50 virtual bool IsTrue(const string& path, unsigned char type) const = 0; 62 explicit NameCond(const string& n) : name_(n) { 63 has_wildcard_ = (n.find_first_of("?*[") != string::npos); 65 virtual bool IsTrue(const string& path, unsigned char) const override { 72 string name_; 79 virtual bool IsTrue(const string&, unsigned char type) const override { 92 virtual bool IsTrue(const string& path, unsigned char type) const override { 105 virtual bool IsTrue(const string& path, unsigned char type) const override { 120 virtual bool IsTrue(const string& path, unsigned char type) const override { 145 string* path [all...] |
| /external/boringssl/src/crypto/test/ |
| file_test.cc | 26 #include <string.h> 34 std::function<void(const std::string &)> comment_callback, 54 // StripSpace returns a string containing up to |len| characters from |str| with 56 static std::string StripSpace(const char *str, size_t len) { 65 return std::string(str, len); 68 static std::pair<std::string, std::string> ParseKeyValue(const char *str, const size_t len) { 70 std::string key, value; 83 for (const std::string &key : unused_attributes_) { 89 for (const std::string &key : unused_instructions_) [all...] |
| /external/deqp/modules/gles3/functional/ |
| es3fShaderMetamorphicTests.cpp | 65 ShaderMetamorphicVariant (Context& context, const char* name, const std::string& vertexFilename, const std::string& recipientFilename, const std::string& variantFilename, SanityCheckFunc sanityCheck); 70 const std::string m_vertexFilename; 71 const std::string m_recipientFilename; 72 const std::string m_variantFilename; 75 std::string fileContents (const std::string& filename); 76 void render (const tcu::PixelBufferAccess& img, const std::string& vertexSrc, const std::string& fragmentSrc) [all...] |
| /external/llvm/tools/bugpoint/ |
| ExecutionDriver.cpp | 71 cl::opt<std::string> 81 cl::opt<std::string> 85 cl::list<std::string> 90 cl::list<std::string> 94 cl::opt<std::string> 99 cl::opt<std::string> 108 cl::list<std::string> 112 cl::opt<std::string> 118 cl::list<std::string> 122 cl::list<std::string> [all...] |
| /external/tensorflow/tensorflow/core/platform/ |
| env_test.cc | 34 string CreateTestFile(Env* env, const string& filename, int length) { 35 string input(length, 0); 54 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } 70 const string filename = io::JoinPath(BaseDir(), "out_of_range"); 71 const string input = CreateTestFile(env_, filename, 2); 89 const string filename = strings::StrCat(BaseDir(), "/bar/..//file", length); 92 const string input = CreateTestFile(env_, filename, length); 95 string output; 110 const string filename = strings::StrCat(BaseDir(), "binary_proto") [all...] |
| /prebuilts/go/darwin-x86/src/testing/ |
| match.go | 17 filter []string 18 matchFunc func(pat, str string) (bool, error) 21 subNames map[string]int64 28 func newMatcher(matchString func(pat, str string) (bool, error), patterns, name string) *matcher { 29 var filter []string 46 subNames: map[string]int64{}, 50 func (m *matcher) fullName(c *common, subname string) (name string, ok, partial bool) { 77 func splitRegexp(s string) []string [all...] |
| /prebuilts/go/linux-x86/src/testing/ |
| match.go | 17 filter []string 18 matchFunc func(pat, str string) (bool, error) 21 subNames map[string]int64 28 func newMatcher(matchString func(pat, str string) (bool, error), patterns, name string) *matcher { 29 var filter []string 46 subNames: map[string]int64{}, 50 func (m *matcher) fullName(c *common, subname string) (name string, ok, partial bool) { 77 func splitRegexp(s string) []string [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
| vktShaderRenderLoopTests.cpp | 260 const std::string& name, 261 const std::string& description, 265 const std::string& vertexShaderSource, 266 const std::string& fragmentShaderSource) 300 const std::string& caseName, 301 const std::string& description, 411 std::string iterMaxStr; 420 iterMaxStr = std::string(getIntUniformName(numLoopIters)) + "*one"; 437 std::string initValue = isIntCounter ? "0" : "0.05"; 438 std::string loopCountDeclStr = "${COUNTER_PRECISION} ${LOOP_VAR_TYPE} ndx = " + initValue [all...] |
| /external/protobuf/src/google/protobuf/ |
| api.pb.h | 7 #include <string> 104 // optional string name = 1; 107 const ::std::string& name() const; 108 void set_name(const ::std::string& value); 111 ::std::string* mutable_name(); 112 ::std::string* release_name(); 113 void set_allocated_name(::std::string* name); 139 // optional string version = 4; 142 const ::std::string& version() const; 143 void set_version(const ::std::string& value) [all...] |
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
| api.pb.h | 7 #include <string> 104 // optional string name = 1; 107 const ::std::string& name() const; 108 void set_name(const ::std::string& value); 111 ::std::string* mutable_name(); 112 ::std::string* release_name(); 113 void set_allocated_name(::std::string* name); 139 // optional string version = 4; 142 const ::std::string& version() const; 143 void set_version(const ::std::string& value) [all...] |
| /system/core/bootstat/ |
| bootstat.cpp | 32 #include <string> 64 // and is a proper string representation of an integer value, the converted 66 void RecordBootEventFromCommandLine(const std::string& event, const std::string& value_str) { 103 // Constructs a readable, printable string from the givencommand line 105 std::string GetCommandLine(int argc, char** argv) { 106 std::string cmd; 116 // std::string. 117 std::string GetProperty(const char* key) { 123 return std::string(&temp[0], len) [all...] |
| /build/soong/bpfix/bpfix/ |
| bpfix_test.go | 31 func printListOfStrings(items []string) (text string) { 39 func buildTree(local_include_dirs []string, export_include_dirs []string) (file *parser.File, errs []error) { 55 func implFilterListTest(t *testing.T, local_include_dirs []string, export_include_dirs []string, expectedResult []string) { 99 actualValues := make([]string, 0) 101 str := expr.(*parser.String) 112 implFilterListTest(t, []string{"include"}, []string{"include"}, []string{} [all...] |
| /external/cn-cbor/cmake/ |
| CoverallsGenerateGcov.cmake | 66 string(REGEX REPLACE "\\*" ";" COVERAGE_SRCS ${COVERAGE_SRCS}) 130 string(REGEX REPLACE "\\.gcov$" "" SRC_FILENAME_TMP ${_GCOV_FILENAME_WEXT}) 131 string(REGEX REPLACE "\#" "/" SRC_FILENAME_TMP ${SRC_FILENAME_TMP}) 273 string(REPLACE "[" "_" GCOV_CONTENTS "${GCOV_CONTENTS}") 274 string(REPLACE "]" "_" GCOV_CONTENTS "${GCOV_CONTENTS}") 275 string(REPLACE "\\" "_" GCOV_CONTENTS "${GCOV_CONTENTS}") 287 string(REPLACE "\\" "\\\\" GCOV_FILE_SOURCE "${GCOV_FILE_SOURCE}") 288 string(REGEX REPLACE "\"" "\\\\\"" GCOV_FILE_SOURCE "${GCOV_FILE_SOURCE}") 289 string(REPLACE "\t" "\\\\t" GCOV_FILE_SOURCE "${GCOV_FILE_SOURCE}") 290 string(REPLACE "\r" "\\\\r" GCOV_FILE_SOURCE "${GCOV_FILE_SOURCE}" [all...] |
| /external/tensorflow/tensorflow/c/ |
| c_api_function.cc | 49 string GetInputName(const string& name); 52 string GetOutputName(const string& name); 55 string Uniquify(const string& name); 59 Status UseOutputName(const string& name); 63 string Lookup(const string& name) const; 66 string UniquifyHelper(const string& name) const [all...] |
| /build/soong/cc/config/ |
| arm64_device.go | 25 arm64Cflags = []string{ 30 arm64ArchVariantCflags = map[string][]string{ 31 "armv8-a": []string{ 34 "armv8-2a": []string{ 39 arm64Ldflags = []string{ 46 arm64Cppflags = []string{} 48 arm64CpuVariantCflags = map[string][]string{ 49 "cortex-a53": []string{ [all...] |
| /development/vndk/tools/header-checker/header-abi-util/include/ |
| abi_diff_helpers.h | 47 std::string Unwind(const std::deque<std::string> *type_queue); 54 std::set<std::string> *type_cache, 62 const std::string &old_type_str, const std::string &new_type_str, 63 std::deque<std::string> *type_queue = nullptr, 69 std::deque<std::string> *type_queue = nullptr, 75 std::deque<std::string> *type_queue, 80 std::deque<std::string> *type_queue, 85 std::deque<std::string> *type_queue [all...] |
| /external/ImageMagick/Magick++/lib/Magick++/ |
| Image.h | 13 #include <string> 72 const std::string &magick_); 75 Image(const Blob &blob_,const Geometry &size_,const std::string &magick_); 88 Image(const size_t width_,const size_t height_,const std::string &map_, 92 Image(const std::string &imageSpec_); 130 void backgroundTexture(const std::string &backgroundTexture_); 131 std::string backgroundTexture(void) const; 137 std::string baseFilename(void) const; 193 // Comment image (add comment string to image) 194 void comment(const std::string &comment_) [all...] |
| /external/libchrome/base/process/ |
| internal_linux.cc | 11 #include <string> 45 std::string pid_string(d_name); 53 bool ReadProcFile(const FilePath& file, std::string* buffer) { 65 bool ReadProcStats(pid_t pid, std::string* buffer) { 70 bool ParseProcStats(const std::string& stats_data, 71 std::vector<std::string>* proc_stats) { 83 if (open_parens_idx == std::string::npos || 84 close_parens_idx == std::string::npos || 101 std::vector<std::string> other_stats = SplitString( 109 typedef std::map<std::string, std::string> ProcStatMap [all...] |
| /external/llvm/lib/CodeGen/SelectionDAG/ |
| SelectionDAGPrinter.cpp | 47 static std::string getEdgeDestLabel(const void *Node, unsigned i) { 52 static std::string getEdgeSourceLabel(const void *Node, EdgeIter I) { 75 static std::string getGraphName(const SelectionDAG *G) { 83 static std::string getNodeIdentifierLabel(const SDNode *Node, 85 std::string R; 98 static std::string getEdgeAttributes(const void *Node, EdgeIter EI, 110 static std::string getSimpleNodeLabel(const SDNode *Node, 112 std::string Result = Node->getOperationName(G); 119 std::string getNodeLabel(const SDNode *Node, const SelectionDAG *Graph); 120 static std::string getNodeAttributes(const SDNode *N [all...] |
| /external/stressapptest/src/ |
| error_diag.cc | 29 DeviceTree::DeviceTree(string name) 37 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); 53 DeviceTree *DeviceTree::FindInSubTree(string name) { 63 DeviceTree *DeviceTree::UnlockedFindInSubTree(string name) { 64 std::map<string, DeviceTree*>::iterator itr = subdevices_.find(name); 69 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); 88 DeviceTree *DeviceTree::FindOrAddDevice(string name) { 97 void DeviceTree::PrettyPrint(string spacer) { 98 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); 108 void DeviceTree::InsertSubDevice(string name) [all...] |
| /external/tensorflow/tensorflow/core/api_def/ |
| update_api_def.cc | 19 #include <string> 124 // given single doc-string. 125 bool ValidateOpDocs(const OpDef& op, const string& doc) { 132 b.Input(arg.name() + ":string"); 135 b.Output(arg.name() + ":string"); 138 b.Attr(attr.name() + ":string"); 147 string RemoveDoc(const OpDef& op, const string& file_contents, 151 const string format_error = strings::Printf( 155 if (doc_start_location == string::npos) [all...] |
| /external/tensorflow/tensorflow/core/grappler/costs/ |
| virtual_scheduler.h | 50 string device_name; 110 std::map<string, Costs> op_to_cost; // Per-op cost. 111 std::map<string, int64> op_to_memory; // Per-op memory usage at peak usage. 236 std::unordered_map<string, LIFOManager> ops_lifo_map_; 273 const string& ready_node_manager); 276 const std::unordered_map<string, int64> GetPeakMemoryUsage() const; 279 const std::unordered_map<string, DeviceState>* GetDeviceStates() const { 294 const string kAttrInputSrc = "input_source_"; 295 const string kAttrSrcDevice = "src_device_"; 296 const string kAttrDstDevice = "dst_device_" [all...] |
| /external/tensorflow/tensorflow/python/framework/ |
| python_op_gen.cc | 48 bool IsPythonReserved(const string& s) { 49 static const std::set<string>* const kPythonReserved = new std::set<string>( 78 string AvoidPythonReserved(const string& s) { 85 string Indent(int initial, int rest, StringPiece in) { 87 string copy(in.data(), in.size()); 89 std::vector<string> v = str_util::Split(copy, '\n'); 91 string result; 93 for (const string& line : v) [all...] |