| /third_party/python/Tools/scripts/ |
| H A D | fixdiv.py | 19 write a test script specifically intended to exercise all code in a 157 sys.stderr.write("%s: extra file arguments ignored\n", sys.argv[0]) 173 sys.stderr.write("%s: %s\n" % (sys.argv[0], msg)) 174 sys.stderr.write("Usage: %s [-m] warnings\n" % sys.argv[0]) 175 sys.stderr.write("Try `%s -h' for more information.\n" % sys.argv[0]) 186 sys.stderr.write("can't open: %s\n" % msg) 196 sys.stderr.write("Warning: ignored input " + line) 211 sys.stderr.write("can't open: %s\n" % msg)
|
| /third_party/python/Lib/distutils/command/ |
| H A D | register.py | 267 body.write(sep_boundary) 268 body.write('\nContent-Disposition: form-data; name="%s"'%key) 269 body.write("\n\n") 270 body.write(value) 272 body.write('\n') # write an extra newline (lurve Macs) 273 body.write(end_boundary) 274 body.write("\n")
|
| /third_party/vk-gl-cts/execserver/ |
| H A D | xsProtocol.cpp | 171 void HelloMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::HelloMessage 185 void TestMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::TestMessage 202 void ExecuteBinaryMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::ExecuteBinaryMessage 219 void ProcessLogDataMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::ProcessLogDataMessage 233 void ProcessLaunchFailedMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::ProcessLaunchFailedMessage 247 void ProcessFinishedMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::ProcessFinishedMessage 261 void InfoMessage::write (vector<deUint8>& buf) const in write() function in xs::MessageParser::InfoMessage
|
| /third_party/python/Lib/test/ |
| H A D | test_pipes.py | 34 f.write('hello world #1') 42 f.write('hello world #2') 53 f.write('hello world #2') 66 f.write(d) 68 f.write('') 78 f.write(d) 87 # write through empty pipe 91 f.write(d)
|
| H A D | test_fileio.py | 39 p.write(bytes(range(10))) 47 self.f.write(bytes(range(20))) 84 self.f.write(bytes([1, 2, 0, 255])) 94 self.f.write(bytes([1, 2, 0, 255])) 110 self.f.write(bytes([1, 2, 0, 255])) 153 self.f.write(b"hi\nbye\nabc") 162 self.assertRaises(TypeError, self.f.write, "Hello!") 223 self.assertRaises(TypeError, self.f.write) 224 self.assertRaises(ValueError, self.f.write, b'') 290 f.write( [all...] |
| H A D | test_sax.py | 120 f.write(xml_str(doc, decl_encoding)) 357 tmp.write("This was read from a file.") 805 write = list.append variable in WriterXmlgenTest.ioclass 1371 self.test_data.write('<?xml version="{}" encoding="{}"?>\n'. 1374 self.test_data.write('<!DOCTYPE {} [\n'. 1376 self.test_data.write('<!-- {} -->\n'. 1378 self.test_data.write('<!ELEMENT {} (to,from,heading,body,footer)>\n'. 1380 self.test_data.write('<!ELEMENT to (#PCDATA)>\n') 1381 self.test_data.write('<!ELEMENT from (#PCDATA)>\n') 1382 self.test_data.write('<!ELEMEN [all...] |
| /third_party/python/Lib/ |
| H A D | mailbox.py | 1 """Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.""" 220 target.write(data) 223 target.write(linesep) 234 target.write(message) 237 target.write(linesep) 256 target.write(line) 260 target.write(linesep) 690 new_file.write(buffer) 810 """Format a message and blindly write to self._file.""" 832 self._file.write(from_lin [all...] |
| /base/security/selinux_adapter/scripts/ |
| H A D | build_policy_api.py | 171 cil_write.write('(typeattribute ' + add_version(version, sub_string) + ')\n') 174 cil_write.write(" ".join(elem_list)) 186 cil_write.write(" ".join(elem_list)) 198 cil_write.write(" ".join(elem_list)) 210 cil_write.write(" ".join(elem_list)) 219 cil_write.write(" ".join(['(typeattributeset', add_version(version, sub_string), '(', sub_string, '))\n'])) 220 cil_write.write(" ".join(['(expandtypeattribute', '(', add_version(version, sub_string), ') true)\n'])) 221 cil_write.write(" ".join(['(typeattribute', add_version(version, sub_string), ')\n'])) 237 cil_write.write(line) 247 cil_write.write(lin [all...] |
| /third_party/zlib/examples/ |
| H A D | gzlog.c | 11 strategy is to write the short strings in an uncompressed form to the end of 174 - Update the crc and length with the new data, and write the gzip trailer. 175 - Write over the extra field (with a single write operation) with the new 183 - Read all of the uncompressed data in the stored blocks in foo.gz and write 184 it to foo.add. Also write foo.temp with the last 32K of that data to 191 - Compress the data with the dictionary in foo.dict, and write to the 231 #include <unistd.h> /* lseek, read, write, close, unlink, sleep, */ 291 int fd; /* file descriptor for .gz file, opened read/write */ 436 point in the process. Return -1 if the write to foo.gz failed. */ 452 write(lo in log_mark() [all...] |
| /third_party/node/test/fixtures/ |
| H A D | should_exit.js | 26 process.stdout.write('keep alive\n'); 28 process.stdout.write('start\n');
|
| H A D | echo.js | 25 process.stdout.write('hello world\r\n'); 30 process.stdout.write(data.toString());
|
| /third_party/python/Lib/test/test_asyncio/ |
| H A D | echo2.py | 5 os.write(1, b'OUT:'+buf) 6 os.write(2, b'ERR:'+buf)
|
| H A D | echo3.py | 9 os.write(1, b'OUT:'+buf) 11 os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))
|
| /third_party/skia/tools/fiddle/ |
| H A D | make_all_examples_cpp.py | 11 o.write('// Copyright 2019 Google LLC.\n// Use of this source code is ' 15 o.write('#include "%s"\n' % path)
|
| /foundation/resourceschedule/ffrt/test/ut/testcase/ |
| H A D | ut_ffrt_io.cpp | 88 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 100 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 147 ssize_t n = write(testFd[i], &expected, sizeof(uint64_t)); in HWTEST_F() 192 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 239 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 266 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 294 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 331 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 360 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in HWTEST_F() 390 ssize_t n = write(testF in HWTEST_F() [all...] |
| /third_party/node/lib/ |
| H A D | repl.js | 779 self.output.write(errStack); 869 self.output.write( 895 self.write(prefix); 919 self.output.write('Invalid REPL keyword\n'); 937 self.output.write('npm should be run outside of the ' + 972 self.output.write(self.writer(ret) + '\n'); 985 self.output.write(`${self._initialPrompt}.editor\n`); 986 self.output.write( 988 self.output.write(`${self[kBufferedCommandSymbol]}\n`); 1169 this.output.write('Expressio [all...] |
| /third_party/glslang/ |
| H A D | gen_extension_headers.py | 37 header_file.write(header_string)
50 header_file.write(header_str)
69 header_file.write(contents)
|
| /third_party/NuttX/fs/vfs/ |
| H A D | fs_write.c | 45 * Equivalent to the standard write() function except that is accepts a 47 * equivalent to write() except that in addition to the differences in 55 * filep - Instance of struct file to use with the write 56 * buf - Data to write 57 * nbytes - Length of data to write 77 /* Was this file opened for write access? */ in file_write() 85 /* Is a driver registered? Does it support the write method? */ in file_write() 87 if (!filep->ops || !filep->ops->write) in file_write() 93 /* Yes, then let the driver perform the write */ in file_write() 95 ret = filep->ops->write(file in file_write() 157 ssize_t write(int fd, const void *buf, size_t nbytes) write() function [all...] |
| /third_party/libwebsockets/lib/secure-streams/cpp/ |
| H A D | lssFile.cxx | 38 return lf->write(buf, len, flags); in lssfile_rx() 90 lws_ss_state_return_t lssFile::write(const uint8_t *buf, size_t len, int flags) in write() function in lssFile 99 if (::write(fd, buf, len) != len) { in write()
|
| /third_party/node/test/overlapped-checker/ |
| H A D | main_win.c | 21 // Since we start the read operation immediately before requesting a write, in overlapped_read() 30 static void write(const char* buf, size_t buf_size) { in write() function 35 die("overlapped write failed"); in write() 50 write("0", 1); in main() 61 write(buf, read_count); in main()
|
| /third_party/node/test/parallel/ |
| H A D | test-double-tls-server.js | 9 // Sending tls data on a server TLSSocket with an active write led to a crash: 47 serverTlsSock.write(half, common.mustSucceed()); 48 serverTlsSock.write(half, common.mustSucceed()); 75 clientTlsSock.write(tlsClientHello);
|
| H A D | test-file-write-stream.js | 29 const fn = path.join(tmpdir.path, 'write.txt'); 54 file.write(EXPECTED); 65 file.write('should not work anymore', common.expectsError({ 68 message: 'write after end' 76 file.write(`${i}`);
|
| H A D | test-fs-write-stream-autoclose-option.js | 9 const file = path.join(tmpdir.path, 'write-autoclose-opt1.txt'); 12 stream.write('Test1'); 26 stream.write('Test2'); 50 stream.write('Test3');
|
| H A D | test-http-outgoing-properties.js | 24 res.write(''); 26 res.write('asd'); 51 msg.write('asd');
|
| H A D | test-http-server-headers-timeout-keepalive.js | 15 client.write('GET / HTTP/1.1\r\n'); 18 client.write('Connection: '); 23 client.write(`${closeAfter ? 'close' : 'keep-alive'}\r\n\r\n`);
|