Home
last modified time | relevance | path

Searched refs:file_read (Results 1 – 14 of 14) sorted by relevance

/external/syslinux/core/fs/pxe/
Dgpxeurl.c21 static __lowmem struct s_PXENV_FILE_READ file_read; in gpxe_get_packet() local
25 file_read.FileHandle = socket->tftp_remoteport; in gpxe_get_packet()
26 file_read.Buffer = FAR_PTR(packet_buf); in gpxe_get_packet()
27 file_read.BufferSize = PKTBUF_SIZE; in gpxe_get_packet()
28 err = pxe_call(PXENV_FILE_READ, &file_read); in gpxe_get_packet()
32 if (file_read.Status != PXENV_STATUS_TFTP_OPEN) in gpxe_get_packet()
36 memcpy(socket->tftp_pktbuf, packet_buf, file_read.BufferSize); in gpxe_get_packet()
39 socket->tftp_bytesleft = file_read.BufferSize; in gpxe_get_packet()
40 socket->tftp_filepos += file_read.BufferSize; in gpxe_get_packet()
/external/syslinux/gpxe/src/arch/i386/interface/pxe/
Dpxe_file.c146 PXENV_EXIT_t pxenv_file_read ( struct s_PXENV_FILE_READ *file_read ) { in pxenv_file_read() argument
150 DBG ( "PXENV_FILE_READ %d to %04x:%04x+%04x", file_read->FileHandle, in pxenv_file_read()
151 file_read->Buffer.segment, file_read->Buffer.offset, in pxenv_file_read()
152 file_read->BufferSize ); in pxenv_file_read()
154 buffer = real_to_user ( file_read->Buffer.segment, in pxenv_file_read()
155 file_read->Buffer.offset ); in pxenv_file_read()
156 if ( ( len = read_user ( file_read->FileHandle, buffer, 0, in pxenv_file_read()
157 file_read->BufferSize ) ) < 0 ) { in pxenv_file_read()
158 file_read->Status = PXENV_STATUS ( len ); in pxenv_file_read()
164 file_read->BufferSize = len; in pxenv_file_read()
[all …]
Dpxe_call.c103 PXENV_EXIT_t ( * file_read ) ( struct s_PXENV_FILE_READ * ); member
299 pxenv_call.file_read = pxenv_file_read; in pxe_api_call()
300 param_len = sizeof ( pxenv_any.file_read ); in pxe_api_call()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp44 const RetainPtr<IFX_SeekableReadStream>& file_read, in CPDF_ReadValidator() argument
46 : file_read_(file_read), in CPDF_ReadValidator()
51 file_size_(file_read->GetSize()) {} in CPDF_ReadValidator()
Dcpdf_read_validator.h50 CPDF_ReadValidator(const RetainPtr<IFX_SeekableReadStream>& file_read,
/external/boringssl/src/crypto/bio/
Dfile.c149 static int file_read(BIO *b, char *out, int outl) { in file_read() function
280 file_write, file_read,
/external/syslinux/gpxe/src/include/
Dfs.h27 int file_read(void *buf, unsigned long len);
/external/libvpx/libvpx/
Dy4minput.c22 static int file_read(void *buf, size_t size, FILE *file) { in file_read() function
799 if (!file_read(buffer + i, 1, _fin)) return -1; in y4m_input_open()
1097 if (!file_read(frame, 6, _fin)) return 0; in y4m_input_fetch_frame()
1105 for (j = 0; j < 79 && file_read(&c, 1, _fin) && c != '\n'; j++) { in y4m_input_fetch_frame()
1113 if (!file_read(_y4m->dst_buf, _y4m->dst_buf_read_sz, _fin)) { in y4m_input_fetch_frame()
1118 if (!file_read(_y4m->aux_buf, _y4m->aux_buf_read_sz, _fin)) { in y4m_input_fetch_frame()
/external/autotest/client/tests/iozone/
Dclang_fortify.patch10 void file_read(int);
/external/syslinux/gpxe/src/arch/i386/include/
Dpxe.h66 struct s_PXENV_FILE_READ file_read; member
Dpxe_api.h1705 extern PXENV_EXIT_t pxenv_file_read ( struct s_PXENV_FILE_READ *file_read );
/external/python/cpython3/Lib/
Dpickle.py222 def __init__(self, file_read, file_readline, file_tell=None): argument
223 self.file_read = file_read
232 return self.file_read(n)
238 return self.file_read(n)
257 self.current_frame = io.BytesIO(self.file_read(frame_size))
Dsocket.py340 file_read = file.read
348 data = memoryview(file_read(blocksize))
/external/python/cpython2/Objects/
Dfileobject.c1050 file_read(PyFileObject *f, PyObject *args) in file_read() function
2118 {"read", (PyCFunction)file_read, METH_VARARGS, read_doc},