/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 …]
|
D | message_lite.cc | 228 bool MessageLite::SerializeToCodedStream(io::CodedOutputStream* output) const { in SerializeToCodedStream() 230 return SerializePartialToCodedStream(output); in SerializeToCodedStream() 234 io::CodedOutputStream* output) const { in SerializePartialToCodedStream() 236 uint8* buffer = output->GetDirectBufferForNBytesAndAdvance(size); in SerializePartialToCodedStream() 244 int original_byte_count = output->ByteCount(); in SerializePartialToCodedStream() 245 SerializeWithCachedSizes(output); in SerializePartialToCodedStream() 246 if (output->HadError()) { in SerializePartialToCodedStream() 249 int final_byte_count = output->ByteCount(); in SerializePartialToCodedStream() 261 io::ZeroCopyOutputStream* output) const { in SerializeToZeroCopyStream() 262 io::CodedOutputStream encoder(output); in SerializeToZeroCopyStream() [all …]
|
D | descriptor_database.cc | 200 vector<int>* output) { in FindAllExtensionNumbers() argument 207 output->push_back(it->first.second); in FindAllExtensionNumbers() 269 FileDescriptorProto* output) { in FindFileByName() argument 270 return MaybeCopy(index_.FindFile(filename), output); in FindFileByName() 275 FileDescriptorProto* output) { in FindFileContainingSymbol() argument 276 return MaybeCopy(index_.FindSymbol(symbol_name), output); in FindFileContainingSymbol() 282 FileDescriptorProto* output) { in FindFileContainingExtension() argument 283 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension() 288 vector<int>* output) { in FindAllExtensionNumbers() argument 289 return index_.FindAllExtensionNumbers(extendee_type, output); in FindAllExtensionNumbers() [all …]
|
D | descriptor_database.h | 72 FileDescriptorProto* output) = 0; 78 FileDescriptorProto* output) = 0; 86 FileDescriptorProto* output) = 0; 99 vector<int>* output) { in FindAllExtensionNumbers() argument 144 FileDescriptorProto* output); 146 FileDescriptorProto* output); 149 FileDescriptorProto* output); 151 vector<int>* output); 176 vector<int>* output); 256 FileDescriptorProto* output); [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() 428 fprintf(ctxt->output, "(NULL)"); in xmlCtxtDumpString() 435 fputc(' ', ctxt->output); in xmlCtxtDumpString() 437 fprintf(ctxt->output, "#%X", str[i]); in xmlCtxtDumpString() 439 fputc(str[i], ctxt->output); in xmlCtxtDumpString() 440 fprintf(ctxt->output, "..."); in xmlCtxtDumpString() [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() 139 output->push_back(replacement); in DoScheme() 145 output->push_back('%'); in DoScheme() 152 AppendUTF8EscapedChar(spec, &i, end, output); in DoScheme() 158 out_scheme->len = output->length() - out_scheme->begin; in DoScheme() 159 output->push_back(':'); in DoScheme() 172 CanonOutput* output, in DoUserInfo() argument [all …]
|
D | url_canon_internal.h | 96 CanonOutput* output); 99 CanonOutput* output); 149 CanonOutputT<OUTCHAR>* output) { in AppendEscapedChar() argument 150 output->push_back('%'); in AppendEscapedChar() 151 output->push_back(kHexCharLookup[ch >> 4]); in AppendEscapedChar() 152 output->push_back(kHexCharLookup[ch & 0xf]); in AppendEscapedChar() 177 inline void DoAppendUTF8(unsigned char_value, Output* output) { in DoAppendUTF8() argument 179 Appender(static_cast<unsigned char>(char_value), output); in DoAppendUTF8() 183 output); in DoAppendUTF8() 185 output); in DoAppendUTF8() [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_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_path.cc | 174 CanonOutput* output) { in BackUpToPreviousSlash() argument 175 DCHECK(output->length() > 0); in BackUpToPreviousSlash() 177 int i = output->length() - 1; in BackUpToPreviousSlash() 178 DCHECK(output->at(i) == '/'); in BackUpToPreviousSlash() 184 while (output->at(i) != '/' && i > path_begin_in_output) in BackUpToPreviousSlash() 188 output->set_length(i + 1); in BackUpToPreviousSlash() 208 CanonOutput* output) { in DoPartialPath() argument 220 success &= AppendUTF8EscapedChar(spec, &i, end, output); in DoPartialPath() 238 DCHECK(output->length() > path_begin_in_output); in DoPartialPath() 239 if (output->length() > path_begin_in_output && in DoPartialPath() [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 …]
|
D | url_canon_query.cc | 85 CanonOutput* output) { in AppendRaw8BitQueryString() argument 88 AppendEscapedChar(static_cast<unsigned char>(source[i]), output); in AppendRaw8BitQueryString() 90 output->push_back(static_cast<char>(source[i])); in AppendRaw8BitQueryString() 99 CanonOutput* output) { in RunConverter() argument 104 converter->ConvertFromUTF16(utf16.data(), utf16.length(), output); in RunConverter() 113 CanonOutput* output) { in RunConverter() argument 114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output); in RunConverter() 121 CanonOutput* output) { in DoConvertToQueryEncoding() argument 124 AppendRaw8BitQueryString(&spec[query.begin], query.len, output); in DoConvertToQueryEncoding() 133 AppendRaw8BitQueryString(eight_bit.data(), eight_bit.length(), output); in DoConvertToQueryEncoding() [all …]
|
D | url_canon_relative.cc | 186 CanonOutput* output) { in CopyToLastSlash() argument 200 output->push_back(spec[i]); in CopyToLastSlash() 209 CanonOutput* output, in CopyOneComponent() argument 217 output_component->begin = output->length(); in CopyOneComponent() 220 output->push_back(source[i]); in CopyOneComponent() 221 output_component->len = output->length() - output_component->begin; in CopyOneComponent() 242 CanonOutput* output) { in CopyBaseDriveSpecIfNecessary() argument 260 output->push_back('/'); in CopyBaseDriveSpecIfNecessary() 261 output->push_back(base_url[base_path_begin + 1]); in CopyBaseDriveSpecIfNecessary() 262 output->push_back(base_url[base_path_begin + 2]); in CopyBaseDriveSpecIfNecessary() [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/webkit/WebKitTools/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/gtest/test/ |
D | gtest_output_test.py | 89 def RemoveLocations(output): argument 102 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', output) 105 def RemoveStackTraces(output): argument 110 'Stack trace: (omitted)\n\n', output) 113 def RemoveTime(output): argument 116 return re.sub(r'\(\d+ ms', '(? ms', output) 119 def RemoveTestCounts(output): argument 122 output = re.sub(r'\d+ tests from \d+ test cases', 123 '? tests from ? test cases', output) 124 return re.sub(r'\d+ tests\.', '? tests.', output) [all …]
|
/external/chromium/base/ |
D | utf_string_conversions.cc | 26 DEST_STRING* output) { in ConvertUnicode() argument 33 WriteUnicodeCharacter(code_point, output); in ConvertUnicode() 35 WriteUnicodeCharacter(0xFFFD, output); in ConvertUnicode() 47 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { in WideToUTF8() argument 48 PrepareForUTF8Output(src, src_len, output); in WideToUTF8() 49 return ConvertUnicode(src, src_len, output); in WideToUTF8() 60 bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output) { in UTF8ToWide() argument 61 PrepareForUTF16Or32Output(src, src_len, output); in UTF8ToWide() 62 return ConvertUnicode(src, src_len, output); in UTF8ToWide() 76 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() argument [all …]
|
D | utf_string_conversion_utils.cc | 71 size_t WriteUnicodeCharacter(uint32 code_point, std::string* output) { in WriteUnicodeCharacter() argument 74 output->push_back(code_point); in WriteUnicodeCharacter() 80 size_t char_offset = output->length(); in WriteUnicodeCharacter() 82 output->resize(char_offset + CBU8_MAX_LENGTH); in WriteUnicodeCharacter() 84 CBU8_APPEND_UNSAFE(&(*output)[0], char_offset, code_point); in WriteUnicodeCharacter() 88 output->resize(char_offset); in WriteUnicodeCharacter() 92 size_t WriteUnicodeCharacter(uint32 code_point, string16* output) { in WriteUnicodeCharacter() argument 95 output->push_back(static_cast<char16>(code_point)); in WriteUnicodeCharacter() 99 size_t char_offset = output->length(); in WriteUnicodeCharacter() 100 output->resize(char_offset + CBU16_MAX_LENGTH); in WriteUnicodeCharacter() [all …]
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 96 bool WriteToOutput(ZeroCopyOutputStream* output, const void* data, int size); 100 void WriteString(ZeroCopyOutputStream* output, const string& str); 107 int WriteStuff(ZeroCopyOutputStream* output); 113 int WriteStuffLarge(ZeroCopyOutputStream* output); 130 bool IoTest::WriteToOutput(ZeroCopyOutputStream* output, in WriteToOutput() argument 139 if (!output->Next(&out, &out_size)) { in WriteToOutput() 146 output->BackUp(out_size - in_size); in WriteToOutput() 193 void IoTest::WriteString(ZeroCopyOutputStream* output, const string& str) { in WriteString() argument 194 EXPECT_TRUE(WriteToOutput(output, str.c_str(), str.size())); in WriteString() 204 int IoTest::WriteStuff(ZeroCopyOutputStream* output) { in WriteStuff() argument [all …]
|
D | printer_unittest.cc | 56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST() local 57 Printer printer(&output, '\0'); in TEST() 65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST() local 68 Printer printer(&output, '\0'); in TEST() 77 buffer[output.ByteCount()] = '\0'; in TEST() 90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST() local 94 Printer printer(&output, '$'); in TEST() 103 buffer[output.ByteCount()] = '\0'; in TEST() 118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST() local 121 Printer printer(&output, '$'); in TEST() [all …]
|
/external/libvpx/examples/includes/HTML-Toc-0.91/t/ |
D | propagate.t | 13 my ($output, $content, $filename); 46 $tocInsertor->insert($toc, "<h1>Header</h1>", {'output' => \$output}); 47 ok($output, "<ul>\n<li>Header\n</ul><h1>Header</h1>"); 52 $tocInsertor->insertIntoFile($toc, $filename, {'output' => \$output}); 53 ok($output, "<ul>\n<li>Header\n</ul><h1>Header</h1>\n"); 59 $tocInsertor->insert($toc, "<h1>Header</h1>", {'output' => \$output}); 60 ok("$output\n", <<'EOT'); 72 $tocInsertor->insertIntoFile($toc, $filename, {'output' => \$output}); 73 ok($output, "<ul>\n<li><1${filename}testh>Header</a>\n</ul><a name=h-1><h1>Header</h1></a>\n"); 83 $tocInsertor->insert($toc, "<h1>Header</h1>", {'output' => \$output}); [all …]
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 83 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() local 84 output.writeRawVarint32((int) value); in assertWriteVarint() 85 output.flush(); in assertWriteVarint() 95 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() local 96 output.writeRawVarint64(value); in assertWriteVarint() 97 output.flush(); in assertWriteVarint() 110 CodedOutputStream output = in assertWriteVarint() local 112 output.writeRawVarint32((int) value); in assertWriteVarint() 113 output.flush(); in assertWriteVarint() 119 CodedOutputStream output = in assertWriteVarint() local [all …]
|
/external/webkit/SunSpider/ |
D | make-hosted | 72 my $output = $template; 73 $output =~ s/\@NAME\@/${name}/g; 74 $output =~ s/\@SCRIPT\@/${script}/g; 75 $output =~ s/\\/\\\\/g; 76 $output =~ s/"/\\"/g; 77 $output =~ s/\n/\\n\\\n/g; 78 $output = $output; 79 push @testContents, $output; 82 my $output = $driverTemplate; 83 $output =~ s/\@SUITE\@/${suite}/g; [all …]
|