/external/libcxx/test/strings/basic.string/string.modifiers/string_replace/ |
D | iter_iter_iter_iter.pass.cpp | 37 const char* str = "12345678901234567890"; variable 42 test(S(""), 0, 0, str, str+0, S("")); in test0() 43 test(S(""), 0, 0, str, str+0, S("")); in test0() 44 test(S(""), 0, 0, str, str+1, S("1")); in test0() 45 test(S(""), 0, 0, str, str+2, S("12")); in test0() 46 test(S(""), 0, 0, str, str+4, S("1234")); in test0() 47 test(S(""), 0, 0, str, str+5, S("12345")); in test0() 48 test(S(""), 0, 0, str, str+0, S("")); in test0() 49 test(S(""), 0, 0, str, str+1, S("1")); in test0() 50 test(S(""), 0, 0, str, str+5, S("12345")); in test0() [all …]
|
/external/openssl/ssl/ |
D | ssl_stat.c | 90 const char *str; in SSL_state_string_long() local 94 case SSL_ST_BEFORE: str="before SSL initialization"; break; in SSL_state_string_long() 95 case SSL_ST_ACCEPT: str="before accept initialization"; break; in SSL_state_string_long() 96 case SSL_ST_CONNECT: str="before connect initialization"; break; in SSL_state_string_long() 97 case SSL_ST_OK: str="SSL negotiation finished successfully"; break; in SSL_state_string_long() 98 case SSL_ST_RENEGOTIATE: str="SSL renegotiate ciphers"; break; in SSL_state_string_long() 99 case SSL_ST_BEFORE|SSL_ST_CONNECT: str="before/connect initialization"; break; in SSL_state_string_long() 100 case SSL_ST_OK|SSL_ST_CONNECT: str="ok/connect SSL initialization"; break; in SSL_state_string_long() 101 case SSL_ST_BEFORE|SSL_ST_ACCEPT: str="before/accept initialization"; break; in SSL_state_string_long() 102 case SSL_ST_OK|SSL_ST_ACCEPT: str="ok/accept SSL initialization"; break; in SSL_state_string_long() [all …]
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | ssl_stat.c | 90 const char *str; in SSL_state_string_long() local 94 case SSL_ST_BEFORE: str="before SSL initialization"; break; in SSL_state_string_long() 95 case SSL_ST_ACCEPT: str="before accept initialization"; break; in SSL_state_string_long() 96 case SSL_ST_CONNECT: str="before connect initialization"; break; in SSL_state_string_long() 97 case SSL_ST_OK: str="SSL negotiation finished successfully"; break; in SSL_state_string_long() 98 case SSL_ST_RENEGOTIATE: str="SSL renegotiate ciphers"; break; in SSL_state_string_long() 99 case SSL_ST_BEFORE|SSL_ST_CONNECT: str="before/connect initialization"; break; in SSL_state_string_long() 100 case SSL_ST_OK|SSL_ST_CONNECT: str="ok/connect SSL initialization"; break; in SSL_state_string_long() 101 case SSL_ST_BEFORE|SSL_ST_ACCEPT: str="before/accept initialization"; break; in SSL_state_string_long() 102 case SSL_ST_OK|SSL_ST_ACCEPT: str="ok/accept SSL initialization"; break; in SSL_state_string_long() [all …]
|
/external/lldb/source/Plugins/Process/POSIX/ |
D | ProcessMessage.cpp | 18 inline void AppendFaultAddr(std::string& str, lldb::addr_t addr) in AppendFaultAddr() argument 22 str += ss.str(); in AppendFaultAddr() 30 static std::string str; in GetCrashReasonString() local 39 str = "invalid address"; in GetCrashReasonString() 40 AppendFaultAddr(str, fault_addr); in GetCrashReasonString() 43 str = "address access protected"; in GetCrashReasonString() 44 AppendFaultAddr(str, fault_addr); in GetCrashReasonString() 47 str = "illegal instruction"; in GetCrashReasonString() 50 str = "illegal instruction operand"; in GetCrashReasonString() 53 str = "illegal addressing mode"; in GetCrashReasonString() [all …]
|
/external/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
D | get_long.pass.cpp | 50 const char str[] = "123"; in main() local 55 f.get(input_iterator<const char*>(str), in main() 56 input_iterator<const char*>(str+sizeof(str)), in main() 58 assert(iter.base() == str+3); in main() 63 const char str[] = "-123"; in main() local 68 f.get(input_iterator<const char*>(str), in main() 69 input_iterator<const char*>(str+sizeof(str)), in main() 71 assert(iter.base() == str+4); in main() 76 const char str[] = "123"; in main() local 80 f.get(input_iterator<const char*>(str), in main() [all …]
|
D | get_long_double.pass.cpp | 41 const char str[] = "123"; in main() local 46 f.get(input_iterator<const char*>(str), in main() 47 input_iterator<const char*>(str+sizeof(str)), in main() 49 assert(iter.base() == str+sizeof(str)-1); in main() 54 const char str[] = "-123"; in main() local 57 f.get(input_iterator<const char*>(str), in main() 58 input_iterator<const char*>(str+sizeof(str)), in main() 60 assert(iter.base() == str+sizeof(str)-1); in main() 65 const char str[] = "123.5"; in main() local 68 f.get(input_iterator<const char*>(str), in main() [all …]
|
D | get_double.pass.cpp | 56 const char str[] = "123"; in main() local 61 f.get(input_iterator<const char*>(str), in main() 62 input_iterator<const char*>(str+sizeof(str)), in main() 64 assert(iter.base() == str+sizeof(str)-1); in main() 69 const char str[] = "-123"; in main() local 72 f.get(input_iterator<const char*>(str), in main() 73 input_iterator<const char*>(str+sizeof(str)), in main() 75 assert(iter.base() == str+sizeof(str)-1); in main() 80 const char str[] = "123.5"; in main() local 83 f.get(input_iterator<const char*>(str), in main() [all …]
|
D | get_float.pass.cpp | 41 const char str[] = "123"; in main() local 46 f.get(input_iterator<const char*>(str), in main() 47 input_iterator<const char*>(str+sizeof(str)), in main() 49 assert(iter.base() == str+sizeof(str)-1); in main() 54 const char str[] = "-123"; in main() local 57 f.get(input_iterator<const char*>(str), in main() 58 input_iterator<const char*>(str+sizeof(str)), in main() 60 assert(iter.base() == str+sizeof(str)-1); in main() 65 const char str[] = "123.5"; in main() local 68 f.get(input_iterator<const char*>(str), in main() [all …]
|
D | get_bool.pass.cpp | 60 const char str[] = "1"; in main() local 64 f.get(input_iterator<const char*>(str), in main() 65 input_iterator<const char*>(str+sizeof(str)), in main() 67 assert(iter.base() == str+sizeof(str)-1); in main() 72 const char str[] = "0"; in main() local 76 f.get(input_iterator<const char*>(str), in main() 77 input_iterator<const char*>(str+sizeof(str)), in main() 79 assert(iter.base() == str+sizeof(str)-1); in main() 84 const char str[] = "12"; in main() local 88 f.get(input_iterator<const char*>(str), in main() [all …]
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkParse.cpp | 49 static const char* skip_ws(const char str[]) in skip_ws() argument 51 SkASSERT(str); in skip_ws() 52 while (is_ws(*str)) in skip_ws() 53 str++; in skip_ws() 54 return str; in skip_ws() 57 static const char* skip_sep(const char str[]) in skip_sep() argument 59 SkASSERT(str); in skip_sep() 60 while (is_sep(*str)) in skip_sep() 61 str++; in skip_sep() 62 return str; in skip_sep() [all …]
|
/external/skia/src/utils/ |
D | SkParse.cpp | 49 static const char* skip_ws(const char str[]) in skip_ws() argument 51 SkASSERT(str); in skip_ws() 52 while (is_ws(*str)) in skip_ws() 53 str++; in skip_ws() 54 return str; in skip_ws() 57 static const char* skip_sep(const char str[]) in skip_sep() argument 59 SkASSERT(str); in skip_sep() 60 while (is_sep(*str)) in skip_sep() 61 str++; in skip_sep() 62 return str; in skip_sep() [all …]
|
/external/lldb/tools/debugserver/source/ |
D | DNBRegisterInfo.cpp | 49 char str[1024]; in Dump() local 51 char *end = str + sizeof(str); in Dump() 56 … case 0: snprintf(str, sizeof(str), "%s", "error: invalid register size of zero."); break; in Dump() 57 case 1: snprintf(str, sizeof(str), "0x%2.2x", value.uint8); break; in Dump() 58 case 2: snprintf(str, sizeof(str), "0x%4.4x", value.uint16); break; in Dump() 59 case 4: snprintf(str, sizeof(str), "0x%8.8x", value.uint32); break; in Dump() 60 case 8: snprintf(str, sizeof(str), "0x%16.16llx", value.uint64); break; in Dump() 61 …case 16: snprintf(str, sizeof(str), "0x%16.16llx%16.16llx", value.v_uint64[0], value.v_uint64[1… in Dump() 63 strncpy(str, "0x", 3); in Dump() 64 pos = str + 2; in Dump() [all …]
|
/external/stlport/test/unit/ |
D | num_put_get_test.cpp | 70 string tmp = ostr.str(); in reset_stream() 71 ostr.str(""); in reset_stream() 82 stringstream str; in check_get_float() local 84 str << "1E+" << limits::max_exponent10; in check_get_float() 86 str >> in_val_d; in check_get_float() 87 CPPUNIT_ASSERT(!str.fail()); in check_get_float() 88 CPPUNIT_ASSERT(str.eof()); in check_get_float() 93 stringstream str; in check_get_float() local 95 str << "-1E+" << limits::max_exponent10; in check_get_float() 97 str >> in_val_d; in check_get_float() [all …]
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | if_test.cpp | 16 const char* str = "pass_1\n" in TEST_F() local 27 preprocess(str, expected); in TEST_F() 32 const char* str = "pass_1\n" in TEST_F() local 43 preprocess(str, expected); in TEST_F() 48 const char* str = "pass_1\n" in TEST_F() local 63 preprocess(str, expected); in TEST_F() 68 const char* str = "pass_1\n" in TEST_F() local 83 preprocess(str, expected); in TEST_F() 88 const char* str = "pass_1\n" in TEST_F() local 115 preprocess(str, expected); in TEST_F() [all …]
|
/external/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/ |
D | put_long_double_fr_FR.pass.cpp | 64 char str[100]; in main() local 65 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 67 std::string ex(str, iter.base()); in main() 72 char str[100]; in main() local 73 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 75 std::string ex(str, iter.base()); in main() 80 char str[100]; in main() local 81 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 83 std::string ex(str, iter.base()); in main() 88 char str[100]; in main() local [all …]
|
D | put_long_double_ru_RU.pass.cpp | 64 char str[100]; in main() local 65 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 67 std::string ex(str, iter.base()); in main() 72 char str[100]; in main() local 73 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 75 std::string ex(str, iter.base()); in main() 80 char str[100]; in main() local 81 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 83 std::string ex(str, iter.base()); in main() 88 char str[100]; in main() local [all …]
|
D | put_long_double_en_US.pass.cpp | 62 char str[100]; in main() local 63 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 65 std::string ex(str, iter.base()); in main() 70 char str[100]; in main() local 71 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 73 std::string ex(str, iter.base()); in main() 78 char str[100]; in main() local 79 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 81 std::string ex(str, iter.base()); in main() 86 char str[100]; in main() local [all …]
|
D | put_long_double_zh_CN.pass.cpp | 62 char str[100]; in main() local 63 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 65 std::string ex(str, iter.base()); in main() 70 char str[100]; in main() local 71 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 73 std::string ex(str, iter.base()); in main() 78 char str[100]; in main() local 79 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 81 std::string ex(str, iter.base()); in main() 86 char str[100]; in main() local [all …]
|
D | put_string_en_US.pass.cpp | 62 char str[100]; in main() local 63 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 65 std::string ex(str, iter.base()); in main() 70 char str[100]; in main() local 71 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 73 std::string ex(str, iter.base()); in main() 78 char str[100]; in main() local 79 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 81 std::string ex(str, iter.base()); in main() 86 char str[100]; in main() local [all …]
|
/external/chromium_org/base/ |
D | hash_unittest.cc | 15 std::string str; in TEST() local 17 str = ""; in TEST() 18 EXPECT_EQ(0u, Hash(str)); in TEST() 21 str = "hello world"; in TEST() 22 EXPECT_EQ(2794219650u, Hash(str)); in TEST() 25 str = "helmo world"; in TEST() 26 EXPECT_EQ(1006697176u, Hash(str)); in TEST() 29 str = "hello world"; in TEST() 30 str[5] = '\0'; in TEST() 31 EXPECT_EQ(2319902537u, Hash(str)); in TEST() [all …]
|
/external/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
D | put2.pass.cpp | 34 char str[200]; in main() local 48 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A'); in main() 49 std::string ex(str, iter.base()); in main() 53 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a'); in main() 54 std::string ex(str, iter.base()); in main() 58 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B'); in main() 59 std::string ex(str, iter.base()); in main() 63 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b'); in main() 64 std::string ex(str, iter.base()); in main() 68 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'C'); in main() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 42 public static char charAt( string str, int index ) in charAt() argument 44 return str[index]; in charAt() 48 public static bool endsWith( string str, string value ) in endsWith() argument 50 return str.EndsWith( value ); in endsWith() 54 public static int indexOf( string str, char value ) in indexOf() argument 56 return str.IndexOf( value ); in indexOf() 60 public static int indexOf( string str, char value, int startIndex ) in indexOf() argument 62 return str.IndexOf( value, startIndex ); in indexOf() 66 public static int indexOf( string str, string value ) in indexOf() argument 68 return str.IndexOf( value ); in indexOf() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 43 public static char charAt( this string str, int index ) in charAt() argument 45 return str[index]; in charAt() 49 public static bool endsWith( this string str, string value ) in endsWith() argument 51 return str.EndsWith( value ); in endsWith() 55 public static int indexOf( this string str, char value ) in indexOf() argument 57 return str.IndexOf( value ); in indexOf() 61 public static int indexOf( this string str, char value, int startIndex ) in indexOf() argument 63 return str.IndexOf( value, startIndex ); in indexOf() 67 public static int indexOf( this string str, string value ) in indexOf() argument 69 return str.IndexOf( value ); in indexOf() [all …]
|
/external/deqp/framework/egl/ |
D | egluStrUtil.cpp | 36 std::ostream& operator<< (std::ostream& str, const ConfigAttribValueFmt& attribFmt) in operator <<() argument 41 return str << getColorBufferTypeStr(attribFmt.value); in operator <<() 44 return str << getConfigCaveatStr(attribFmt.value); in operator <<() 48 return str << getAPIBitsStr(attribFmt.value); in operator <<() 51 return str << getSurfaceBitsStr(attribFmt.value); in operator <<() 55 return str << "EGL_NONE"; in operator <<() 57 return str << tcu::toHex(attribFmt.value); in operator <<() 60 return str << getTransparentTypeStr(attribFmt.value); in operator <<() 65 return str << getBoolDontCareStr(attribFmt.value); in operator <<() 85 return str << (int)attribFmt.value; in operator <<() [all …]
|
/external/ltrace/ |
D | read_config_file.c | 70 char **str, 76 char **str, struct param **extra_param, 81 char **str, struct param **extra_param, 85 char **str, struct arg_type_info **retp, int *ownp); 136 eat_spaces(char **str) { in eat_spaces() argument 137 while (**str == ' ') { in eat_spaces() 138 (*str)++; in eat_spaces() 143 xstrndup(char *str, size_t len) { in xstrndup() argument 149 strncpy(ret, str, len); in xstrndup() 155 parse_ident(struct locus *loc, char **str) in parse_ident() argument [all …]
|