/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedCharacterIteratorTest.java | 30 String string = "test test"; field in class:OldAttributedCharacterIteratorTest 104 assertEquals(string.length(), limit); 195 AttributedString as = new AttributedString(string);
|
/bionic/libc/tools/ |
bionic_utils.py | 3 import sys, os, commands, string namespace 73 return_type = string.join(return_type[:-1],' ') 100 params = string.join(syscall_params,',') 115 numbers = string.split(number,',')
|
generate-NOTICE.py | 11 import string namespace
|
/development/testrunner/ |
create_test.py | 24 import string namespace 111 output = string.Template(TestsConsts.TEST_MANIFEST_TEMPLATE).substitute(mapping) 161 output = string.Template(TestsConsts.TEST_MK_TEMPLATE).substitute(mapping)
|
/docs/source.android.com/scripts/ |
build.py | 22 import string namespace 44 # Step 1, concatenate the template pieces into a single template string 48 template = string.Template(t)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1OctetString.java | 14 byte[] string; field in class:ASN1OctetString 17 * return an Octet String from a tagged object. 42 * return an Octet String from the given object. 62 throw new IllegalArgumentException("failed to construct OCTET STRING from byte[]: " + e.getMessage()); 79 * @param string the octets making up the octet string. 82 byte[] string) 84 if (string == null) 86 throw new NullPointerException("string cannot be null"); 88 this.string = string [all...] |
DERBMPString.java | 14 private char[] string; field in class:DERBMPString 17 * return a BMP String from the given object. 46 * return a BMP String from a tagged object. 71 * basic constructor - byte encoded string. 74 byte[] string) 76 char[] cs = new char[string.length / 2]; 80 cs[i] = (char)((string[2 * i] << 8) | (string[2 * i + 1] & 0xff)); 83 this.string = cs; 86 DERBMPString(char[] string) [all...] |
DERGeneralString.java | 12 private byte[] string; field in class:DERGeneralString 54 DERGeneralString(byte[] string) 56 this.string = string; 59 public DERGeneralString(String string) 61 this.string = Strings.toByteArray(string); 64 public String getString() 66 return Strings.fromByteArray(string); [all...] |
DERT61String.java | 9 * DER T61String (also the teletex string), try not to use this if you don't need to. The standard support the encoding for 16 private byte[] string; field in class:DERT61String 19 * return a T61 string from the passed in object. 47 * return an T61 String from a tagged object. 72 * basic constructor - string encoded as a sequence of bytes. 75 byte[] string) 77 this.string = string; 81 * basic constructor - with string 8 bit assumed. 84 String string [all...] |
DERUTF8String.java | 15 private byte[] string; field in class:DERUTF8String 18 * return an UTF8 string from the passed in object. 47 * return an UTF8 String from a tagged object. 74 * basic constructor - byte encoded string. 76 DERUTF8String(byte[] string) 78 this.string = string; 84 public DERUTF8String(String string) 86 this.string = Strings.toUTF8ByteArray(string) [all...] |
DERVisibleString.java | 15 private byte[] string; field in class:DERVisibleString 18 * return a Visible String from the passed in object. 46 * return a Visible String from a tagged object. 71 * basic constructor - byte encoded string. 74 byte[] string) 76 this.string = string; 83 String string) 85 this.string = Strings.toByteArray(string) [all...] |
/external/chromium/testing/gtest/include/gtest/internal/ |
gtest-string.h | 34 // This header file declares the String class and functions used internally by 45 // string.h is not guaranteed to provide strcpy on C++ Builder. 49 #include <string.h> 52 #include <string> 57 // String - a UTF-8 string class. 59 // For historic reasons, we don't use std::string. 61 // TODO(wan@google.com): replace this class with std::string or 64 // Note that String can represent both NULL and the empty string, 230 operator ::std::string() const { return ::std::string(c_str(), length()); } function in class:testing::internal::String::operator::std 237 operator ::string() const { return ::string(c_str(), length()); } function in class:testing::internal::String::operator [all...] |
/external/chromium_org/chrome/renderer/net/ |
predictor_queue_unittest.cc | 26 bool Push(void); // Push the string value of next number. 29 bool Pop(void); // Validate string value of next read. 33 int32 read_counter_; // expected value of next read string. 34 int32 write_counter_; // Numerical value to write next string. 60 std::string string; local 61 if (buffer_->Pop(&string)) { 64 EXPECT_STREQ(expected_value.str().c_str(), string.c_str()) 73 // Use a small buffer so we can see that we can't write a string as soon as it 79 std::string string local 102 std::string string; local 129 std::string string; local [all...] |
/external/chromium_org/content/common/indexed_db/ |
indexed_db_key.h | 29 explicit IndexedDBKey(const std::string& binary); 43 const std::string& binary() const { return binary_; } 44 const base::string16& string() const { return string_; } function in class:content::IndexedDBKey 53 std::string binary_;
|
/external/chromium_org/ppapi/proxy/ |
flash_clipboard_resource.cc | 25 // Convert a PP_Var to/from a string which is transmitted to the pepper host. 29 std::string* string_out) { 42 *string_out = std::string(static_cast<const char*>(array_buffer_var->Map()), 49 const std::string& string) { 52 return StringVar::StringToPPVar(string); 56 string.size(), string.data()); 111 std::string value; 132 std::vector<std::string> data_items_vector 139 std::string string; local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptValue.cpp | 45 bool ScriptValue::getString(String& result) const 51 v8::Handle<v8::Value> string = v8Value(); local 52 if (string.IsEmpty() || !string->IsString()) 54 result = toCoreString(string.As<v8::String>()); 58 String ScriptValue::toString() const 61 v8::Handle<v8::String> string = v8Value()->ToString(); local 63 return String(); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
create-html-entity-table | 32 import string namespace 143 for letter in string.ascii_uppercase: 149 for letter in string.ascii_lowercase:
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
IDBAny.cpp | 47 PassRefPtr<IDBAny> IDBAny::createString(const String& value) 125 const String& IDBAny::string() const function in class:WebCore::IDBAny 209 IDBAny::IDBAny(const String& value)
|
IDBKeyPath.h | 41 void IDBParseKeyPath(const String&, Vector<String>&, IDBKeyPathParseError&); 46 explicit IDBKeyPath(const String&); 47 explicit IDBKeyPath(const Vector<String>& array); 57 const Vector<String>& array() const 63 const String& string() const function in class:WebCore::IDBKeyPath 75 String m_string; 76 Vector<String> m_array;
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringBuilderTest.cpp | 42 static std::ostream& operator<<(std::ostream& os, const String& string) 44 return os << string.utf8().data(); 51 static void expectBuilderContent(const String& expected, const StringBuilder& builder) 55 EXPECT_EQ(expected, String(builder.characters8(), builder.length())); 57 EXPECT_EQ(expected, String(builder.characters16(), builder.length())); 76 builder.append(String("0123456789")); 111 expectBuilderContent(String(resultArray, WTF_ARRAY_LENGTH(resultArray)), builderForUChar32Append); 118 String string = builder.toString() local 250 String string = builder.toString(); local [all...] |
StringImplCF.cpp | 51 return CFSTR("WTF::String-based allocator"); 108 // make a new string using the old string's allocator, such as some of the call 142 CFStringRef string; local 144 string = CFStringCreateWithBytesNoCopy(allocator, reinterpret_cast<const UInt8*>(characters8()), m_length, kCFStringEncodingISOLatin1, false, kCFAllocatorNull); 146 string = CFStringCreateWithCharactersNoCopy(allocator, reinterpret_cast<const UniChar*>(characters16()), m_length, kCFAllocatorNull); 150 return adoptCF(string);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebURL.h | 75 std::string spec = m_string.utf8(); 79 const WebString& string() const function in class:blink::WebURL 138 return a.string().equals(b.string());
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
usetiter.h | 42 * <p>Each item in the set is accessed as a string. Set elements 66 * Value of <tt>codepoint</tt> if the iterator points to a string. 68 * <tt>string</tt> for the current iteration result. 75 * the iterator points to a string. 92 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points 93 * to the current string. If <tt>codepoint != IS_STRING</tt>, the 94 * value of <tt>string</tt> is undefined. 97 const UnicodeString* string; member in class:UnicodeSetIterator 124 * Returns true if the current element is a string. If so, the 129 * Elements of types string and codepoint can both be retrieve [all...] |
/external/chromium_org/third_party/libxml/src/ |
regressions.py | 2 import glob, os, string, sys, thread, time namespace 31 # Within the two sets of data, lines may begin with a path string. If so, the 42 j = string.find(res[i],base1) 44 col = string.find(res[i],':') 46 start = string.rfind(res[i][:col], '/') 51 j = string.find(exp[i],base2) 53 col = string.find(exp[i],':') 55 start = string.rfind(exp[i][:col], '/') 68 # print string.strip(line) 80 if string.strip(res[i]) != string.strip(exp[i]) [all...] |
/external/chromium_org/third_party/mesa/src/scons/ |
crossmingw.py | 37 import string namespace 178 path = string.split(path, os.pathsep) 180 env['ENV']['PATH'] = string.join([dir] + path, os.pathsep)
|