/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
codecs.c | 48 /* Convert a string to a normalized Python string: all characters are
52 PyObject *normalizestring(const char *string)
55 size_t len = strlen(string);
60 PyErr_SetString(PyExc_OverflowError, "string is too large");
69 register char ch = string[i];
82 The encoding string is looked up converted to all lower-case
109 /* Convert the encoding to a normalized Python string: all
310 and return the resulting encoded object (usually a Python string).
356 /* Decode an object (usually a Python string) using the given encoding 449 PyObject *string = PyObject_Str(name); local [all...] |
errors.c | 67 PyErr_SetString(PyObject *exception, const char *string)
69 PyObject *value = PyString_FromString(string);
562 PyObject* string;
local 570 string = PyString_FromFormatV(format, vargs);
571 PyErr_SetObject(exception, string);
572 Py_XDECREF(string);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
codecs.c | 48 /* Convert a string to a normalized Python string: all characters are
52 PyObject *normalizestring(const char *string)
55 size_t len = strlen(string);
60 PyErr_SetString(PyExc_OverflowError, "string is too large");
69 register char ch = string[i];
82 The encoding string is looked up converted to all lower-case
109 /* Convert the encoding to a normalized Python string: all
310 and return the resulting encoded object (usually a Python string).
356 /* Decode an object (usually a Python string) using the given encoding 449 PyObject *string = PyObject_Str(name); local [all...] |
errors.c | 67 PyErr_SetString(PyObject *exception, const char *string)
69 PyObject *value = PyString_FromString(string);
540 PyObject* string;
local 548 string = PyString_FromFormatV(format, vargs);
549 PyErr_SetObject(exception, string);
550 Py_XDECREF(string);
|
/external/ImageMagick/Magick++/lib/ |
Color.cpp | 13 #include <string> 160 Magick::Color::Color(const std::string &color_) 199 *this=std::string(color_); 211 const Magick::Color& Magick::Color::operator=(const std::string &color_) 241 Magick::Color::operator std::string() const 250 return std::string("none"); 265 return(std::string(colorbuf));
|
/external/ImageMagick/MagickCore/ |
delegate.c | 327 % o command: this string is the command to execute. 512 % character string. 515 % character string. 543 *string; 554 *value='\0'; /* formatted string */ 555 string=(const char *) value; 561 string=GetImageOption(image_info,"authenticate"); 610 string=image->filename; 616 string=image->magick; 629 string=image_info->filename 533 *string; local 900 *string; local [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3string.c | 2 * Implementation of the ANTLR3 string and string factory classes 42 static pANTLR3_STRING newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size); 43 static pANTLR3_STRING newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size); 44 static pANTLR3_STRING newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size); 45 static pANTLR3_STRING newStr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string); 46 static pANTLR3_STRING newStrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string); 47 static pANTLR3_STRING newStrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string); 48 static void destroy (pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string); 49 static pANTLR3_STRING printable8 (pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string); 188 pANTLR3_STRING string; local 217 pANTLR3_STRING string; local 423 pANTLR3_STRING string; local 451 pANTLR3_STRING string; local 478 pANTLR3_STRING string; local 511 pANTLR3_STRING string; local 559 pANTLR3_STRING string; local 679 pANTLR3_STRING string; local 726 pANTLR3_STRING string; local [all...] |
antlr3tokenstream.c | 537 pANTLR3_STRING string; local 560 /* Finally, let's get a string 562 string = tsource->strFactory->newRaw(tsource->strFactory); 569 string->appendS(string, tok->getText(tok)); 573 return string; 1075 /// Return a string that represents the name assoicated with the input source 1087 // because this is a token stream, not a file or string stream, which are the
|
/external/clang/test/CXX/drs/ |
dr15xx.cpp | 86 typedef basic_string<char> string; typedef in namespace:std 161 void f2(std::initializer_list<std::string>); // #4 178 void f2(std::initializer_list<std::string>); // #4 expected-note {{candidate function}} 179 void f2(std::initializer_list<std::string>, int = 0); // Makes selection of #00 ambiguous \
|
/external/clang/test/CodeGenCXX/ |
cxx0x-initializer-stdinitializerlist.cpp | 269 struct string { struct in namespace:PR12178 270 string(int); 271 ~string(); 275 string a;
|
/external/clang/test/SemaCXX/ |
cxx0x-initializer-constructor.cpp | 226 template<int N> struct string {}; struct in namespace:PR12167 233 template<int N, class Comparator> bool g(const string<N>& s, Comparator cmp) { 236 template<int N> bool f(const string<N> &s) { 240 bool s = f(string<1>());
|
cxx1y-generic-lambdas.cpp | 799 struct string { struct in namespace:PR17476 800 string(const char *__s) { } function in struct:PR17476::string 801 string &operator+=(const string &__str) { return *this; } 807 string start("__"); 818 struct string { struct in namespace:PR17476_variant 819 string(const char *__s) { } function in struct:PR17476_variant::string 820 string &operator+=(const string &__str) { return *this; } 826 string start("__") [all...] |
/external/curl/src/ |
tool_getparam.c | 260 {"Fs", "form-string", ARG_STRING}, 355 * char or the end of the string. */ 772 /* kerberos level string */ 1668 char *string; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
RelativeDateFormat.java | 41 URelativeString(int offset, String string) { 43 this.string = string; 45 URelativeString(String offset, String string) { 47 this.string = string; 50 public String string field in class:RelativeDateFormat.URelativeString [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestBidi.java | 31 private static final String levelString = "............................"; 50 String string; local 57 string = getStringFromDirProps(test.dirProps); 60 bidi.setPara(string, paraLevel, null); 367 private String getStringFromDirProps(short[] dirProps) { 380 return new String(buffer); 387 assertEquals("\nwriteReverse should return an empty string", 391 assertEquals("\nwriteReordered should return an empty string", 473 String out = bidi.writeReordered(Bidi.REMOVE_BIDI_CONTROLS | Bidi.DO_MIRRORING) [all...] |
/external/icu/icu4c/source/common/ |
unisetspan.cpp | 32 * a code point or a string. 46 * max string length and U16_LENGTH/U8_LENGTH to account for 166 // Get the number of UTF-8 bytes for a UTF-16 (sub)string. 175 // The string contains an unpaired surrogate. 176 // Ignore this string. 181 // Append the UTF-8 version of the string to t and return the appended UTF-8 length. 190 // The string contains an unpaired surrogate. 191 // Ignore this string. 220 // If any string is relevant, then all strings need to be used for 231 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i) local 311 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 658 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 697 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 822 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 863 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 1363 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 1406 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cmsgtst.c | 22 #include <string.h> 987 UChar string[16]; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
colldata.cpp | 41 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) 44 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 55 // **** only set flag if string has Han(gul) **** 188 void StringList::add(const UnicodeString *string, UErrorCode &status) 210 // is the same as copying the source string. 211 strings[listSize++].append(*string); 216 const UnicodeString string(chars, count); 218 add(&string, status); 252 void put(uint32_t ce, UnicodeString *string, UErrorCode &status) 522 const UnicodeString *string = strings->get(s); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
RelativeDateFormat.java | 39 URelativeString(int offset, String string) { 41 this.string = string; 43 URelativeString(String offset, String string) { 45 this.string = string; 48 public String string field in class:RelativeDateFormat.URelativeString [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestBidi.java | 28 private static final String levelString = "............................"; 47 String string; local 54 string = getStringFromDirProps(test.dirProps); 57 bidi.setPara(string, paraLevel, null); 364 private String getStringFromDirProps(short[] dirProps) { 377 return new String(buffer); 384 assertEquals("\nwriteReverse should return an empty string", 388 assertEquals("\nwriteReordered should return an empty string", 470 String out = bidi.writeReordered(Bidi.REMOVE_BIDI_CONTROLS | Bidi.DO_MIRRORING) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
ExpressionTranslator.java | 26 import static com.google.clearsilver.jsilver.compiler.JavaExpression.string; 81 * Translate a template AST expression into a Java String expression. 84 return translateUntyped(csExpression).cast(Type.STRING); 126 public JavaExpression declareAsVariable(String name, PExpression csExpression) { 161 * Process AST node for a string (e.g. "hello"). 165 String value = node.getValue().getText(); 167 setResult(string(value)); method 175 String value = node.getValue().getText(); 184 String value = node.getValue().getText(); 226 JavaExpression left = cast(Type.STRING, node.getLeft()) [all...] |
/external/libchrome/base/json/ |
json_parser.cc | 88 // When the input JSON string starts with a UTF-8 Byte-Order-Mark 118 std::string JSONParser::GetErrorMessage() const { 180 const std::string& JSONParser::StringBuilder::AsString() { 186 std::string JSONParser::StringBuilder::DestructiveAsString() { 189 return std::string(pos_, length_); 443 StringBuilder string; local 444 if (!ConsumeStringRaw(&string)) 447 return base::MakeUnique<Value>(string.DestructiveAsString()); 458 // std::string. 459 StringBuilder string(NextChar()) [all...] |
/external/libcups/cups/ |
snmp.c | 47 unsigned length, char *string, 251 * '_cupsSNMPOIDToString()' - Convert an OID to a string. 255 char * /* O - New string or @code NULL@ on error */ 257 char *dst, /* I - String buffer */ 258 size_t dstsize) /* I - Size of string buffer */ 260 char *dstptr, /* Pointer into string buffer */ 261 *dstend; /* End of string buffer */ 275 * Loop through the OID array and build a string... 468 * '_cupsSNMPStringToOID()' - Convert a numeric OID string to an OID array. 470 * This function converts a string of the form ".N.N.N.N.N" to th 735 char string[CUPS_SNMP_MAX_STRING]; local [all...] |
/external/libcups/filter/ |
interpret.c | 61 char string[64]; /* Sring value */ member in union:__anon24480::__anon24481 529 _cupsRasterAddError("Unable to duplicate code string.\n"); 541 * Parse the PS string until we run out of data... 775 _cupsRasterAddError(" (%s)", obj->value.string); 858 const char *title) /* I - Title string */ 1037 * 'scan_ps()' - Scan a string for the next PS object. 1042 char **ptr) /* IO - String pointer */ 1047 *valptr, /* Pointer into value string */ 1048 *valend; /* End of value string */ 1088 case '(' : /* (string) */ [all...] |
/external/libusb/libusb/os/ |
haiku_usb_raw.h | 140 } string; member in union:__anon25886
|