/external/libcxx/test/std/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/boringssl/src/ssl/ |
D | ssl_stat.c | 89 const char *str; in SSL_state_string_long() local 93 str = "before accept initialization"; in SSL_state_string_long() 97 str = "before connect initialization"; in SSL_state_string_long() 101 str = "SSL negotiation finished successfully"; in SSL_state_string_long() 105 str = "SSL renegotiate ciphers"; in SSL_state_string_long() 110 str = "SSLv3 write client hello A"; in SSL_state_string_long() 114 str = "SSLv3 write client hello B"; in SSL_state_string_long() 118 str = "SSLv3 read server hello A"; in SSL_state_string_long() 122 str = "SSLv3 read server hello B"; in SSL_state_string_long() 126 str = "SSLv3 read server certificate A"; 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/std/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/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/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stacktrace_printer_test.cc | 20 InternalScopedString str(128); in TEST() local 21 RenderSourceLocation(&str, "/dir/file.cc", 10, 5, ""); in TEST() 22 EXPECT_STREQ("/dir/file.cc:10:5", str.data()); in TEST() 24 str.clear(); in TEST() 25 RenderSourceLocation(&str, "/dir/file.cc", 11, 0, ""); in TEST() 26 EXPECT_STREQ("/dir/file.cc:11", str.data()); in TEST() 28 str.clear(); in TEST() 29 RenderSourceLocation(&str, "/dir/file.cc", 0, 0, ""); in TEST() 30 EXPECT_STREQ("/dir/file.cc", str.data()); in TEST() 32 str.clear(); in TEST() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/ |
D | put_long_double_ru_RU.pass.cpp | 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 89 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 91 std::string ex(str, iter.base()); in main() 96 char str[100]; in main() local [all …]
|
D | put_long_double_fr_FR.pass.cpp | 66 char str[100]; in main() local 67 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 69 std::string ex(str, iter.base()); in main() 74 char str[100]; in main() local 75 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 77 std::string ex(str, iter.base()); in main() 82 char str[100]; in main() local 83 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 85 std::string ex(str, iter.base()); in main() 90 char str[100]; in main() local [all …]
|
D | put_long_double_zh_CN.pass.cpp | 67 char str[100]; in main() local 68 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 70 std::string ex(str, iter.base()); in main() 75 char str[100]; in main() local 76 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 78 std::string ex(str, iter.base()); in main() 83 char str[100]; in main() local 84 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() 86 std::string ex(str, iter.base()); in main() 91 char str[100]; in main() local [all …]
|
D | put_long_double_en_US.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_string_en_US.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 …]
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
D | put2.pass.cpp | 37 char str[200]; in main() local 51 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A'); in main() 52 std::string ex(str, iter.base()); in main() 56 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a'); in main() 57 std::string ex(str, iter.base()); in main() 61 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B'); in main() 62 std::string ex(str, iter.base()); in main() 66 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b'); in main() 67 std::string ex(str, iter.base()); in main() 71 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/deqp/framework/egl/ |
D | egluStrUtil.cpp | 30 std::ostream& operator<< (std::ostream& str, const ConfigAttribValueFmt& attribFmt) in operator <<() argument 35 return str << getColorBufferTypeStr(attribFmt.value); in operator <<() 38 return str << getConfigCaveatStr(attribFmt.value); in operator <<() 42 return str << getAPIBitsStr(attribFmt.value); in operator <<() 45 return str << getSurfaceBitsStr(attribFmt.value); in operator <<() 49 return str << "EGL_NONE"; in operator <<() 51 return str << tcu::toHex(attribFmt.value); in operator <<() 54 return str << getTransparentTypeStr(attribFmt.value); in operator <<() 59 return str << getBoolDontCareStr(attribFmt.value); in operator <<() 79 return str << (int)attribFmt.value; in operator <<() [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/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 …]
|
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
D | put_double.pass.cpp | 47 char str[200]; in test1() local 69 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 70 std::string ex(str, iter.base()); in test1() 77 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 78 std::string ex(str, iter.base()); in test1() 85 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 86 std::string ex(str, iter.base()); in test1() 93 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 94 std::string ex(str, iter.base()); in test1() 103 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() [all …]
|
D | put_long_double.pass.cpp | 52 char str[200]; in test1() local 74 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 75 std::string ex(str, iter.base()); in test1() 82 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 83 std::string ex(str, iter.base()); in test1() 90 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 91 std::string ex(str, iter.base()); in test1() 98 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() 99 std::string ex(str, iter.base()); in test1() 108 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1() [all …]
|
/external/deqp/framework/opengl/ |
D | gluStrUtil.cpp | 33 std::ostream& operator<< (std::ostream& str, const BooleanPointerFmt& fmt) in operator <<() argument 37 str << "{ "; in operator <<() 41 str << ", "; in operator <<() 42 str << getBooleanStr(fmt.value[ndx]); in operator <<() 44 str << " }"; in operator <<() 45 return str; in operator <<() 48 return str << "(null)"; in operator <<() 52 std::ostream& operator<< (std::ostream& str, const EnumPointerFmt& fmt) in operator <<() argument 56 str << "{ "; in operator <<() 60 str << ", "; in operator <<() [all …]
|
/external/parameter-framework/test/functional-tests/PfwTestCase/Types/ |
D | tUINT8_ARRAY.py | 105 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 106 …out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value… 108 % (self.param_name, str(index), err)) 110 % (self.param_name, str(index), out)) 112 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 114 % (self.param_name, str(index), err)) 115 …assert out == str(indexed_array_value), log.F("BLACKBOARD : Incorrect value for %s[%s], expected: … 116 … % (self.param_name, str(index), str(indexed_array_value), out)) 118 …files_system_check = "awk -v ligne="+str(index)+" 'NR == ligne+1 { print $0}' "+self.param_short_n… 121 … % (self.param_name, str(index))) [all …]
|