| /external/smack/src/org/xbill/DNS/ |
| Flags.java | 57 /** Converts a numeric Flag into a String */ 58 public static String 59 string(int i) { method in class:Flags 63 /** Converts a String representation of an Flag into its numeric value */ 65 value(String s) {
|
| /external/tinyalsa/ |
| tinymix.c | 33 #include <string.h> 105 const char *string; local 110 string = mixer_ctl_get_enum_string(ctl, i); 113 string); 115 printf(" %-s", string);
|
| /external/webkit/Source/WebCore/bindings/js/ |
| JSHTMLCollectionCustom.cpp | 72 UString string = exec->argument(0).toString(exec); local 73 unsigned index = Identifier::toUInt32(string, ok); 78 return JSValue::encode(getNamedItems(exec, jsCollection, Identifier(exec, string))); 83 UString string = exec->argument(0).toString(exec); local 86 String pstr = ustringToString(string);
|
| /external/webkit/Source/WebCore/bridge/c/ |
| c_utility.cpp | 49 static String convertUTF8ToUTF16WithLatin1Fallback(const NPUTF8* UTF8Chars, int UTF8Length) 56 String result = String::fromUTF8(UTF8Chars, UTF8Length); 58 // If we got back a null string indicating an unsuccessful conversion, fall back to latin 1. 63 result = String(UTF8Chars, UTF8Length); 78 NPString string = { (const NPUTF8*)cstring.data(), static_cast<uint32_t>(cstring.length()) }; local 79 NPN_InitializeVariantWithStringCopy(result, &string); 146 String convertNPStringToUTF16(const NPString* string) 148 return String::fromUTF8WithLatin1Fallback(string->UTF8Characters, string->UTF8Length) [all...] |
| /external/webkit/Source/WebCore/html/parser/ |
| create-html-entity-table | 32 import string namespace 137 for letter in string.ascii_uppercase: 143 for letter in string.ascii_lowercase:
|
| /external/webkit/Source/WebCore/platform/graphics/gpu/ |
| PODIntervalTree.h | 199 String localMaxValueString = ValueToString<T>::string(localMaxValue); 215 static String string(const PODInterval<T, UserData>& interval) function in struct:WebCore::ValueToString
|
| /external/webkit/Source/WebCore/platform/text/ |
| TextCodecUserDefined.cpp | 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&) 55 String result = String::createUninitialized(length, buffer); 94 CString string = CString::newUninitialized(length, bytes); local 96 // Convert the string a fast way and simultaneously do an efficient check to see if it's all ASCII. 105 return string;
|
| /external/webkit/Source/WebCore/platform/text/cf/ |
| StringImplCF.cpp | 53 return CFSTR("WTF::String-based allocator"); 110 // make a new string using the old string's allocator, such as some of the call 144 CFStringRef string = CFStringCreateWithCharactersNoCopy(allocator, reinterpret_cast<const UniChar*>(m_data), m_length, kCFAllocatorNull); local 150 return string;
|
| /external/webkit/Source/WebCore/storage/ |
| IDBKey.h | 54 static PassRefPtr<IDBKey> createString(const String& string) 58 idbKey->m_string = string; 82 const String& string() const function in class:WebCore::IDBKey 110 String m_string;
|
| /external/webkit/Source/WebKit2/Platform/CoreIPC/ |
| ArgumentCoders.h | 199 static void encode(ArgumentEncoder* encoder, const CString& string) 201 // Special case the null string. 202 if (string.isNull()) { 207 uint32_t length = string.length(); 209 encoder->encodeBytes(reinterpret_cast<const uint8_t*>(string.data()), length); 219 // This is the null string. 224 // Before allocating the string, make sure that the decoder buffer is big enough. 231 CString string = CString::newUninitialized(length, buffer); local 235 result = string; 240 template<> struct ArgumentCoder<String> { 273 String string = String::createUninitialized(length, buffer); local 290 String string; local [all...] |
| /external/webkit/Tools/wx/packaging/ |
| build-win-installer.py | 28 import sys, os, string namespace
|
| /frameworks/wilhelm/tests/sandbox/ |
| object.c | 20 #include <string.h> 49 const char *string = slesutObjectIDToString(objectID); local 50 if (NULL != string) 51 printf(" (%s)", string);
|
| /libcore/luni/src/main/java/java/net/ |
| ProxySelectorImpl.java | 39 String scheme = uri.getScheme(); 46 String nonProxyHostsKey = null; 94 private Proxy lookupProxy(String hostKey, String portKey, Proxy.Type type, int defaultPort) { 95 String host = System.getProperty(hostKey); 104 private int getSystemPropertyInt(String key, int defaultValue) { 105 String string = System.getProperty(key); local 106 if (string != null) { 108 return Integer.parseInt(string); [all...] |
| /ndk/sources/host-tools/sed-4.2.1/testsuite/ |
| tst-pcre.c | 32 #include <string.h> 42 char *pattern = NULL, *string = NULL; local 153 string = realloc (string, len - 3); 154 if (string == NULL) 156 printf ("%lu: Cannot record search string: %m\n", linenum); 163 memcpy (string, line + 4, len - 3); 177 if (regexec (&re, string, 20, rm, 0)) 190 printf ("%lu: No preceeding pattern or search string\n", linenum); 200 linenum, pattern, string, rm[0].rm_so, rm[0].rm_eo) [all...] |
| tst-regex2.c | 10 #include <string.h> 28 char *string; local 63 string = buf; 109 err = regexec (&rbuf, string, 71, pmatch, 0); 120 || string + pmatch[0].rm_so >= strchr (string, 'R') 121 || strncmp (string + pmatch[0].rm_so, 147 match = re_search (&rpbuf, string, len, 0, len, 156 || string + match >= strchr (string, 'R' [all...] |
| /pdk/build/ |
| pdk_utils.py | 20 import os, string, sys, shutil, zipfile namespace
|
| /bionic/libc/tools/ |
| bionic_utils.py | 3 import sys, os, commands, string namespace 207 return_type = string.join(return_type[:-1],' ') 234 params = string.join(syscall_params,',') 249 numbers = string.split(number,',')
|
| /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
| group-file-lexer.rb | 81 :T__10 => 10, :CONSTANT => 4, :COMMENT => 8, :STRING => 7 ) 99 "TEMPLATE", "STRING", "COMMENT", "WS" ].freeze 102 :template!, :string!, :comment!, :ws! ].freeze 535 # lexer rule string! (STRING) 537 def string! 541 type = STRING 838 # at line 1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | CONSTANT | ID | TEMPLATE | STRING | COMMENT | WS ) 895 # at line 1:91: STRING 896 string! [all...] |
| /external/bison/lib/ |
| w32spawn.h | 26 #include <string.h> 153 const char *string = argv[i]; local 155 if (string[0] == '\0') 157 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) 159 bool quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); 170 for (s = string; *s != '\0'; s++) 190 for (s = string; *s != '\0'; s++) 217 new_argv[i] = (char *) string;
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
| DERIA5String.java | 9 * DER IA5String object - this is an ascii string. 15 private byte[] string; field in class:DERIA5String 18 * return a IA5 string from the passed in object 46 * return an IA5 String from a tagged object. 74 byte[] string) 76 this.string = string; 83 String string) 85 this(string, false) [all...] |
| DERNumericString.java | 9 * DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }. 15 private byte[] string; field in class:DERNumericString 18 * return a Numeric string from the passed in object 46 * return an Numeric String from a tagged object. 74 byte[] string) 76 this.string = string; 83 String string) 85 this(string, false) [all...] |
| DERPrintableString.java | 16 private final byte[] string; field in class:DERPrintableString 20 * return a printable string from the passed in object. 48 * return a Printable String from a tagged object. 73 * basic constructor - byte encoded string. 76 byte[] string) 78 this.string = string; 82 * basic constructor - this does not validate the string 85 String string) [all...] |
| DERUniversalString.java | 16 private byte[] string; field in class:DERUniversalString 19 * return a Universal String from the passed in object. 47 * return a Universal String from a tagged object. 72 * basic constructor - byte encoded string. 75 byte[] string) 77 this.string = string; 80 public String getString() 95 byte[] string = bOut.toByteArray(); 97 for (int i = 0; i != string.length; i++ [all...] |
| /external/chromium/sdch/open-vcdiff/src/ |
| encodetable.h | 22 #include <string> 103 // string. The output string is not null-terminated and may contain embedded 110 typedef std::string string; typedef in class:open_vcdiff::VCDiffCodeTableWriter 135 // instructions_and_sizes_ string. 149 // Appends the size value to the string as a variable-length integer. 150 static void AppendSizeToString(size_t size, string* out); 152 // Appends the size value to the output string as a variable-length integer. 160 // None of the following 'string' objects are null-terminated [all...] |
| headerparser_test.cc | 19 #include <string> 31 typedef std::string string; typedef in class:open_vcdiff::__anon5222::VCDiffHeaderParserTest 92 string encoded_buffer_;
|