/external/chromium_org/third_party/webrtc/base/ |
stringutils.h | 17 #include <string.h> 33 #include <string> 38 // Generic string/memory utilities 57 // Rename a bunch of common string functions so they are consistent across 122 // Traits simplifies porting string functions to be CTYPE-agnostic 131 // STL string type 132 //typedef XXX string; 133 // Null-terminated string 138 // String utilities which work with char or wchar_t 282 typedef std::string string typedef in struct:rtc::Traits 294 typedef std::wstring string; typedef in struct:rtc::Traits [all...] |
/external/chromium_org/tools/cr/cr/ |
config.py | 11 import string namespace 23 class _MissingToErrorFormatter(string.Formatter): 24 """A string formatter used in value resolve. 28 This allows a string value to use {A_KEY!e} to indicate that it is a 79 If the value is a string, it is assumed to be a standard python format string 154 # Using existence of value.swapcase as a proxy for is a string 175 """Converts a string to a value. 177 Takes a string from something like an environment variable, and tries to 181 value: The the string value to interpret [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/ |
mac_tool.py | 19 import string namespace 37 """Dispatches a string command to a method.""" 155 lines = string.replace(lines, evar, evalue) 165 lines = string.replace(lines, evar, evalue) 169 lines = string.replace(lines, evar, evalue) 174 if lines[i].strip().startswith("<string>${"): 296 resource_rules: string, optional, path to the ResourceRules.plist file 317 profile: string, optional, short name of the .mobileprovision file 320 bundle_identifier: string, value of CFBundleIdentifier from Info.plist 344 profile: string, optional, short name of the .mobileprovision fil [all...] |
/external/chromium_org/tools/site_compare/ |
command_line.py | 16 import string namespace 23 """Little helper function to see if a variable is a string.""" 28 """Encapsulates errors from parsing, string arg is description.""" 40 helptext: brief string description of the command 57 VALID_TYPES = ['string', 'readfile', 'int', 'flag', 'coords'] 58 TYPES_WITH_VALUES = ['string', 'readfile', 'int', 'coords'] 68 string - a string 99 names[-1].lstrip(string.punctuation + string.whitespace).upper() [all...] |
/external/e2fsprogs/lib/e2p/ |
feature.c | 14 #include <string.h> 25 const char *string; member in struct:feature 120 for (f = feature_list; f->string; f++) { 123 return f->string; 144 int e2p_string2feature(char *string, int *compat_type, unsigned int *mask) 150 for (f = feature_list; f->string; f++) { 151 if (!strcasecmp(string, f->string)) { 157 if (strncasecmp(string, "FEATURE_", 8)) 160 switch (string[8]) [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/ |
StringPropertyDialog.java | 11 package org.eclipse.wb.internal.core.model.property.editor.string; 40 // so this was all stripped down to a plain String editor. 93 if (value instanceof String) { 94 m_valueText.setText((String) value); 131 final String value = m_valueText.getText();
|
/external/elfutils/0.153/libebl/ |
eblwstrtab.c | 1 /* ELF string table handling. 60 #include <string.h> 75 const wchar_t *string; member in struct:Ebl_WStrent 128 ret->null.string = L""; 194 /* Create the reserved string. */ 196 newstr->string = str; 231 /* We found a matching string. */ 240 /* Add new string. The actual string is assumed to be permanent. */ 247 /* Compute the string length if the caller doesn't know it. * [all...] |
/external/emma/core/java12/com/vladium/util/ |
WCMatcher.java | 21 public static WCMatcher compile (final String pattern) 71 public abstract boolean matches (String s); 75 // private boolean matches (int pi, int si, final char [] string) 80 // return si == string.length; 87 // return (si < string.length) && matches (pi + 1, si + 1, string); 92 // return matches (pi + 1, si, string) || ((si < string.length) && matches (pi, si + 1, string)); 97 // return (si < string.length) && (m_pattern [pi] == string [si]) && matches (pi + 1, si + 1, string) 237 final char [] string = s.toCharArray (); \/\/ implies an array copy; is this faster than using charAt()? local [all...] |
/external/fio/ |
json.h | 19 char *string; member in union:json_value::__anon25247
|
/external/fonttools/Lib/fontTools/misc/ |
xmlWriter.py | 6 import string namespace 35 def write(self, string, indent=True): 37 self._writeraw(escape(string), indent=indent) 39 def writecdata(self, string): 41 self._writeraw("<![CDATA[" + string + "]]>") 53 def write_noindent(self, string): 55 self._writeraw(escape(string), indent=False) 152 """Input is Unicode string.""" 180 h = string.hexdigits
|
/external/icu/icu4c/source/samples/uresb/ |
uresb.c | 31 #include <string.h> 58 static UChar *quotedString(const UChar *string); 185 static UChar *quotedString(const UChar *string) { 186 int len = u_strlen(string); 191 for (sp = string; *sp; ++sp) { 201 for (sp = string, np = newstr; *sp; ++sp) { 230 UChar *string = quotedString(thestr); local 232 /* TODO: String truncation */ 236 u_fprintf(out, "// WARNING: this string, size %d is truncated to %d\n", len, truncsize/2); 242 u_fprintf(out, "%s { \"%S\" } ", key, string); [all...] |
/external/icu/icu4c/source/test/intltest/ |
tsdate.cpp | 151 UnicodeString string[DEPTH]; local 162 fFormat->format(theDate, string[0]); 167 date[i] = fFormat->parse(string[i-1], status); 171 errln("**** FAIL: Parse of " + prettify(string[i-1], FALSE) + " failed."); 175 fFormat->format(date[i], string[i]); 181 errln("**** FAIL: Date mismatch after match for " + string[i]); 185 if (stringMatch == 0 && string[i] == string[i-1]) 187 else if (stringMatch > 0 && string[i] != string[i-1] [all...] |
tsnmfmt.cpp | 286 UnicodeString string[DEPTH]; local 296 string[i] = "(n/a)"; // "format was never done" value 300 fFormat->parse(string[i-1], number[i], status); 303 errMsg = "**** FAIL: Parse of " + prettify(string[i-1]) + " failed."; 315 errMsg = ("**** FAIL: Parse of " + prettify(string[i-1]) 321 string[i].truncate(0); 322 fFormat->format(number[i].getDouble(), string[i]); 332 if (stringMatch == 0 && string[i] == string[i-1]) 334 else if (stringMatch > 0 && string[i] != string[i-1] [all...] |
/external/ipsec-tools/src/racoon/ |
vendorid.h | 96 const char *string; member in struct:vendor_id
|
/external/libexif/libexif/olympus/ |
mnote-olympus-entry.c | 26 #include <string.h> 87 const char *string; member in struct:__anon27483::__anon27484 444 for (j = 0; items[i].elem[j].string && 450 strncpy (v, _(items[i].elem[j].string), maxlen); 514 for (j = 0; items[i].elem[j].string && 520 strncpy (v, _(items[i].elem[j].string), maxlen);
|
/external/lldb/test/pexpect-2.4/ |
ANSI.py | 14 import string namespace 207 self.state.add_transition_list (string.digits, 'ELB', StartNumber, 'NUMBER_1') 208 self.state.add_transition_list (string.digits, 'NUMBER_1', BuildNumber, 'NUMBER_1') 225 self.state.add_transition_list (string.digits, 'MODECRAP', StartNumber, 'MODECRAP_NUM') 226 self.state.add_transition_list (string.digits, 'MODECRAP_NUM', BuildNumber, 'MODECRAP_NUM') 233 self.state.add_transition_list (string.digits, 'SEMICOLON', StartNumber, 'NUMBER_2') 234 self.state.add_transition_list (string.digits, 'NUMBER_2', BuildNumber, 'NUMBER_2') 283 if ch not in string.printable:
|
/external/lldb/test/pexpect-2.4/examples/ |
cgishell.cgi | 20 import socket, random, string, traceback, cgi, time, getopt, getpass, threading, resource, signal namespace 336 """This parses a host connection string in the form 352 """This puts an ASCII text box around the given string. 603 pressedCharacter = String.fromCharCode(pressedKey); 616 type_key(String.fromCharCode(KeyID));
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_const.c | 438 * Build a zero-terminated constant string. 446 LLVMValueRef string = LLVMAddGlobal(gallivm->module, LLVMArrayType(i8, len), ""); local 447 LLVMSetGlobalConstant(string, TRUE); 448 LLVMSetLinkage(string, LLVMInternalLinkage); 449 LLVMSetInitializer(string, LLVMConstStringInContext(gallivm->context, str, len, TRUE)); 450 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0)); 451 return string;
|
/external/mesa3d/src/mapi/glapi/gen/ |
glX_XML.py | 30 import sys, getopt, string namespace 355 """Return the length, as a string, of the variable-sized 464 In these cases the string 'X_GLXVendorPrivate' or
|
glX_proto_send.py | 30 import sys, getopt, copy, string namespace 38 tmp = '%s_%s' % (tmp, string.lower(str[i:i+3])) 41 tmp = '%s_%s' % (tmp, string.lower(str[i])) 633 skip_condition = "(%s)" % (string.join( condition_list, ") && (" )) [all...] |
glX_proto_size.py | 30 import sys, getopt, copy, string namespace 290 print ' compsize = __gl%s_size(%s);' % (f.name, string.join(f.count_parameter_list, ",")) 540 dst = p.string() 608 # size string for the variable length parameter(s). While
|
/external/proguard/src/proguard/ |
ClassPathEntry.java | 61 public String getName() 149 private boolean hasExtension(String extension) 156 * Returns whether the given string ends with the given suffix, ignoring 159 private static boolean endsWithIgnoreCase(String string, String suffix) 161 int stringLength = string.length(); 164 return string.regionMatches(true, stringLength - 256 public String toString() 258 String string = getName() local [all...] |
/external/skia/src/animator/ |
SkDisplayEvent.cpp | 35 SK_MEMBER_PROPERTY(key, String), // a single key (also last key pressed) 36 SK_MEMBER_PROPERTY(keys, String), // a single key or dash-delimited range of keys 38 SK_MEMBER(target, String), 219 input->string.set(meta.findString(name)); 238 SkString* string = value.fOperand.fString; local 239 const char* chars = string->c_str();
|
/external/skia/src/xml/ |
SkJS.cpp | 197 SkBool SkJS::ValueToString(jsval value, SkString* string) { 201 string->set(JS_GetStringBytes(str)); 211 SkString string; local 212 success = js.ValueToString(val, &string); 214 SkASSERT(strcmp(string.c_str(), "3.142857142857143") == 0); 225 success = js.ValueToString(val, &string);
|
SkJSDisplayable.cpp | 234 SkString* string= NULL; local 257 info->getString(displayable, &string); 283 str = JS_NewStringCopyN(cx, string->c_str(), string->size()); 306 SkString string; local 327 string.set(JS_GetStringBytes(str)); 352 info->setString(displayable, &string);
|