/external/chromium/base/ |
D | string_number_conversions_unittest.cc | 63 std::string output; in TEST() member 72 EXPECT_EQ(cases[i].output, Uint64ToString(cases[i].input)); in TEST() 78 int output; in TEST() member 109 int output = 0; in TEST() local 110 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input, &output)); in TEST() 111 EXPECT_EQ(cases[i].output, output); in TEST() 112 output = 0; in TEST() 115 &output)); in TEST() 116 EXPECT_EQ(cases[i].output, output); in TEST() 117 output = 0; in TEST() [all …]
|
D | utf_string_conversions.cc | 27 DEST_STRING* output) { in ConvertUnicode() argument 34 WriteUnicodeCharacter(code_point, output); in ConvertUnicode() 36 WriteUnicodeCharacter(0xFFFD, output); in ConvertUnicode() 48 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { in WideToUTF8() argument 49 PrepareForUTF8Output(src, src_len, output); in WideToUTF8() 50 return ConvertUnicode(src, src_len, output); in WideToUTF8() 61 bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output) { in UTF8ToWide() argument 62 PrepareForUTF16Or32Output(src, src_len, output); in UTF8ToWide() 63 return ConvertUnicode(src, src_len, output); in UTF8ToWide() 77 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() argument [all …]
|
D | string_util_unittest.cc | 24 const wchar_t* output; member 42 const char* output; member 60 std::string* output) { in Truncated() argument 62 TruncateUTF8ToByteSize(input, byte_size, output); in Truncated() 63 return prev != output->length(); in Truncated() 69 std::string output; in TEST() local 72 EXPECT_FALSE(Truncated("", 0, &output)); in TEST() 73 EXPECT_EQ(output, ""); in TEST() 74 EXPECT_TRUE(Truncated("\xe1\x80\xbf", 0, &output)); in TEST() 75 EXPECT_EQ(output, ""); in TEST() [all …]
|
/external/chromium/testing/gmock/test/ |
D | gmock_output_test.py | 65 def RemoveReportHeaderAndFooter(output): argument 68 output = re.sub(r'.*gtest_main.*\n', '', output) 69 output = re.sub(r'\[.*\d+ tests.*\n', '', output) 70 output = re.sub(r'\[.* test environment .*\n', '', output) 71 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output) 72 output = re.sub(r'.* FAILED TESTS\n', '', output) 73 return output 76 def RemoveLocations(output): argument 89 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output) 92 def NormalizeErrorMarker(output): argument [all …]
|
/external/chromium/chrome/common/ |
D | jstemplate_builder.cc | 21 std::string output(html_template.data(), html_template.size()); in GetTemplateHtml() local 22 AppendJsonHtml(json, &output); in GetTemplateHtml() 23 AppendJsTemplateSourceHtml(&output); in GetTemplateHtml() 24 AppendJsTemplateProcessHtml(template_id, &output); in GetTemplateHtml() 25 return output; in GetTemplateHtml() 30 std::string output(html_template.data(), html_template.size()); in GetI18nTemplateHtml() local 31 AppendJsonHtml(json, &output); in GetI18nTemplateHtml() 32 AppendI18nTemplateSourceHtml(&output); in GetI18nTemplateHtml() 33 AppendI18nTemplateProcessHtml(&output); in GetI18nTemplateHtml() 34 return output; in GetI18nTemplateHtml() [all …]
|
D | common_param_traits_unittest.cc | 34 GURL output; in TEST() local 36 EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in TEST() 40 EXPECT_EQ(input.possibly_invalid_spec(), output.possibly_invalid_spec()); in TEST() 41 EXPECT_EQ(input.is_valid(), output.is_valid()); in TEST() 42 EXPECT_EQ(input.scheme(), output.scheme()); in TEST() 43 EXPECT_EQ(input.username(), output.username()); in TEST() 44 EXPECT_EQ(input.password(), output.password()); in TEST() 45 EXPECT_EQ(input.host(), output.host()); in TEST() 46 EXPECT_EQ(input.port(), output.port()); in TEST() 47 EXPECT_EQ(input.path(), output.path()); in TEST() [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | ClassFileWriter.java | 76 private ByteStream output; field in ClassFileWriter 89 output = new ByteStream(512); in ClassFileWriter() 90 output.writeInt(0xCAFEBABE); // magic in ClassFileWriter() 91 output.writeShort(minor); in ClassFileWriter() 92 output.writeShort(major); in ClassFileWriter() 93 constPool = new ConstPoolWriter(output); in ClassFileWriter() 130 output.writeShort(accessFlags); in end() 131 output.writeShort(thisClass); in end() 132 output.writeShort(superClass); in end() 134 output.writeShort(0); in end() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.cc | 121 io::CodedOutputStream output(raw_output_); in Write() local 122 output.WriteLittleEndian32(0x04034b50); // magic in Write() 123 WriteShort(&output, 10); // version needed to extract in Write() 124 WriteShort(&output, 0); // flags in Write() 125 WriteShort(&output, 0); // compression method: stored in Write() 126 WriteShort(&output, 0); // last modified time in Write() 127 WriteShort(&output, 0); // last modified date in Write() 128 output.WriteLittleEndian32(info.crc32); // crc-32 in Write() 129 output.WriteLittleEndian32(info.size); // compressed size in Write() 130 output.WriteLittleEndian32(info.size); // uncompressed size in Write() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.cc | 210 io::CodedOutputStream* output) { in WriteInt32() argument 211 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt32() 212 WriteInt32NoTag(value, output); in WriteInt32() 215 io::CodedOutputStream* output) { in WriteInt64() argument 216 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteInt64() 217 WriteInt64NoTag(value, output); in WriteInt64() 220 io::CodedOutputStream* output) { in WriteUInt32() argument 221 WriteTag(field_number, WIRETYPE_VARINT, output); in WriteUInt32() 222 WriteUInt32NoTag(value, output); in WriteUInt32() 225 io::CodedOutputStream* output) { in WriteUInt64() argument [all …]
|
D | wire_format_lite.h | 234 #define output io::CodedOutputStream* output macro 309 static inline void WriteTag(field_number, WireType type, output) INL; 312 static inline void WriteInt32NoTag (int32 value, output) INL; 313 static inline void WriteInt64NoTag (int64 value, output) INL; 314 static inline void WriteUInt32NoTag (uint32 value, output) INL; 315 static inline void WriteUInt64NoTag (uint64 value, output) INL; 316 static inline void WriteSInt32NoTag (int32 value, output) INL; 317 static inline void WriteSInt64NoTag (int64 value, output) INL; 318 static inline void WriteFixed32NoTag (uint32 value, output) INL; 319 static inline void WriteFixed64NoTag (uint64 value, output) INL; [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
D | main-scripts.rb | 50 output = StringIO.new 52 LexerMainWithSourceFile::Lexer.main( [], :input => input, :output => output ) 54 out_lines = output.string.split( /\n/ ) 63 output = StringIO.new 73 LexerMainFromStdIO::Lexer.main( [], :input => input, :output => output ) 74 lines = output.string.split( /\n/ ) 88 output = StringIO.new 93 :input => input, :output => output ) 94 lines = output.string.split( "\n" ) 112 output = StringIO.new [all …]
|
/external/webkit/Source/WebCore/webaudio/ |
D | AudioNodeInput.cpp | 48 void AudioNodeInput::connect(AudioNodeOutput* output) in connect() argument 52 ASSERT(output && node()); in connect() 53 if (!output || !node()) in connect() 57 if (m_outputs.contains(output)) in connect() 60 output->addInput(this); in connect() 61 m_outputs.add(output); in connect() 68 void AudioNodeInput::disconnect(AudioNodeOutput* output) in disconnect() argument 72 ASSERT(output && node()); in disconnect() 73 if (!output || !node()) in disconnect() 77 if (m_outputs.contains(output)) { in disconnect() [all …]
|
/external/chromium/googleurl/src/ |
D | url_canon_etc.cc | 111 CanonOutput* output, in DoScheme() argument 115 *out_scheme = url_parse::Component(output->length(), 0); in DoScheme() 116 output->push_back(':'); in DoScheme() 121 out_scheme->begin = output->length(); in DoScheme() 144 output->push_back(replacement); in DoScheme() 150 output->push_back('%'); in DoScheme() 157 AppendUTF8EscapedChar(spec, &i, end, output); in DoScheme() 163 out_scheme->len = output->length() - out_scheme->begin; in DoScheme() 164 output->push_back(':'); in DoScheme() 177 CanonOutput* output, in DoUserInfo() argument [all …]
|
D | url_canon_host.cc | 140 CanonOutputT<OUTCHAR>* output, in DoSimpleHost() argument 155 AppendEscapedChar('%', output); in DoSimpleHost() 166 AppendEscapedChar(source, output); in DoSimpleHost() 170 AppendEscapedChar(source, output); in DoSimpleHost() 175 output->push_back(replacement); in DoSimpleHost() 181 output->push_back(static_cast<OUTCHAR>(source)); in DoSimpleHost() 190 bool DoIDNHost(const char16* src, int src_len, CanonOutput* output) { in DoIDNHost() argument 203 AppendInvalidNarrowString(src, 0, src_len, output); in DoIDNHost() 212 output, &has_non_ascii); in DoIDNHost() 221 bool has_non_ascii, bool has_escaped, CanonOutput* output) { in DoComplexHost() argument [all …]
|
D | url_canon_internal.h | 97 CanonOutput* output); 100 CanonOutput* output); 150 CanonOutputT<OUTCHAR>* output) { in AppendEscapedChar() argument 151 output->push_back('%'); in AppendEscapedChar() 152 output->push_back(kHexCharLookup[ch >> 4]); in AppendEscapedChar() 153 output->push_back(kHexCharLookup[ch & 0xf]); in AppendEscapedChar() 181 inline void DoAppendUTF8(unsigned char_value, Output* output) { in DoAppendUTF8() argument 183 Appender(static_cast<unsigned char>(char_value), output); in DoAppendUTF8() 187 output); in DoAppendUTF8() 189 output); in DoAppendUTF8() [all …]
|
D | url_canon_internal_file.h | 54 CanonOutput* output) { in FileDoDriveSpec() argument 68 output->push_back(spec[after_slashes] - 'a' + 'A'); in FileDoDriveSpec() 70 output->push_back(static_cast<char>(spec[after_slashes])); in FileDoDriveSpec() 73 output->push_back(':'); in FileDoDriveSpec() 74 output->push_back('/'); in FileDoDriveSpec() 82 CanonOutput* output) { in FileDoPath() argument 99 spec, sub_path, output, &fake_output_path); in FileDoPath() 106 CanonOutput* output, in DoCanonicalizeFileURL() argument 115 new_parsed->scheme.begin = output->length(); in DoCanonicalizeFileURL() 116 output->push_back('f'); in DoCanonicalizeFileURL() [all …]
|
D | url_canon_fileurl.cc | 50 CanonOutput* output) { in FileDoDriveSpec() argument 61 output->push_back('/'); in FileDoDriveSpec() 68 output->push_back(spec[after_slashes] - 'a' + 'A'); in FileDoDriveSpec() 70 output->push_back(static_cast<char>(spec[after_slashes])); in FileDoDriveSpec() 73 output->push_back(':'); in FileDoDriveSpec() 82 CanonOutput* output, in DoFileCanonicalizePath() argument 85 out_path->begin = output->length(); in DoFileCanonicalizePath() 88 after_drive = FileDoDriveSpec(spec, path.begin, path.end(), output); in DoFileCanonicalizePath() 103 success = CanonicalizePath(spec, sub_path, output, &fake_output_path); in DoFileCanonicalizePath() 106 output->push_back('/'); in DoFileCanonicalizePath() [all …]
|
/external/protobuf/gtest/test/ |
D | gtest_output_test.py | 105 def RemoveStackTraceDetails(output): argument 110 'Stack trace: (omitted)\n\n', output) 113 def RemoveStackTraces(output): argument 117 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 120 def RemoveTime(output): argument 123 return re.sub(r'\(\d+ ms', '(? ms', output) 126 def RemoveTestCounts(output): argument 129 output = re.sub(r'\d+ tests, listed below', 130 '? tests, listed below', output) 131 output = re.sub(r'\d+ FAILED TESTS', [all …]
|
/external/libxml2/ |
D | debugXML.c | 42 FILE *output; /* the output file */ member 64 ctxt->output = stdout; in xmlCtxtDumpInitCtxt() 142 if ((ctxt->output != NULL) && (ctxt->depth > 0)) { in xmlCtxtDumpSpaces() 144 fprintf(ctxt->output, "%s", &ctxt->shift[100 - 2 * ctxt->depth]); in xmlCtxtDumpSpaces() 146 fprintf(ctxt->output, "%s", ctxt->shift); in xmlCtxtDumpSpaces() 430 fprintf(ctxt->output, "(NULL)"); in xmlCtxtDumpString() 437 fputc(' ', ctxt->output); in xmlCtxtDumpString() 439 fprintf(ctxt->output, "#%X", str[i]); in xmlCtxtDumpString() 441 fputc(str[i], ctxt->output); in xmlCtxtDumpString() 442 fprintf(ctxt->output, "..."); in xmlCtxtDumpString() [all …]
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
D | _speedups.c | 9 ascii_escape_char(Py_UNICODE c, char *output, Py_ssize_t chars); 28 ascii_escape_char(Py_UNICODE c, char *output, Py_ssize_t chars) { in ascii_escape_char() argument 30 output[chars++] = '\\'; in ascii_escape_char() 32 case '/': output[chars++] = (char)c; break; in ascii_escape_char() 33 case '\\': output[chars++] = (char)c; break; in ascii_escape_char() 34 case '"': output[chars++] = (char)c; break; in ascii_escape_char() 35 case '\b': output[chars++] = 'b'; break; in ascii_escape_char() 36 case '\f': output[chars++] = 'f'; break; in ascii_escape_char() 37 case '\n': output[chars++] = 'n'; break; in ascii_escape_char() 38 case '\r': output[chars++] = 'r'; break; in ascii_escape_char() [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest2Test.java | 99 DataOutputStream output = new DataOutputStream(out); in testSerializationSHA_DATA_2() local 103 output in testSerializationSHA_DATA_2() 105 output.writeInt(0); // class modifiers in testSerializationSHA_DATA_2() 106 output.writeUTF("java.io.Serializable"); // interfaces in testSerializationSHA_DATA_2() 109 output.writeUTF("sub_toBeNotSerialized"); // name in testSerializationSHA_DATA_2() 110 output.writeInt(9); // modifiers in testSerializationSHA_DATA_2() 111 output.writeUTF("Ljava/lang/String;"); // signature in testSerializationSHA_DATA_2() 113 output.writeUTF("sub_toBeNotSerialized2"); // name in testSerializationSHA_DATA_2() 114 output.writeInt(9); // modifiers in testSerializationSHA_DATA_2() 115 output.writeUTF("Ljava/lang/String;"); // signature in testSerializationSHA_DATA_2() [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/test/ |
D | gtest_output_test.py | 104 def RemoveStackTraceDetails(output): argument 109 'Stack trace: (omitted)\n\n', output) 112 def RemoveStackTraces(output): argument 116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 119 def RemoveTime(output): argument 122 return re.sub(r'\(\d+ ms', '(? ms', output) 153 def RemoveTestCounts(output): argument 156 output = re.sub(r'\d+ tests?, listed below', 157 '? tests, listed below', output) 158 output = re.sub(r'\d+ FAILED TESTS', [all …]
|
/external/chromium/testing/gtest/test/ |
D | gtest_output_test.py | 104 def RemoveStackTraceDetails(output): argument 109 'Stack trace: (omitted)\n\n', output) 112 def RemoveStackTraces(output): argument 116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 119 def RemoveTime(output): argument 122 return re.sub(r'\(\d+ ms', '(? ms', output) 153 def RemoveTestCounts(output): argument 156 output = re.sub(r'\d+ tests?, listed below', 157 '? tests, listed below', output) 158 output = re.sub(r'\d+ FAILED TESTS', [all …]
|
/external/gtest/test/ |
D | gtest_output_test.py | 104 def RemoveStackTraceDetails(output): argument 109 'Stack trace: (omitted)\n\n', output) 112 def RemoveStackTraces(output): argument 116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 119 def RemoveTime(output): argument 122 return re.sub(r'\(\d+ ms', '(? ms', output) 153 def RemoveTestCounts(output): argument 156 output = re.sub(r'\d+ tests?, listed below', 157 '? tests, listed below', output) 158 output = re.sub(r'\d+ FAILED TESTS', [all …]
|
/external/libvpx/libvpx/test/ |
D | idctllm_test.cc | 33 output[i] = ((i&0xF)<4&&(i<64))?0:-1; in SetUp() 38 unsigned char output[256]; member in __anon21bee90a0111::IDCTTest 48 EXPECT_EQ(0, output[i]) << i; in TEST_P() 50 EXPECT_EQ(255, output[i]); in TEST_P() 57 UUT(input, output, 16, output, 16); in TEST_P() 61 EXPECT_EQ(0, output[i]) << "i==" << i; in TEST_P() 63 EXPECT_EQ(255, output[i]) << "i==" << i; in TEST_P() 71 UUT(input, output, 16, output, 16); in TEST_P() 75 EXPECT_EQ(1, output[i]) << "i==" << i; in TEST_P() 77 EXPECT_EQ(255, output[i]) << "i==" << i; in TEST_P() [all …]
|