/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
node.py | 11 import string namespace 148 s = "%s(%s)"%(self.__class__.__name__,nl+string.join(s,","+nl))
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
win_tool.py | 16 import string namespace 66 """Dispatches a string command to a method.""" 178 our_data = our_f.read().translate(None, string.whitespace) 179 assert_data = assert_f.read().translate(None, string.whitespace)
|
/external/chromium_org/tools/site_compare/drivers/win32/ |
windowing.py | 15 import string namespace 313 extension: string to append to filename 318 trans = string.maketrans(r'\/:*?"<>|', '_________')
|
/external/chromium_org/ui/base/l10n/ |
l10n_util_unittest.cc | 40 explicit StringWrapper(const string16& string) : string_(string) {} 41 const string16& string() const { return string_; } function in class:__anon14785::StringWrapper 57 std::string s = l10n_util::GetStringUTF8(IDS_SIMPLE); 58 EXPECT_EQ(std::string("Hello World!"), s); 63 EXPECT_EQ(std::string("Hello, chrome. Your number is 10."), s); 94 void SetDefaultLocaleForTest(const std::string& tag, base::Environment* env) { 109 std::string filenames[] = { 132 const std::string original_locale = base::i18n::GetConfiguredLocale(); 140 EXPECT_EQ("fr", l10n_util::GetApplicationLocale(std::string())); [all...] |
/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::Isolate* isolate, v8::Handle<v8::String> str) { 66 if (strcmp(*v8::String::Utf8Value(str), "externalizeString") == 0) { 69 ASSERT(strcmp(*v8::String::Utf8Value(str), "isAsciiString") == 0); 78 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( 80 "First parameter to externalizeString() must be a string.")); 88 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( 95 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::__anon23956::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::__anon23957::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 | 516 const uint16_t* string = SkTAddOffset<const uint16_t>(stringTable, offset); local 517 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...] |