| /external/tensorflow/tensorflow/core/platform/cloud/ |
| expiring_lru_cache.h | 22 #include <string> 30 /// \brief An LRU cache of string keys and arbitrary values, with configurable 46 void Insert(const string& key, const T& value) { 57 bool Lookup(const string& key, T* value) { 65 typedef std::function<Status(const string&, T*)> ComputeFunc; 70 Status LookupOrCompute(const string& key, T* value, 111 std::list<string>::iterator lru_iterator; 114 bool LookupLocked(const string& key, T* value) EXCLUSIVE_LOCKS_REQUIRED(mu_) { 130 void InsertLocked(const string& key, const T& value) 158 /// The cache (a map from string key to Entry) [all...] |
| /external/tensorflow/tensorflow/core/platform/ |
| tensor_coding.cc | 26 void AssignRefCounted(StringPiece src, core::RefCounted* obj, string* out) { 30 void EncodeStringList(const string* strings, int64 n, string* out) { 40 bool DecodeStringList(const string& src, string* strings, int64 n) { 52 string* data = strings; 65 void CopyFromArray(string* s, const char* base, size_t bytes) { 69 void EncodeResourceHandleList(const ResourceHandle* p, int64 n, string* out) { 71 string rest; 81 bool DecodeResourceHandleList(const string& in, ResourceHandle* ps, int64 n) [all...] |
| /external/tensorflow/tensorflow/tools/graph_transforms/ |
| backports.cc | 36 [](const NodeMatch& match, const std::set<string>& input_nodes, 37 const std::set<string>& output_nodes, 46 const string& dim_input = 68 std::map<string, string> inputs_to_rename; 73 const std::set<string>& input_nodes, 74 const std::set<string>& output_nodes, 112 std::unordered_set<string>(), 119 [](const NodeMatch& match, const std::set<string>& input_nodes, 120 const std::set<string>& output_nodes [all...] |
| /external/webrtc/webrtc/base/ |
| checks.cc | 91 FatalMessage::FatalMessage(const char* file, int line, std::string* result) { 115 template std::string* MakeCheckOpString<int, int>( 117 template std::string* MakeCheckOpString<unsigned long, unsigned long>( 119 template std::string* MakeCheckOpString<unsigned long, unsigned int>( 121 template std::string* MakeCheckOpString<unsigned int, unsigned long>( 123 template std::string* MakeCheckOpString<std::string, std::string>( 124 const std::string&, const std::string&, const char* name) [all...] |
| /external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
| bwe_rtp.cc | 17 #include <string> 32 std::string ExtensionType() { 33 return static_cast<std::string>(FLAGS_extension_type); 42 std::string InputFile() { 43 return static_cast<std::string>(FLAGS_input_file); 51 std::string ssrc_filter_string = static_cast<std::string>(FLAGS_ssrc_filter); 55 std::string ssrc_filter = ssrc_filter_string; 76 std::string* estimator_used) { 78 std::string filename = flags::InputFile() [all...] |
| /frameworks/base/core/proto/android/app/ |
| notification_channel.proto | 32 optional string id = 1 [ (android.privacy).dest = DEST_EXPLICIT ]; 33 optional string name = 2 [ (android.privacy).dest = DEST_EXPLICIT ]; 34 optional string description = 3 [ (android.privacy).dest = DEST_EXPLICIT ]; 39 optional string sound = 7 [ (android.privacy).dest = DEST_EXPLICIT ]; 52 optional string group = 15 [ (android.privacy).dest = DEST_EXPLICIT ];
|
| /frameworks/compile/mclinker/include/mcld/MC/ |
| CommandAction.h | 16 #include <string> 46 const std::string& pNamespec, 49 const std::string& namespec() const { return m_Namespec; } 54 std::string m_Namespec; 154 explicit DefSymAction(unsigned int pPosition, const std::string& pAssignment); 158 const std::string& assignment() const { return m_Assignment; } 161 const std::string& m_Assignment; 168 const std::string& pFileName, 174 const std::string& filename() const { return m_FileName; } 179 std::string m_FileName [all...] |
| /frameworks/rs/driver/ |
| rsdShader.h | 20 #include <string> 58 const std::string & getAttribName(uint32_t i) const {return mAttribNames[i];} 59 const std::string & getUniformName(uint32_t i) const {return mUniformNames[i];} 62 std::string getGLSLInputString() const; 95 std::string *names, uint32_t *arrayLengths, 108 std::string mShader; 109 std::string mUserShader; 116 std::string *mAttribNames; 117 std::string *mUniformNames; 120 std::vector<std::string> mTextureNames [all...] |
| /hardware/google/interfaces/media/c2/1.0/ |
| IComponentStore.hal | 49 string name, 75 string name 88 string name; 131 string mediaType; 139 vec<string> aliases;
|
| /packages/apps/DeskClock/src/com/android/deskclock/data/ |
| TimerStringFormatter.java | 34 public static String formatTimeRemaining(Context context, long remainingTime, 70 final String minSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.minutes, 72 final String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, 74 final String secSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.seconds, 78 final String remainingSuffix = context.getString((minutes > 1 || hours > 1 || seconds > 1) 79 ? R.string.timer_remaining_multiple 80 : R.string.timer_remaining_single); 90 formatStringId = R.string.timer_notifications_hours_minutes_seconds; 92 formatStringId = R.string.timer_notifications_hours_minutes; 95 formatStringId = R.string.timer_notifications_hours_seconds [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Basic/ |
| LangOptions.h | 23 #include <string> 103 std::vector<std::string> SanitizerBlacklistFiles; 108 std::vector<std::string> XRayAlwaysInstrumentFiles; 113 std::vector<std::string> XRayNeverInstrumentFiles; 117 std::string ObjCConstantStringClass; 123 std::string OverflowHandler; 129 std::string CurrentModule; 135 std::vector<std::string> ModuleFeatures; 141 std::vector<std::string> NoBuiltinFuncs; 149 std::string OMPHostIRFile [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Basic/ |
| LangOptions.h | 23 #include <string> 104 std::vector<std::string> SanitizerBlacklistFiles; 109 std::vector<std::string> XRayAlwaysInstrumentFiles; 114 std::vector<std::string> XRayNeverInstrumentFiles; 118 std::string ObjCConstantStringClass; 124 std::string OverflowHandler; 130 std::string CurrentModule; 136 std::vector<std::string> ModuleFeatures; 142 std::vector<std::string> NoBuiltinFuncs; 150 std::string OMPHostIRFile [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Basic/ |
| LangOptions.h | 23 #include <string> 104 std::vector<std::string> SanitizerBlacklistFiles; 109 std::vector<std::string> XRayAlwaysInstrumentFiles; 114 std::vector<std::string> XRayNeverInstrumentFiles; 118 std::string ObjCConstantStringClass; 124 std::string OverflowHandler; 130 std::string CurrentModule; 136 std::vector<std::string> ModuleFeatures; 142 std::vector<std::string> NoBuiltinFuncs; 150 std::string OMPHostIRFile [all...] |
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Basic/ |
| LangOptions.h | 23 #include <string> 103 std::vector<std::string> SanitizerBlacklistFiles; 108 std::vector<std::string> XRayAlwaysInstrumentFiles; 113 std::vector<std::string> XRayNeverInstrumentFiles; 117 std::string ObjCConstantStringClass; 123 std::string OverflowHandler; 129 std::string CurrentModule; 135 std::vector<std::string> ModuleFeatures; 141 std::vector<std::string> NoBuiltinFuncs; 149 std::string OMPHostIRFile [all...] |
| /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/Basic/ |
| LangOptions.h | 23 #include <string> 104 std::vector<std::string> SanitizerBlacklistFiles; 109 std::vector<std::string> XRayAlwaysInstrumentFiles; 114 std::vector<std::string> XRayNeverInstrumentFiles; 118 std::string ObjCConstantStringClass; 124 std::string OverflowHandler; 130 std::string CurrentModule; 136 std::vector<std::string> ModuleFeatures; 142 std::vector<std::string> NoBuiltinFuncs; 150 std::string OMPHostIRFile [all...] |
| /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/Basic/ |
| LangOptions.h | 23 #include <string> 104 std::vector<std::string> SanitizerBlacklistFiles; 109 std::vector<std::string> XRayAlwaysInstrumentFiles; 114 std::vector<std::string> XRayNeverInstrumentFiles; 118 std::string ObjCConstantStringClass; 124 std::string OverflowHandler; 130 std::string CurrentModule; 136 std::vector<std::string> ModuleFeatures; 142 std::vector<std::string> NoBuiltinFuncs; 150 std::string OMPHostIRFile [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/ |
| string.go | 5 // string_ssa.go tests string operations. 11 func testStringSlice1_ssa(a string, i, j int) string { 16 func testStringSlice2_ssa(a string, i, j int) string { 21 func testStringSlice12_ssa(a string, i, j int) string { 27 fn func(string, int, int) string 28 s string [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/types/ |
| pkg.go | 16 var pkgMap = make(map[string]*Pkg) 19 Path string // string literal used in import statement, e.g. "runtime/internal/sys" 20 Name string // package name, e.g. "sys" 22 Prefix string // escaped path for use in symbol table 25 Syms map[string]*Sym 29 // Unless name is the empty string, if the package exists already, 31 func NewPkg(path, name string) *Pkg { 43 p.Syms = make(map[string]*Sym) 69 Syms: make(map[string]*Sym) [all...] |
| /prebuilts/go/darwin-x86/src/os/ |
| env.go | 14 // Expand replaces ${var} or $var in the string based on the mapping function. 16 func Expand(s string, mapping func(string) string) string { 29 return string(buf) + s[i:] 32 // ExpandEnv replaces ${var} or $var in the string according to the values 34 // variables are replaced by the empty string. 35 func ExpandEnv(s string) string { [all...] |
| /prebuilts/go/darwin-x86/src/runtime/ |
| error.go | 22 interfaceString string 23 concreteString string 24 assertedString string 25 missingMethod string // one method needed by Interface, missing from Concrete 30 func (e *TypeAssertionError) Error() string { 46 // An errorString represents a runtime error described by a single string. 47 type errorString string 51 func (e errorString) Error() string { 52 return "runtime error: " + string(e) 55 // plainError represents a runtime error described a string withou [all...] |
| /prebuilts/go/darwin-x86/src/strings/ |
| export_test.go | 11 func (r *Replacer) PrintTrie() string { 16 func (r *genericReplacer) printNode(t *trieNode, depth int) (s string) { 30 s += Repeat(".", depth) + string([]byte{byte(b)}) 38 func StringFind(pattern, text string) int { 42 func DumpTables(pattern string) ([]int, []int) {
|
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| bug221.go | 16 func f(n int) string { 17 s := string(gen) + string(n+'A'-1) 22 func g(x, y string) string {
|
| bug236.go | 11 func f(n int) string { 12 s := string(gen) + string(n+'A'-1) 17 func g(x, y string) string { return x + y }
|
| bug243.go | 35 func Listen(x, y string) (T, string) { 44 func (t T) Accept() (int, string) { 48 func Dial(x, y, z string) (int, string) {
|
| bug262.go | 14 var trace string 16 func f() string { 27 func h() string { 39 m := make(map[string]int) 45 mm := make(map[string]error)
|