/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
Common.h | 58 std::string to_string(const T& val) { 95 #include <string> 117 // Pool version of string. 190 // Persistent string memory. Should only be used for strings that survive 205 inline const TString String(const int i, const int base = 10) 212 inline const TString String(const int i, const int /*base*/ = 10) 224 void init() { name = nullptr; string = 0; line = 0; column = 0; } 225 // Returns the name if it exists. Otherwise, returns the string number. 226 std::string getStringNameOrNum(bool quoteStringName = true) const 229 return quoteStringName ? ("\"" + std::string(name) + "\"") : name 233 int string; member in struct:glslang::TSourceLoc [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/vkjson/ |
vkjson.cc | 24 #include <string.h> 374 char string[19] = {0}; // "0x" + 16 digits + terminal \0 local 375 snprintf(string, sizeof(string), "0x%016" PRIx64, value); 376 return cJSON_CreateString(string); 590 std::string* errors) { 594 *errors = std::string(key) + " missing."; 600 *errors = std::string("Wrong type for ") + std::string(key) + "."; 611 JsonReaderVisitor(cJSON* object, std::string* errors [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
Type_Names_Suite.py | 26 class string(aetools.ComponentItem): class in inherits:aetools.ComponentItem 27 """string - a string of characters """ 30 plain_text = string 32 plain_text = string 191 string._superclassnames = [] 192 string._privpropdict = { 194 string._privelemdict = { 388 'TEXT' : string,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringProposal.java | 80 public String getAdditionalProposalInfo() { 87 String string = buffer.getText(start, length); local 88 string = ExtractStringRefactoring.unquoteAttrValue(string); 89 String token = ExtractStringInputPage.guessId(string); 91 // Look up the beginning and the end of the line (outside of the extracted string) 93 // foo.setTitle("Hello"); we want to show foo.setTitle(R.string.hello); 105 String linePrefix = buffer.getText(i + 1, start - (i + 1)).trim() [all...] |
/system/core/liblog/include/private/ |
android_logger.h | 30 #include <string> 174 operator std::string() { 175 if (ret) return std::string(""); 179 if (!cp || (len <= 0)) return std::string(""); 180 return std::string(cp, len);
|
/system/core/libunwindstack/ |
DwarfCfa.cpp | 20 #include <string> 145 std::string DwarfCfa<AddressType>::GetOperandString(uint8_t operand, uint64_t value, 147 std::string string; local 150 string = " register(" + std::to_string(value) + ")"; 153 string += " " + std::to_string(static_cast<SignedType>(value)); 159 string += " " + std::to_string(value); 166 string += android::base::StringPrintf(" 0x%" PRIx32, static_cast<uint32_t>(value)); 168 string += android::base::StringPrintf(" 0x%" PRIx64, static_cast<uint64_t>(value)); 172 string = " unknown" [all...] |
/system/core/libziparchive/ |
unzip.cpp | 30 #include <string> 49 static std::set<std::string> includes; 50 static std::set<std::string> excludes; 55 static bool Filter(const std::string& name) { 61 static bool MakeDirectoryHierarchy(const std::string& path) { 107 static bool PromptOverwrite(const std::string& dst) { 137 static void ExtractToPipe(ZipArchiveHandle zah, ZipEntry& entry, const std::string& name) { 151 static void ExtractOne(ZipArchiveHandle zah, ZipEntry& entry, const std::string& name) { 154 name.find("/../") != std::string::npos) { 159 std::string dst 245 ZipString string; local [all...] |
/system/extras/simpleperf/scripts/ |
pprof_proto_generator.py | 90 print('string[%d]: %s' % (i, p.string_table[i])) 91 print('drop_frames: %s' % self.string(p.drop_frames)) 92 print('keep_frames: %s' % self.string(p.keep_frames)) 99 print('comment[%d] = %s' % (i, self.string(p.comment[i]))) 107 self.string(value_type.type), self.string(value_type.unit))) 142 print('%sfilename: %s(%d)' % (space, self.string(mapping.filename), 144 print('%sbuild_id: %s(%d)' % (space, self.string(mapping.build_id), 163 print('%sname: %s' % (space, self.string(function.name))) 164 print('%ssystem_name: %s' % (space, self.string(function.system_name)) 175 def string(self, id): member in class:PprofProfilePrinter [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
stabs.c | 33 4 byte string table index 42 the string table for this unit, and the desc field is the number of 109 /* This is an array of string indices. For each stab symbol, we 110 store the string index here. If a stab symbol should not be 111 included in the final output, the string index is -1. */ 122 const char *string) 137 bfd_hash_newfunc ((struct bfd_hash_entry *) ret, table, string)); 233 /* Look through the stabs symbols, work out the new string indices, 238 each stab section's place in the single concatenated string 250 const char *string; 248 const char *string; local [all...] |
/toolchain/binutils/binutils-2.27/binutils/ |
rddbg.c | 183 next string table. */ 229 see the same string more than once. */ 387 char *string; 393 /* Save a stabs string. */ 396 save_stab (int type, int desc, bfd_vma value, const char *string) 398 if (saved_stabs[saved_stabs_index].string != NULL) 399 free (saved_stabs[saved_stabs_index].string); 403 saved_stabs[saved_stabs_index].string = xstrdup (string); 415 fprintf (stderr, "n_type n_desc n_value string\n") 386 char *string; member in struct:saved_stab [all...] |
/toolchain/binutils/binutils-2.27/gas/config/ |
te-vms.c | 39 #include <string.h> 62 /* Variable length string. */ 66 char string[NAM$C_MAXRSS+1]; member in struct:vstring 146 = {NAM$C_MAXRSS, DSC$K_DTYPE_T, DSC$K_CLASS_S, (void *) file.string}; 149 = {NAM$C_MAXRSS, DSC$K_DTYPE_T, DSC$K_CLASS_S, (void *) device.string}; 152 = {NAM$C_MAXRSS, DSC$K_DTYPE_VT, DSC$K_CLASS_VS, (void *) result.string}; 179 nam.nam$l_esa = file.string; 181 nam.nam$l_rsa = result.string; 195 file.string[nam.nam$b_esl] = 0; 205 file.string[nam.nam$b_esl] = 0 [all...] |
/toolchain/binutils/binutils-2.27/gas/ |
hash.c | 39 /* String being hashed. */ 40 const char *string; member in struct:hash_entry 124 /* Look up a string in a hash table. This returns a pointer to the 125 hash_entry, or NULL if the string is not in the table. If PLIST is 130 Each time we look up a string, we move it to the start of the list 181 if (strncmp (p->string, key, len) == 0 && p->string[len] == '\0') 201 On error, it returns a printable string indicating the error. It 221 p->string = key; 232 success. On error, it returns a printable string indicating th [all...] |
/toolchain/binutils/binutils-2.27/gold/ |
stringpool.h | 1 // stringpool.h -- a string pool for gold -*- C++ -*- 23 #include <string> 35 // Return the length of a string in units of Char_type. 60 // Every string in the pool is unique. Thus, if you have two strings 62 // pointer comparison rather than string comparison. 64 // There is a key associated with every string in the pool. If you 66 // each string will always be the same for any run of the linker. 67 // This is not true of the string pointers themselves, as they may 70 // string pointer so that repeated runs of the linker will generate 73 // When you add a string to a Stringpool, Stringpool will optionall 336 const Stringpool_char* string; member in struct:gold::Stringpool_template::Hashkey [all...] |
yyscript.y | 33 #include <string.h> 54 /* A string. */ 55 struct Parser_string string; 103 %token <string> STRING 104 %token <string> QUOTED_STRING 224 %type <string> wildcard_name 230 %type <string> string 264 | OPTION '(' string ')' 1125 string: label [all...] |
/toolchain/binutils/binutils-2.27/ld/ |
ldfile.c | 379 char *string; local 388 string = concat (search->name, slash, lib, entry->filename, 391 string = concat (search->name, slash, entry->filename, 394 if (ldfile_try_open_bfd (string, entry)) 396 entry->filename = string; 400 free (string); 671 ldfile_set_output_arch (const char *string, enum bfd_architecture defarch) 673 const bfd_arch_info_type *arch = bfd_scan_arch (string); 684 einfo (_("%P%F: cannot represent machine `%s'\n"), string);
|
/toolchain/binutils/binutils-2.27/opcodes/ |
nds32-dis.c | 925 char *string = NULL; local 956 string = "sh"; 961 string = "nop"; 964 string = cctl_subtype [__GF (insn, 5, 5)]; 970 string = "tit"; 977 string = "ex9"; 982 string = "nop16"; 986 if (string) 988 while (strstr ((*opc)->opcode, string) == NULL 989 && strstr ((*opc)->instruction, string) == NULL && (*opc)->next [all...] |
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/ |
hamcrest-library-1.1.jar | |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationSnooze.java | 61 private static final String TAG = "NotificationSnooze"; 67 private static final String KEY_DEFAULT_SNOOZE = "default"; 68 private static final String KEY_OPTIONS = "options_array"; 163 getResources().getString(R.string.snooze_undo))); 227 final String config = Settings.Global.getString(getContext().getContentResolver(), 257 String description = res.getQuantityString(pluralResId, count, count); 258 String resultText = String.format(res.getString(R.string.snoozed_for_time), description); 259 SpannableString string = new SpannableString(resultText) local [all...] |
/packages/apps/Dialer/java/com/android/incallui/ |
StatusBarNotifier.java | 123 private String savedContent = null; 125 private String savedContentTitle; 156 if (resId == R.string.notification_ongoing_call) { 157 return R.string.notification_ongoing_work_call; 158 } else if (resId == R.string.notification_incoming_call) { 159 return R.string.notification_incoming_work_call; 169 private static PendingIntent createNotificationPendingIntent(Context context, String action) { 283 final String contentTitle = getContentTitle(contactInfo, call); 476 String content, 478 String contentTitle 806 SpannableString string = local [all...] |
/art/runtime/mirror/ |
object_test.cc | 42 #include "string-inl.h" 63 Handle<String> string( 64 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); 65 ASSERT_EQ(expected_utf16_length, string->GetLength()); 66 ASSERT_EQ(string->IsValueNull(), false); 67 // strlen is necessary because the 1-character string "\x00\x00" is interpreted as "" 68 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); 69 ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) || 72 EXPECT_EQ(utf16_expected[i], string->CharAt(i)) 576 Class* string = class_linker_->FindSystemClass(soa.Self(), "Ljava\/lang\/String;"); local [all...] |
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
Diff.java | 87 private final String mClass; 90 private final String mHeapName; 92 // Corresponding string objects must have the same value. 93 // mStringValue is set to the empty string for non-string objects. 94 private final String mStringValue; 97 // mClassName is set to the empty string for non-class objects. 98 private final String mClassName; 109 String string = inst.asString() local [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
HalfTest.java | 110 public void string() { method in class:HalfTest [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 58 private static final String TAG = "ImageGridFragment"; 59 private static final String IMAGE_CACHE_DIR = "thumbs"; 203 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 58 private static final String TAG = "ImageGridFragment"; 59 private static final String IMAGE_CACHE_DIR = "thumbs"; 203 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
ImageGridFragment.java | 58 private static final String TAG = "ImageGridFragment"; 59 private static final String IMAGE_CACHE_DIR = "thumbs"; 203 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
|