/external/chromium/chrome/common/ |
child_process_logging_linux.cc | 41 std::string str(client_id); 42 ReplaceSubstringsAfterOffset(&str, 0, "-", ""); 44 if (str.empty()) 47 base::strlcpy(g_client_id, str.c_str(), kClientIdSize); 48 std::wstring wstr = ASCIIToWide(str);
|
/external/icu4c/common/unicode/ |
stringpiece.h | 65 * @param str a NUL-terminated const char * pointer 68 StringPiece(const char* str); 74 StringPiece(const U_STD_NSQ string& str) 75 : ptr_(str.data()), length_(static_cast<int32_t>(str.size())) { } 147 * @param str a pointer to a NUL-terminated string. 150 void set(const char* str);
|
/external/icu4c/test/intltest/ |
locnmtst.cpp | 120 UnicodeString str(result, len, kMaxResultSize); 121 test_assert_equal("Deutsch (Deutschland)", str); 142 UnicodeString str(result, len, kMaxResultSize); 143 test_assert_equal("British English", str); 158 UnicodeString str(result, len, kMaxResultSize); 159 test_assert_equal(target, str); 177 UnicodeString str(result, len, kMaxResultSize); 178 test_assert_equal("Englisch", str); 184 UnicodeString str(result, len, kMaxResultSize); 185 test_assert_equal("Traditionelle Chinesische Schrift", str); [all...] |
/external/openssl/crypto/bio/ |
bss_null.c | 66 static int null_puts(BIO *h, const char *str); 67 static int null_gets(BIO *h, char *str, int size); 145 static int null_puts(BIO *bp, const char *str) 147 if (str == NULL) return(0); 148 return(strlen(str));
|
/external/openssl/crypto/err/ |
err_prn.c | 66 void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), 90 static int print_fp(const char *str, size_t len, void *fp) 97 return BIO_printf(&bio, "%s", str); 105 static int print_bio(const char *str, size_t len, void *bp) 107 return BIO_write((BIO *)bp, str, len);
|
/external/openssl/crypto/x509v3/ |
v3_ia5.c | 67 static ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str); 95 X509V3_CTX *ctx, char *str) 98 if(!str) { 103 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, 104 strlen(str))) {
|
/external/skia/tests/ |
ParsePathTest.cpp | 5 SkString str, str2; local 6 SkParsePath::ToSVGString(path, &str); 9 bool success = SkParsePath::FromSVGString(str.c_str(), &path2); 13 REPORTER_ASSERT(reporter, str == str2); 18 SkDebugf("str1=%s\nstr2=%s\n", str.c_str(), str2.c_str());
|
/external/webkit/Source/WebCore/platform/network/win/ |
CookieJarWin.cpp | 42 String str = url.string(); local 44 InternetSetCookie(str.charactersWithNullTermination(), 0, val.charactersWithNullTermination()); 49 String str = url.string(); local 52 if (!InternetGetCookie(str.charactersWithNullTermination(), 0, 0, &count)) 59 if (!InternetGetCookie(str.charactersWithNullTermination(), 0, buffer.data(), &count))
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 165 private final String str; field in class:DatatypeConstants.Field 176 * @param str <code>String</code> representation of <code>Field</code> 179 private Field(final String str, final int id) { 180 this.str = str; 191 public String toString() { return str; }
|
/external/openssl/crypto/pem/ |
pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) [all...] |
/external/openssl/include/openssl/ |
pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) [all...] |
/external/openssl/crypto/asn1/ |
asn1_lib.c | 343 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) 345 if (str == NULL) 347 dst->type = str->type; 348 if (!ASN1_STRING_set(dst,str->data,str->length)) 350 dst->flags = str->flags; 354 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) 357 if (!str) 362 if (!ASN1_STRING_copy(ret,str)) 370 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len [all...] |
/external/bluetooth/hcidump/parser/ |
csr.c | 58 static inline void valueless_dump(int level, char *str, struct frame *frm) 61 printf("%s\n", str); 64 static inline void complex_dump(int level, char *str, struct frame *frm) 67 printf("%s\n", str); 72 static inline void bool_dump(int level, char *str, struct frame *frm) 79 printf("%s: value %s (%d)\n", str, value ? "TRUE" : "FALSE", value); 82 static inline void int8_dump(int level, char *str, struct frame *frm) 89 printf("%s: value %d (0x%2.2x)\n", str, value, value); 92 static inline void int16_dump(int level, char *str, struct frame *frm) 99 printf("%s: value %d (0x%2.2x)\n", str, value, value) [all...] |
/system/extras/tests/sdcard/ |
stopwatch.cpp | 36 #define SNPRINTF_OR_RETURN(str, size, format, ...) { \ 37 int len = snprintf((str), (size), (format), ## __VA_ARGS__); \ 43 (size) -= len; (str) += len; \ 106 void StopWatch::sprint(char **str, size_t *size) 118 if (kVerbose) SNPRINTF_OR_RETURN(*str, *size, "# Got %d samples for %s\n", mDataLen, mName); 121 SNPRINTF_OR_RETURN(*str, *size, "# StopWatch %s total/cumulative duration %f Samples: %d\n", 123 printThroughput(str, size); 124 printAverageMinMax(str, size); 130 SNPRINTF_OR_RETURN(*str, *size, "# Name Iterations Duration Min MinIdx Max MaxIdx SizeKbytes\n"); 131 SNPRINTF_OR_RETURN(*str, *size, "%s %d %f %f %d %f %d %d\n", mName, mNum, mDuration [all...] |
/bionic/libc/stdio/ |
asprintf.c | 27 asprintf(char **str, const char *fmt, ...) 49 *str = (char *)_base; 54 *str = NULL;
|
snprintf.c | 41 snprintf(char *str, size_t n, const char *fmt, ...) 54 str = &dummy; 60 f._bf._base = f._p = (unsigned char *)str;
|
sscanf.c | 48 sscanf(const char *str, const char *fmt, ...) 57 f._bf._base = f._p = (unsigned char *)str; 58 f._bf._size = f._r = strlen(str);
|
vasprintf.c | 26 vasprintf(char **str, const char *fmt, __va_list ap) 47 *str = (char *)_base; 52 *str = NULL;
|
/external/blktrace/ |
act_mask.c | 5 #define COMPARE_MASK_MAP(mmp, str) \ 6 (!strcasecmp((mmp)->short_form, (str)) || \ 7 !strcasecmp((mmp)->long_form, (str)))
|
/external/chromium/base/i18n/ |
char_iterator.h | 17 // UTF8CharIterator iter(&str); 32 // Requires |str| to live as long as the UTF8CharIterator does. 33 UTF8CharIterator(const std::string* str); 78 // Requires |str| to live as long as the UTF16CharIterator does. 79 UTF16CharIterator(const string16* str); 80 UTF16CharIterator(const char16* str, size_t str_len);
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
console.h | 63 void Print(const char* str); 64 void Print(const std::string& str); 76 void ParseLine(std::string &str);
|
/external/clang/test/Preprocessor/ |
c99-6_10_3_4_p5.c | 17 #define str(x) # x macro 22 char c[2][6] = { str(hello), str() };
|
/external/clang/test/SemaCXX/ |
attr-format.cpp | 32 void test(S s, const char* str) { 33 s.f(str, "%s", str);
|
/external/collada/src/dae/ |
daeStandardURIResolver.cpp | 33 msg << "daeStandardURIResolver::resolveElement() - Failed to resolve " << uri.str() << endl; 34 daeErrorHandler::get()->handleError(msg.str().c_str()); 41 dae->open(uri.str());
|
/external/e2fsprogs/misc/ |
uuidgen.c | 40 char str[37]; local 74 uuid_unparse(uu, str); 76 printf("%s\n", str);
|