| /third_party/zlib/test/ |
| H A D | minigzip.c | 166 int write; member 180 gz->write = strchr(mode, 'w') != NULL; in gz_open() 184 if (gz->write) in gz_open() 195 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") : in gz_open() 196 fopen(path, gz->write ? "wb" : "rb"); in gz_open() 198 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); in gz_open() 222 if (gz == NULL || !gz->write) in gzwrite() 243 if (gz == NULL || gz->write) in gzread() 276 if (gz->write) { in gzclose() 530 * -c : write t [all...] |
| /third_party/ffmpeg/libavcodec/x86/ |
| H A D | videodsp.asm | 18 ;* License along with FFmpeg; if not, write to the Free Software 34 movu [dstq+wq], m0 ; write(m0, $mmsize) 39 movu [dstq-mmsize], m0 ; write(m0, $mmsize) 102 movu [dstq+wq*2], m0 ; write($reg, $mmsize) 106 movu [dstq-mmsize], m0 ; write($reg, $mmsize) 121 ; macro to read/write a horizontal number of pixels (%2) to/from registers 247 ; they read a fixed number of pixels into set registers, and write 290 WRITE_NUM_BYTES top, %%n ; write($variable_regs, $n) 298 WRITE_NUM_BYTES body, %%n ; write($variable_regs, $n) 310 WRITE_NUM_BYTES bottom, %%n ; write( [all...] |
| /third_party/mesa3d/src/intel/vulkan/ |
| H A D | anv_descriptor_set.c | 1218 * will always write in the immutable sampler regardless of what in anv_descriptor_set_create() 1230 * we lazy allocate this in the write anyway. in anv_descriptor_set_create() 1731 const VkWriteDescriptorSet *write = &pDescriptorWrites[i]; in anv_UpdateDescriptorSets() local 1732 ANV_FROM_HANDLE(anv_descriptor_set, set, write->dstSet); in anv_UpdateDescriptorSets() 1734 switch (write->descriptorType) { in anv_UpdateDescriptorSets() 1740 for (uint32_t j = 0; j < write->descriptorCount; j++) { in anv_UpdateDescriptorSets() 1742 write->pImageInfo + j, in anv_UpdateDescriptorSets() 1743 write->descriptorType, in anv_UpdateDescriptorSets() 1744 write->dstBinding, in anv_UpdateDescriptorSets() 1745 write in anv_UpdateDescriptorSets() [all...] |
| /third_party/rust/crates/termcolor/src/ |
| H A D | lib.rs | 23 program, each thread might write to its own buffer. A buffer can be printed to 37 For example, to write some green text: 60 A `BufferWriter` can create buffers and write buffers to stdout or stderr. It 106 // ... write to stdout 245 /// Returns true if we should attempt to write colored output. 326 write!( in fmt() 394 fn write(&mut self, b: &[u8]) -> io::Result<usize> { in write() functions 396 IoStandardStream::Stdout(ref mut s) => s.write(b), in write() 397 IoStandardStream::Stderr(ref mut s) => s.write(b), in write() 398 IoStandardStream::StdoutBuffered(ref mut s) => s.write( in write() 424 fn write(&mut self, b: &[u8]) -> io::Result<usize> { write() functions 655 fn write(&mut self, b: &[u8]) -> io::Result<usize> { write() functions 689 fn write(&mut self, b: &[u8]) -> io::Result<usize> { write() functions 723 fn write(&mut self, b: &[u8]) -> io::Result<usize> { write() functions 760 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 827 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 1191 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 1277 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 1338 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 1609 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 2140 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions 2145 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { write() functions [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
| H A D | json_generator.py | 15 regSortFeatures, write) 164 str.write(&d[0], sizeof(d)); 234 str.write(&d[0], sizeof(d)); 337 write("static void print_%s(const %s * const* o, const std::string& s, bool commaNeeded=true)\n" %(baseType, self.baseTypeListMap[baseType]) + 358 write("static void print_%s(%s o, const std::string& s, bool commaNeeded=true)\n" %(baseType, self.baseTypeListMap[baseType]) + 382 write("static void print_%s(const %s * o, const std::string& s, bool commaNeeded=true)\n" %(baseType, self.baseTypeListMap[baseType]) + 531 write(headerGuardTop, file=self.outFile, end='') 532 write(copyright, file=self.outFile) 534 write(predefinedCode % ("deUint32", "deUint32"), file=self.outFile) 536 write(predefinedCod [all...] |
| /third_party/skia/src/core/ |
| H A D | SkStream.cpp | 78 return this->write(buffer, stop - buffer); in writeDecAsText() 85 return this->write(buffer, stop - buffer); in writeBigDecAsText() 92 return this->write(tmp.c_str(), tmp.size()); in writeHexAsText() 99 return this->write(buffer, stop - buffer); in writeScalarAsText() 103 return this->write(&value, sizeof(value)); in writeScalar() 132 return this->write(data, len); in writePackedUInt() 145 if (!this->write(scratch, n)) { in writeStream() 423 bool SkFILEWStream::write(const void* buffer, size_t size) in write() function in SkFILEWStream 532 bool SkDynamicMemoryWStream::write(const void* buffer, size_t count) { in write() function in SkDynamicMemoryWStream 642 if (!dst->write(bloc in writeToStream() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| H A D | raw_ostream.cpp | 222 raw_ostream &raw_ostream::write(unsigned char C) { in write() function in raw_ostream 232 return write(C); in write() 242 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { in write() function in raw_ostream 252 return write(Ptr, Size); in write() 258 // than the buffer. Directly write the chunk that is a multiple of the in write() 267 return write(Ptr + BytesToWrite, BytesRemaining); in write() 277 return write(Ptr + NumBytes, Size - NumBytes); in write() 337 return write(V.data(), BytesUsed); in operator <<() 484 return OS.write(Chars, NumChars); in write_padding() 489 OS.write(Char in write_padding() [all...] |
| /third_party/vk-gl-cts/modules/glshared/ |
| H A D | glsBufferTestUtil.cpp | 259 void BufferWriterBase::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint) in write() function in deqp::gls::BufferTestUtil::BufferWriterBase 262 write(buffer, offset, numBytes, bytes); in write() 284 void BufferWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) in write() function in deqp::gls::BufferTestUtil::BufferWriter 289 return m_writer->write(buffer, offset, numBytes, bytes); in write() 292 void BufferWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint) in write() function in deqp::gls::BufferTestUtil::BufferWriter 297 return m_writer->write(buffer, offset, numBytes, bytes, targetHint); in write() 302 void BufferSubDataWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) in write() function in deqp::gls::BufferTestUtil::BufferSubDataWriter 304 write(buffer, offset, numBytes, bytes, GL_ARRAY_BUFFER); in write() 307 void BufferSubDataWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 target) in write() function in deqp::gls::BufferTestUtil::BufferSubDataWriter 317 void BufferWriteMapWriter::write (deUint3 function in deqp::gls::BufferTestUtil::BufferWriteMapWriter 322 void BufferWriteMapWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 target) write() function in deqp::gls::BufferTestUtil::BufferWriteMapWriter [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| H A D | RBBIRuleBuilder.java | 242 // write out the Trie table in flattenData() 247 dos.write(0); in flattenData() 259 dos.write(0); in flattenData() 266 dos.write(strippedRulesUTF8, 0, strippedRulesUTF8.length); in flattenData() 267 dos.write(0); // Null termination in flattenData() 270 dos.write(0); in flattenData() 292 * Compile rules to the binary form, write that to an output stream.
|
| /third_party/icu/icu4c/source/test/depstest/ |
| H A D | depstest.py | 161 sys.stderr.write("Info: ignoring %s imports %s\n\n" % (file_name, symbol)) 169 sys.stderr.write("Error: in %s %s: %s imports %s %s\n" % 196 sys.stderr.write("Error: files missing from dependencies.txt:\n%s\n" % 200 sys.stderr.write("Error: files in dependencies.txt but not built:\n%s\n" % 209 sys.stderr.write("Error: Some classes have virtual methods, and "
|
| /third_party/mbedtls/tests/scripts/ |
| H A D | test_psa_constant_names.py | 141 sys.stdout.write('{} {}\t{}\n'.format(type_word, value, output)) 158 Also write a total. 161 out.write('For {} "{}", got "{}" (value: {})\n' 164 out.write('{} test cases'.format(self.count)) 166 out.write(', {} FAIL\n'.format(len(self.errors))) 168 out.write(' PASS\n')
|
| H A D | generate_psa_wrappers.py | 121 out.write(' MBEDTLS_TEST_MEMORY_{}({}, {});\n'.format( 135 out.write('#if !defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)\n') 138 out.write('#endif /* !defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS) */\n') 169 out.write(""" 181 out.write("""
|
| /third_party/node/lib/internal/streams/ |
| H A D | duplexify.js | 86 const { value, write, final, destroy } = fromAsyncGen(body); 92 write, 119 write, 226 write(chunk, encoding, cb) { 289 if (w.write(chunk, encoding)) {
|
| /third_party/node/test/parallel/ |
| H A D | test-webstreams-abort-controller.js | 21 write(chunk) { 132 assert.rejects(writer.write('b'), /AbortError/).then(common.mustCall()); 136 writer.write('a').then(() => { 157 assert.rejects(writer1.write('a'), /AbortError/).then(common.mustCall()); 163 assert.rejects(writer2.write('a'), /AbortError/).then(common.mustCall());
|
| /third_party/node/deps/npm/node_modules/gauge/lib/ |
| H A D | index.js | 21 if (arg1 && arg1.write) { 24 } else if (arg2 && arg2.write) { 267 return this._writeTo.write(result) 276 this._writeTo.write(this._gauge.hideCursor()) 282 if (!this._writeTo.write(this._gauge.show(this._status))) {
|
| /third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
| H A D | utf7.js | 26 Utf7Encoder.prototype.write = function(str) { 57 Utf7Decoder.prototype.write = function(buf) { 151 Utf7IMAPEncoder.prototype.write = function(str) { 162 bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); 187 bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx); 204 bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); 227 Utf7IMAPDecoder.prototype.write = function(buf) {
|
| /third_party/python/Lib/test/ |
| H A D | ssl_servers.py | 41 sys.stderr.write("Got an error:\n%s\n" % e) 78 sys.stdout.write(" server (%s:%d %s):\n [%s] %s\n" % 109 self.wfile.write(body) 162 sys.stdout.write('stopping HTTPS server\n') 165 sys.stdout.write('joining HTTPS thread\n')
|
| /third_party/python/Lib/distutils/command/ |
| H A D | upload.py | 174 body.write(sep_boundary) 175 body.write(title.encode('utf-8')) 176 body.write(b"\r\n\r\n") 177 body.write(value) 178 body.write(end_boundary)
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
| H A D | main.py | 133 f.write(checker.getEntityJson()) 209 f.write('#!/bin/sh -e\n') 215 f.write('\n# {}\n'.format(fileChecker.filename)) 218 f.write( 223 f.write('\n')
|
| /third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
| H A D | trace.cpp | 72 event->write(out); in Trace() 197 void Trace::Event::write(std::ostream& out) const { in write() function in marl::Trace::Event 227 void Trace::NameThreadEvent::write(std::ostream& out) const { in write() function in marl::Trace::NameThreadEvent 238 void Trace::AsyncEvent::write(std::ostream& out) const { in write() function in marl::Trace::AsyncEvent 241 Event::write(out); in write()
|
| /third_party/skia/tools/android/ |
| H A D | upload_to_android.py | 73 f.write(content) 141 f.write('#ifndef SK_DEBUG\n') 142 f.write('#define SK_DEBUG\n') 143 f.write('#endif//SK_DEBUG\n') 192 f.write(line)
|
| /third_party/python/Lib/distutils/tests/ |
| H A D | test_file_util.py | 40 f.write('some content') 70 fobj.write('spam eggs') 79 fobj.write('spam eggs') 85 f.write('some content') 109 f.write('some content')
|
| /third_party/PyYAML/lib/yaml/ |
| H A D | emitter.py | 41 # The stream should have the methods `write` and possibly `flush`. 795 self.stream.write('\uFEFF'.encode(self.encoding)) 812 self.stream.write(data) 825 self.stream.write(data) 836 self.stream.write(data) 842 self.stream.write(data) 849 self.stream.write(data) 873 self.stream.write(data) 893 self.stream.write(data) 900 self.stream.write(dat [all...] |
| /third_party/littlefs/scripts/ |
| H A D | tracebd.py | 64 def write(self, s): member in LinesIO 69 self.tail.write(lines[0]) 76 self.tail.write(lines[-1]) 93 sys.stdout.write('\n') 100 sys.stdout.write('\r') 102 sys.stdout.write('\x1b[%dA' % (shrink-1-i)) 103 sys.stdout.write('\x1b[K') 105 sys.stdout.write('\x1b[%dB' % (shrink-1-i)) 106 sys.stdout.write('\x1b[%dA' % shrink) 111 sys.stdout.write('\ [all...] |
| /third_party/mesa3d/src/intel/compiler/ |
| H A D | brw_eu.h | 370 unreachable("unhandled URB write generation"); in brw_urb_desc() 583 * Construct a message descriptor immediate with the specified dataport write 715 bool write) in brw_dp_untyped_surface_rw_desc() 720 if (write) { in brw_dp_untyped_surface_rw_desc() 736 if (write && devinfo->verx10 == 70 && exec_size == 0) in brw_dp_untyped_surface_rw_desc() 769 bool write) in brw_dp_byte_scattered_rw_desc() 775 write ? HSW_DATAPORT_DC_PORT0_BYTE_SCATTERED_WRITE : in brw_dp_byte_scattered_rw_desc() 789 bool write) in brw_dp_dword_scattered_rw_desc() 794 if (write) { in brw_dp_dword_scattered_rw_desc() 821 bool write) in brw_dp_oword_block_rw_desc() 712 brw_dp_untyped_surface_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned num_channels, bool write) brw_dp_untyped_surface_rw_desc() argument 766 brw_dp_byte_scattered_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned bit_size, bool write) brw_dp_byte_scattered_rw_desc() argument 787 brw_dp_dword_scattered_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, bool write) brw_dp_dword_scattered_rw_desc() argument 818 brw_dp_oword_block_rw_desc(const struct intel_device_info *devinfo, bool align_16B, unsigned num_dwords, bool write) brw_dp_oword_block_rw_desc() argument 838 brw_dp_a64_untyped_surface_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned num_channels, bool write) brw_dp_a64_untyped_surface_rw_desc() argument 863 brw_dp_a64_oword_block_rw_desc(const struct intel_device_info *devinfo, bool align_16B, unsigned num_dwords, bool write) brw_dp_a64_oword_block_rw_desc() argument 901 brw_dp_a64_byte_scattered_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned bit_size, bool write) brw_dp_a64_byte_scattered_rw_desc() argument 1006 brw_dp_typed_surface_rw_desc(const struct intel_device_info *devinfo, unsigned exec_size, unsigned exec_group, unsigned num_channels, bool write) brw_dp_typed_surface_rw_desc() argument [all...] |