| /external/chromium_org/v8/src/extensions/ |
| externalize-string-extension.cc | 28 #include "externalize-string-extension.h" 53 typedef SimpleStringResource<char, v8::String::ExternalAsciiStringResource> 55 typedef SimpleStringResource<uc16, v8::String::ExternalStringResource> 65 v8::Handle<v8::String> str) { 66 if (strcmp(*v8::String::Utf8Value(str), "externalizeString") == 0) { 69 ASSERT(strcmp(*v8::String::Utf8Value(str), "isAsciiString") == 0); 78 v8::ThrowException(v8::String::New( 79 "First parameter to externalizeString() must be a string.")); 87 v8::ThrowException(v8::String::New( 93 Handle<String> string = Utils::OpenHandle(*args[0].As<v8::String>()) local [all...] |
| /external/clang/test/SemaCXX/ |
| invalid-member-expr.cpp | 31 struct string { struct in namespace:test3 36 string s; 37 string::iterator i = s.foo(); // expected-error {{no member named 'foo'}}
|
| warn-unused-value.cpp | 44 typedef basic_string<char> string; typedef in namespace:test2::std 45 void func(const std::string& str) {
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ImmutableMultimapTest.java | 39 ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>() 46 Builder<String, Integer> builder = new Builder<String, Integer>(); 53 builder.put(Maps.immutableEntry((String) null, 1)); 60 String string; field in class:ImmutableMultimapTest.StringHolder 64 ImmutableMultimap.Builder<String, Integer> builder = 65 new Builder<String, Integer>(); 67 holder.string = "one" [all...] |
| /external/icu4c/i18n/ |
| coleitr.cpp | 72 * Get the ordering priority of the next character in the string. 74 * occured or if the end of string has been reached 101 // and we only compare the string not the contents of the normalization 103 int thislength = (int)(m_data_->iteratordata_.endp - m_data_->iteratordata_.string); 104 int thatlength = (int)(that.m_data_->iteratordata_.endp - that.m_data_->iteratordata_.string); 110 if (uprv_memcmp(m_data_->iteratordata_.string, 111 that.m_data_->iteratordata_.string, 143 * Get the ordering priority of the previous collation element in the string. 146 * occured or if the start of string has been reached. 154 * Resets the cursor to the beginning of the string 178 UChar *string = NULL; local 239 UnicodeString string; local 286 UChar *string = NULL; local [all...] |
| /external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
| LwjglTimer.java | 123 * <code>toString</code> returns the string representation of this timer 130 * @return the string representation of this object. 133 public String toString() { 134 String string = super.toString(); local 135 string += "\nTime: " + oldTime; 136 string += "\nFPS: " + getFrameRate(); 137 return string;
|
| /external/mesa3d/src/gallium/tools/trace/ |
| model.py | 34 import string namespace 159 if len(node.value) >= 4096 or node.value.strip(string.printable):
|
| /external/mesa3d/src/mapi/glapi/gen/ |
| glX_proto_recv.py | 29 import sys, getopt, string namespace 242 print string.join( list, ",\n" )
|
| typeexpr.py | 28 import string, copy namespace 45 def string(self): member in class:type_node 46 """Return string representation of this type_node.""" 126 # Replace '*' with ' * ' in type_string. Then, split the string 128 tokens = string.split( string.replace( type_string, "*", " * " ) ) 221 def string(self): member in class:type_expression 224 s += t.string() 292 print 'Got "%s" (%u, %u).' % (te.string(), te.get_stack_size(), te.get_element_size())
|
| /external/okhttp/src/test/java/com/squareup/okhttp/ |
| RequestTest.java | 28 @Test public void string() throws Exception { method in class:RequestTest 76 private String bodyToHex(Request.Body body) throws IOException { 82 private String bytesToHex(byte[] bytes) {
|
| /external/open-vcdiff/src/ |
| encodetable.h | 22 #include <string> 108 // string. The output string is not null-terminated and may contain embedded 118 typedef std::string string; typedef in class:open_vcdiff::VCDiffCodeTableWriter 136 // instructions_and_sizes_ string. 150 // Appends the size value to the string as a variable-length integer. 151 static void AppendSizeToString(size_t size, string* out); 153 // Appends the size value to the output string as a variable-length integer. 161 // None of the following 'string' objects are null-terminated [all...] |
| encodetable_test.cc | 20 #include <string.h> // strlen 22 #include <string> 35 typedef std::string string; typedef in class:open_vcdiff::__anon25720::CodeTableWriterTest 109 EXPECT_EQ(s, string(out.data() + out_index, size)); 142 string out; 143 OutputString<string> output_string;
|
| headerparser_test.cc | 19 #include <string> 31 typedef std::string string; typedef in class:open_vcdiff::__anon25721::VCDiffHeaderParserTest 92 string encoded_buffer_;
|
| /external/qemu/android/tools/ |
| gen-hw-config.py | 16 import sys, os, string, re namespace 25 """quote a string so it can be used in C""" 33 'string': 'HWCFG_STRING', 155 if item.type in [ 'string', 'boolean', 'diskSize' ]:
|
| /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
| PluralResourceLoader.java | 16 Map<String, PluralRules> plurals = new HashMap<String, PluralRules>(); 24 public String getValue(int resourceId, int quantity) { 25 String name = resourceExtractor.getResourceName(resourceId); 30 return p.string; 36 @Override protected void processNode(Node node, String name, boolean isSystem) throws XPathExpressionException { 42 String value = childNode.getTextContent(); 43 String quantity = childNode.getAttributes().getNamedItem("quantity").getTextContent(); 54 @Override public Object convertRawValue(String rawValue) { 77 final String quantity, string field in class:PluralResourceLoader.Plural [all...] |
| /external/skia/src/sfnt/ |
| SkOTTable_name.cpp | 515 const uint16_t* string = SkTAddOffset<const uint16_t>(stringTable, offset); local 516 SkStringFromUTF16BE(string, length, record.language);
|
| /external/smack/src/org/xbill/DNS/ |
| NXTRecord.java | 72 /** Converts rdata to a String */ 73 String 81 sb.append(Type.string(i));
|
| Section.java | 37 private static String [] longSections = new String[4]; 38 private static String [] updateSections = new String[4]; 63 /** Converts a numeric Section into an abbreviation String */ 64 public static String 65 string(int i) { method in class:Section 69 /** Converts a numeric Section into a full description String */ 70 public static String 77 * Converts a numeric Section into a full description String for an updat [all...] |
| /external/v8/src/extensions/ |
| externalize-string-extension.cc | 28 #include "externalize-string-extension.h" 53 typedef SimpleStringResource<char, v8::String::ExternalAsciiStringResource> 55 typedef SimpleStringResource<uc16, v8::String::ExternalStringResource> 65 v8::Handle<v8::String> str) { 66 if (strcmp(*v8::String::AsciiValue(str), "externalizeString") == 0) { 69 ASSERT(strcmp(*v8::String::AsciiValue(str), "isAsciiString") == 0); 78 return v8::ThrowException(v8::String::New( 79 "First parameter to externalizeString() must be a string.")); 86 return v8::ThrowException(v8::String::New( 91 Handle<String> string = Utils::OpenHandle(*args[0].As<v8::String>()) local [all...] |
| /libcore/luni/src/main/java/java/text/ |
| StringCharacterIterator.java | 25 String string; field in class:StringCharacterIterator 30 * Constructs a new {@code StringCharacterIterator} on the specified string. 31 * The begin and current indices are set to the beginning of the string, the 32 * end index is set to the length of the string. 35 * the source string to iterate over. 37 public StringCharacterIterator(String value) { 38 string = value; 40 end = string.length(); 44 * Constructs a new {@code StringCharacterIterator} on the specified string [all...] |
| /ndk/sources/host-tools/sed-4.2.1/testsuite/ |
| tst-boost.c | 32 #include <string.h> 85 char *pattern, *string; local 150 string = p + strspn (p, " \t"); 151 if (*string == '\0') 153 if (*string == '"') 155 string++; 156 p = strchr (string, '"'); 163 p = string + strcspn (string, " \t"); 164 if (*string == '!' [all...] |
| /packages/apps/Calendar/src/com/android/calendar/ |
| EventRecurrenceFormatter.java | 33 private static String[][] mMonthRepeatByDayOfWeekStrs; 35 public static String getRepeatString(Context context, Resources r, EventRecurrence recurrence, 37 String endString = ""; 44 final String dateStr = DateUtils.formatDateTime(context, 46 sb.append(r.getString(R.string.endByDate, dateStr)); 58 // TODO Implement "Until" portion of string, as well as custom settings 65 return r.getString(R.string.every_weekday) + endString; 67 String string; local 87 string = days.toString() [all...] |
| /packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
| SnepCustomClientTests.java | 36 private static final String TAG = "nfcTest"; 83 StringBuffer string = new StringBuffer(size); local 85 string.append('A' + (i % 26)); 88 new byte[0], string.toString().getBytes());
|
| SnepDefaultClientTests.java | 36 private static final String TAG = "nfcTest"; 83 StringBuffer string = new StringBuffer(size); local 85 string.append('A' + (i % 26)); 88 new byte[0], string.toString().getBytes());
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
| bdist_rpm.py | 10 import string namespace 365 l = string.split(string.strip(line)) 463 val = getattr(self, string.lower(field)) 465 spec_file.append('%s: %s' % (field, string.join(val))) 478 string.join(self.build_requires)) 539 spec_file.extend(string.split(open(val, 'r').read(), '\n')) 552 spec_file.append('%doc ' + string.join(self.doc_files)) 570 for line in string.split(string.strip(changelog), '\n') [all...] |