Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Djson_stream_parser_test.cc145 StringPiece str = "true"; in TEST_F() local
153 StringPiece str = "false"; in TEST_F() local
161 StringPiece str = "null"; in TEST_F() local
170 StringPiece str = "{}"; in TEST_F() local
178 StringPiece str = "[]"; in TEST_F() local
187 StringPiece str = "42.5"; in TEST_F() local
195 StringPiece str = "1.2345e-10"; in TEST_F() local
203 StringPiece str = "-1045.235"; in TEST_F() local
211 StringPiece str = "123456"; in TEST_F() local
219 StringPiece str = "-79497823553162765"; in TEST_F() local
[all …]
/frameworks/base/startop/scripts/app_startup/
Dquery_compiler_filter.py46 def parse_options(argv: List[str] = None):
63 def remote_dumpsys_package(package: str, simulate: bool) -> str:
87 def find_parse_subtree(parse_tree: ParseTree, match_regex: str) -> ParseTree:
98 def find_parse_children(parse_tree: ParseTree, match_regex: str) -> Iterable[ParseTree]:
103 def parse_tab_subtree(label: str, str_lines: List[str], separator=' ', indent=-1) -> ParseResult:
143 def parse_tab_tree(str_tree: str, separator=' ', indentation_level=-1) -> ParseTree:
159 def find_first_compiler_filter(dexopt_state: DexoptState, package: str, instruction_set: str) -> st…
175 def find_all_compiler_filters(dexopt_state: DexoptState, package: str) -> List[CompilerFilterInfo]:
Dapp_startup_runner.py60 def parse_options(argv: List[str] = None):
132 …nerate_run_combinations(named_tuple: NamedTupleMeta[T], opts_dict: Dict[str, List[Optional[str]]])\
158 def key_to_cmdline_flag(key: str) -> str:
204 def make_script_command_with_temp_output(script: str, args: List[str], **kwargs)\
220 def execute_arbitrary_command(cmd: List[str], simulate: bool, timeout: int) -> Tuple[bool, str]:
246 …e[CollectorPackageInfo, Iterable[RunCommandArgs]]], simulate: bool, inodes_path: str, timeout: int…
273 …ther_results(commands: Iterable[Tuple[bool, str, List[int]]], key_list: List[str], value_list: Lis… argument
Danalyze_metrics.py58 def parse_options(argv: List[str] = None):
146 def group_metrics_by_label(it: Iterable[Tuple[List[str], List[int]]]):
164 def data_to_numpy(it: Iterable[Tuple[List[str], List[List[int]]]]) -> Iterable[Tuple[List[str], Any…
195 def print_analysis(it, label_header: List[str], data_header: List[str], output_samples: str):
333 …rable_metrics_iter, label_header, data_header, output_comparable: str, output_comparable_significa…
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DAnswerToResetTest.java44 String str = "3B02145"; in testAnswerToRestOddLength() local
52 String str = "3B"; in testAnswerToRestTooShortLength() local
60 String str = "3B00"; in testAnswerToRestNoInterfaceByteNoHistoricalByte() local
73 String str = "3F909580B1FE001F4297"; in testAnswerToRestNoHistoricalByte() local
100 String str = "3F078031A073BE211797"; in testAnswerToRestNoInterfaceByte() local
117 String str = "3F979580B1FE001F428031A073BE211797"; in testAnswerToRestSuccess() local
147 String str = "3F979580B0FE0010428031A073BE2117"; in testAnswerToRestSuccessWithoutCheckByte() local
180 String str = "3F979581B0FE0010428031A073BE2117"; in testAnswerToRestFailWithoutCheckByte() local
188 String str = "3F979580B1FE001F428031A073BE21179718"; in testAnswerToRestFailWithExtraByte() local
196 String str = "3F979580BFFE8210428031A073BE211797"; in testAnswerToRestEuiccSupported() local
[all …]
/frameworks/base/tools/aapt2/util/
DUtil.cpp42 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform()
59 std::vector<std::string> Split(const StringPiece& str, char sep) { in Split()
63 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase()
67 bool StartsWith(const StringPiece& str, const StringPiece& prefix) { in StartsWith()
74 bool EndsWith(const StringPiece& str, const StringPiece& suffix) { in EndsWith()
81 StringPiece TrimLeadingWhitespace(const StringPiece& str) { in TrimLeadingWhitespace()
95 StringPiece TrimTrailingWhitespace(const StringPiece& str) { in TrimTrailingWhitespace()
109 StringPiece TrimWhitespace(const StringPiece& str) { in TrimWhitespace()
128 static int IsJavaNameImpl(const StringPiece& str) { in IsJavaNameImpl()
139 bool IsJavaClassName(const StringPiece& str) { in IsJavaClassName()
[all …]
/frameworks/base/core/java/android/text/
DBidiFormatter.java307 public String markAfter(CharSequence str, TextDirectionHeuristic heuristic) { in markAfter()
336 public String markBefore(CharSequence str, TextDirectionHeuristic heuristic) { in markBefore()
355 public boolean isRtl(String str) { in isRtl()
366 public boolean isRtl(CharSequence str) { in isRtl()
400 public @Nullable String unicodeWrap(@Nullable String str, TextDirectionHeuristic heuristic, in unicodeWrap()
418 public @Nullable CharSequence unicodeWrap(@Nullable CharSequence str, in unicodeWrap()
450 public String unicodeWrap(String str, TextDirectionHeuristic heuristic) { in unicodeWrap()
463 public CharSequence unicodeWrap(CharSequence str, TextDirectionHeuristic heuristic) { in unicodeWrap()
477 public String unicodeWrap(String str, boolean isolate) { in unicodeWrap()
490 public CharSequence unicodeWrap(CharSequence str, boolean isolate) { in unicodeWrap()
[all …]
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp11 to_camel_case(const string& str) in to_camel_case()
40 make_constant_name(const string& str) in make_constant_name()
64 file_base_name(const string& str) in file_base_name()
80 replace_string(const string& str, const char replace, const char with) in replace_string()
93 split(const string& str, const char delimiter) in split()
112 stripPrefix(const string& str, const string& prefix) in stripPrefix()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp116 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName()
158 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference()
205 bool IsReference(const StringPiece& str) { in IsReference()
209 bool ParseAttributeReference(const StringPiece& str, ResourceNameRef* out_ref) { in ParseAttributeReference()
242 bool IsAttributeReference(const StringPiece& str) { in IsAttributeReference()
254 Maybe<Reference> ParseStyleParentReference(const StringPiece& str, in ParseStyleParentReference()
304 Maybe<Reference> ParseXmlAttributeName(const StringPiece& str) { in ParseXmlAttributeName()
332 std::unique_ptr<Reference> TryParseReference(const StringPiece& str, in TryParseReference()
351 std::unique_ptr<Item> TryParseNullOrEmpty(const StringPiece& str) { in TryParseNullOrEmpty()
373 const StringPiece& str) { in TryParseEnumSymbol()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.h113 inline bool HasPrefixString(const string& str, in HasPrefixString()
119 inline string StripPrefixString(const string& str, const string& prefix) { in StripPrefixString()
135 inline bool HasSuffixString(const string& str, in HasSuffixString()
141 inline string StripSuffixString(const string& str, const string& suffix) { in StripSuffixString()
396 inline bool safe_strto32(const char* str, int32* value) { in safe_strto32()
399 inline bool safe_strto32(StringPiece str, int32* value) { in safe_strto32()
402 inline bool safe_strtou32(const char* str, uint32* value) { in safe_strtou32()
405 inline bool safe_strtou32(StringPiece str, uint32* value) { in safe_strtou32()
411 inline bool safe_strto64(const char* str, int64* value) { in safe_strto64()
414 inline bool safe_strto64(StringPiece str, int64* value) { in safe_strto64()
[all …]
Dbytestream_unittest.cc67 string str; in TEST() local
78 string str; in TEST() local
95 string str; in TEST() local
104 string str; in TEST() local
115 string str; in TEST() local
137 string str; in TEST() local
/frameworks/base/libs/androidfw/include/androidfw/
DStringPiece.h101 inline BasicStringPiece<TChar>::BasicStringPiece(const BasicStringPiece<TChar>& str) in BasicStringPiece()
105 inline BasicStringPiece<TChar>::BasicStringPiece(const std::basic_string<TChar>& str) in BasicStringPiece()
109 inline BasicStringPiece<char>::BasicStringPiece(const char* str) in BasicStringPiece()
113 inline BasicStringPiece<char16_t>::BasicStringPiece(const char16_t* str) in BasicStringPiece()
117 inline BasicStringPiece<TChar>::BasicStringPiece(const TChar* str, size_t len) in BasicStringPiece()
129 inline BasicStringPiece<TChar>& BasicStringPiece<TChar>::assign(const TChar* str, size_t len) { in assign()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Ddata.proto43 required string str = 1; field
49 required string str = 1; field
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java73 FileOutputStream str = null; in startWrite() local
95 public void finishWrite(FileOutputStream str) { in finishWrite()
108 public void failWrite(FileOutputStream str) { in failWrite()
/frameworks/base/tools/bit/
Dutil.cpp148 escape_quotes(const char* str) in escape_quotes()
163 escape_for_commandline(const char* str) in escape_for_commandline()
180 trim(const string& str) in trim()
195 starts_with(const string& str, const string& prefix) in starts_with()
201 ends_with(const string& str, const string& suffix) in ends_with()
211 split_lines(vector<string>* result, const string& str) in split_lines()
/frameworks/base/core/jni/
Dandroid_os_Trace.cpp27 inline static void sanitizeString(char* str) { in sanitizeString()
59 withString(env, nameStr, [tag, value](char* str) { in android_os_Trace_nativeTraceCounter()
66 withString(env, nameStr, [tag](char* str) { in android_os_Trace_nativeTraceBegin()
77 withString(env, nameStr, [tag, cookie](char* str) { in android_os_Trace_nativeAsyncTraceBegin()
84 withString(env, nameStr, [tag, cookie](char* str) { in android_os_Trace_nativeAsyncTraceEnd()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/commonjs/
Drewrite_tests_for_commonjs.js39 function tryStripPrefix(str, prefix) { argument
46 function camelCase(str) { argument
/frameworks/base/tools/aapt2/test/
DBuilders.cpp67 const StringPiece& str) { in AddString()
72 const StringPiece& str) { in AddString()
78 const StringPiece& str) { in AddString()
192 StyleBuilder& StyleBuilder::SetParent(const StringPiece& str) { in SetParent()
197 StyleBuilder& StyleBuilder::AddItem(const StringPiece& str, std::unique_ptr<Item> value) { in AddItem()
202 StyleBuilder& StyleBuilder::AddItem(const StringPiece& str, const ResourceId& id, in AddItem()
213 StyleableBuilder& StyleableBuilder::AddItem(const StringPiece& str, const Maybe<ResourceId>& id) { in AddItem()
223 std::unique_ptr<xml::XmlResource> BuildXmlDom(const StringPiece& str) { in BuildXmlDom()
234 const StringPiece& str) { in BuildXmlDomForPackageName()
/frameworks/base/tools/aapt2/text/
DPrinter.cpp29 Printer& Printer::Println(const StringPiece& str) { in Println()
38 Printer& Printer::Print(const StringPiece& str) { in Print()
/frameworks/av/media/libeffects/factory/
DEffectsFactoryState.c73 int stringToUuid(const char *str, effect_uuid_t *uuid) in stringToUuid()
95 int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) in uuidToString()
114 void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) { in dumpEffectDescriptor()
/frameworks/base/tools/aapt/
DAaptUtil.cpp24 Vector<String8> split(const String8& str, const char sep) { in split()
42 Vector<String8> splitAndLowerCase(const String8& str, const char sep) { in splitAndLowerCase()
/frameworks/base/core/java/android/util/
DAtomicFile.java126 FileOutputStream str = null; in startWrite() local
153 public void finishWrite(FileOutputStream str) { in finishWrite()
174 public void failWrite(FileOutputStream str) { in failWrite()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java92 String str = view.getText().toString(); in loadPropIntText() local
105 String str = view.getText().toString(); in loadFloatText() local
117 String str = view.getText().toString(); in loadIntText() local
/frameworks/opt/gamesdk/src/tuningfork/
Dprotobuf_util.cpp27 VectorStream* str = (VectorStream*)(stream->state); in Read() local
47 VectorStream* str = (VectorStream*)(stream->state); in Write() local
Duploadthread.cpp53 std::stringstream str; in Process() local
138 std::stringstream str; in slurpFile() local
172 std::istringstream str(p); in GetExtraUploadInfo() local
193 std::stringstream str; in GetExtraUploadInfo() local

12345678910>>...18