/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | popen2.py | 40 def __init__(self, cmd, capturestderr=False, bufsize=-1): argument 65 self.tochild = os.fdopen(p2cwrite, 'w', bufsize) 67 self.fromchild = os.fdopen(c2pread, 'r', bufsize) 70 self.childerr = os.fdopen(errout, 'r', bufsize) 119 def __init__(self, cmd, bufsize=-1): argument 132 self.tochild = os.fdopen(p2cwrite, 'w', bufsize) 134 self.fromchild = os.fdopen(c2pread, 'r', bufsize) 141 def popen2(cmd, bufsize=-1, mode='t'): argument 148 w, r = os.popen2(cmd, mode, bufsize) 151 def popen3(cmd, bufsize=-1, mode='t'): argument [all …]
|
D | socket.py | 212 def makefile(self, mode='r', bufsize=-1): argument 217 return _fileobject(self._sock, mode, bufsize) 246 def __init__(self, sock, mode='rb', bufsize=-1, close=False): argument 249 if bufsize < 0: 250 bufsize = self.default_bufsize 251 self.bufsize = bufsize 256 if bufsize == 0: 258 elif bufsize == 1: 261 self._rbufsize = bufsize 262 self._wbufsize = bufsize
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | getargs.c | 425 int *levels, char *msgbuf, size_t bufsize, int toplevel, in converttuple() argument 453 PyOS_snprintf(msgbuf, bufsize, in converttuple() 463 PyOS_snprintf(msgbuf, bufsize, in converttuple() 479 strncpy(msgbuf, "is not retrievable", bufsize); in converttuple() 483 msgbuf, bufsize, freelist); in converttuple() 501 int *levels, char *msgbuf, size_t bufsize, PyObject **freelist) in convertitem() argument 509 bufsize, 0, freelist); in convertitem() 515 msgbuf, bufsize, freelist); in convertitem() 532 converterr(const char *expected, PyObject *arg, char *msgbuf, size_t bufsize) in converterr() argument 536 PyOS_snprintf(msgbuf, bufsize, in converterr() [all …]
|
D | pystrtod.c | 744 Py_ssize_t bufsize; in PyOS_double_to_string() local 827 bufsize = 5; in PyOS_double_to_string() 829 bufsize = 25 + precision; in PyOS_double_to_string() 832 bufsize += exp/3; in PyOS_double_to_string() 836 buf = PyMem_Malloc(bufsize); in PyOS_double_to_string() 860 _PyOS_ascii_formatd(buf, bufsize, format, val, precision); in PyOS_double_to_string() 869 assert((size_t)bufsize >= len+2); in PyOS_double_to_string() 944 Py_ssize_t bufsize = 0; in format_float_short() local 976 bufsize = 5; /* Used later in an assert. */ in format_float_short() 977 buf = (char *)PyMem_Malloc(bufsize); in format_float_short() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | getargs.c | 425 int *levels, char *msgbuf, size_t bufsize, int toplevel, in converttuple() argument 453 PyOS_snprintf(msgbuf, bufsize, in converttuple() 463 PyOS_snprintf(msgbuf, bufsize, in converttuple() 479 strncpy(msgbuf, "is not retrievable", bufsize); in converttuple() 483 msgbuf, bufsize, freelist); in converttuple() 501 int *levels, char *msgbuf, size_t bufsize, PyObject **freelist) in convertitem() argument 509 bufsize, 0, freelist); in convertitem() 515 msgbuf, bufsize, freelist); in convertitem() 532 converterr(const char *expected, PyObject *arg, char *msgbuf, size_t bufsize) in converterr() argument 536 PyOS_snprintf(msgbuf, bufsize, in converterr() [all …]
|
D | dynload_aix.c | 41 register int errflag, bufsize = 1024; in aix_getoldmodules() local 48 if ((ldibuf = malloc(bufsize)) == NULL) { in aix_getoldmodules() 52 while ((errflag = loadquery(L_GETINFO, ldibuf, bufsize)) == -1 in aix_getoldmodules() 55 bufsize += 1024; in aix_getoldmodules() 56 if ((ldibuf = malloc(bufsize)) == NULL) { in aix_getoldmodules()
|
D | pystrtod.c | 744 Py_ssize_t bufsize; in PyOS_double_to_string() local 827 bufsize = 5; in PyOS_double_to_string() 829 bufsize = 25 + precision; in PyOS_double_to_string() 832 bufsize += exp/3; in PyOS_double_to_string() 836 buf = PyMem_Malloc(bufsize); in PyOS_double_to_string() 860 _PyOS_ascii_formatd(buf, bufsize, format, val, precision); in PyOS_double_to_string() 869 assert((size_t)bufsize >= len+2); in PyOS_double_to_string() 944 Py_ssize_t bufsize = 0; in format_float_short() local 976 bufsize = 5; /* Used later in an assert. */ in format_float_short() 977 buf = (char *)PyMem_Malloc(bufsize); in format_float_short() [all …]
|
/device/google/crosshatch/json-c/ |
D | printbuf.h | 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
|
/device/google/bonito/json-c/ |
D | printbuf.h | 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
|
/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/ |
D | fdt_sw.c | 88 int fdt_create(void *buf, int bufsize) in fdt_create() argument 92 if (bufsize < sizeof(struct fdt_header)) in fdt_create() 95 memset(buf, 0, bufsize); in fdt_create() 100 fdt_set_totalsize(fdt, bufsize); in fdt_create() 105 fdt_set_off_dt_strings(fdt, bufsize); in fdt_create() 110 int fdt_resize(void *fdt, void *buf, int bufsize) in fdt_resize() argument 120 if ((headsize + tailsize) > bufsize) in fdt_resize() 124 newtail = (char *)buf + bufsize - tailsize; in fdt_resize() 136 fdt_set_off_dt_strings(buf, bufsize); in fdt_resize() 137 fdt_set_totalsize(buf, bufsize); in fdt_resize()
|
D | fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize) in fdt_create_empty_tree() argument 62 err = fdt_create(buf, bufsize); in fdt_create_empty_tree() 82 return fdt_open_into(buf, buf, bufsize); in fdt_create_empty_tree()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | makebuf.c | 105 __swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty) in __swhatbuf() argument 110 _DIAGASSERT(bufsize != NULL); in __swhatbuf() 118 *bufsize = BUFSIZ; in __swhatbuf() 125 *bufsize = BUFSIZ; in __swhatbuf() 134 *bufsize = st.st_blksize; in __swhatbuf()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
D | fdt_empty_tree.c | 58 int fdt_create_empty_tree(void *buf, int bufsize) in fdt_create_empty_tree() argument 62 err = fdt_create(buf, bufsize); in fdt_create_empty_tree() 82 return fdt_open_into(buf, buf, bufsize); in fdt_create_empty_tree()
|
D | fdt_sw.c | 88 int fdt_create(void *buf, int bufsize) in fdt_create() argument 92 if (bufsize < sizeof(struct fdt_header)) in fdt_create() 95 memset(buf, 0, bufsize); in fdt_create() 100 fdt_set_totalsize(fdt, bufsize); in fdt_create() 105 fdt_set_off_dt_strings(fdt, bufsize); in fdt_create()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | md5sum.py | 7 bufsize = 8096 variable 18 """ % bufsize 59 data = fp.read(bufsize) 70 global fnfilter, rmode, bufsize 84 bufsize = int(a)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
D | bkfile.py | 4 def __init__(self, file, mode, bufsize): argument 16 self.__file = _orig_open(file, mode, bufsize) 44 def open(file, mode = 'r', bufsize = -1): argument 46 return _orig_open(file, mode, bufsize) 47 return _BkFile(file, mode, bufsize)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | bz2module.c | 423 Util_ReadAhead(BZ2FileObject *f, int bufsize) in Util_ReadAhead() argument 439 if ((f->f_buf = PyMem_Malloc(bufsize)) == NULL) { in Util_ReadAhead() 445 bufsize, f); in Util_ReadAhead() 464 Util_ReadAheadGetLineSkip(BZ2FileObject *f, int skip, int bufsize) in Util_ReadAheadGetLineSkip() argument 472 if (Util_ReadAhead(f, bufsize) < 0) in Util_ReadAheadGetLineSkip() 496 bufsize + (bufsize>>2)); in Util_ReadAheadGetLineSkip() 1624 int bufsize = SMALLCHUNK; in BZ2Comp_compress() local 1647 ret = PyString_FromStringAndSize(NULL, bufsize); in BZ2Comp_compress() 1654 bzs->avail_out = bufsize; in BZ2Comp_compress() 1669 bufsize = Util_NewBufferSize(bufsize); in BZ2Comp_compress() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | socket.py | 216 def makefile(self, mode='r', bufsize=-1): argument 221 return _fileobject(self._sock, mode, bufsize) 250 def __init__(self, sock, mode='rb', bufsize=-1, close=False): argument 253 if bufsize < 0: 254 bufsize = self.default_bufsize 255 self.bufsize = bufsize 260 if bufsize == 0: 262 elif bufsize == 1: 265 self._rbufsize = bufsize 266 self._wbufsize = bufsize
|
/device/generic/goldfish-opengl/tests/gles_android_wrapper/ |
D | ServerConnection.cpp | 74 int ServerConnection::create(size_t bufsize, in create() argument 83 QemuPipeStream* pipeStream = new QemuPipeStream(bufsize); in create() 94 TcpStream* tcpStream = new TcpStream(bufsize); in create()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
D | pulldom.py | 211 def __init__(self, stream, parser, bufsize): argument 214 self.bufsize = bufsize 261 buf = self.stream.read(self.bufsize) 330 def parse(stream_or_string, parser=None, bufsize=None): argument 331 if bufsize is None: 332 bufsize = default_bufsize 339 return DOMEventStream(stream, parser, bufsize) 347 bufsize = len(string) 351 return DOMEventStream(buf, parser, bufsize)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
D | pulldom.py | 211 def __init__(self, stream, parser, bufsize): argument 214 self.bufsize = bufsize 261 buf = self.stream.read(self.bufsize) 330 def parse(stream_or_string, parser=None, bufsize=None): argument 331 if bufsize is None: 332 bufsize = default_bufsize 339 return DOMEventStream(stream, parser, bufsize) 347 bufsize = len(string) 351 return DOMEventStream(buf, parser, bufsize)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
D | regerror.c | 330 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, in onig_snprintf_with_pattern() argument 333 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist) in onig_snprintf_with_pattern() 335 int bufsize; 349 n = xvsnprintf((char* )buf, bufsize, (const char* )fmt, args); 354 if (n + need < bufsize) { 355 strcat_s((char* )buf, bufsize, ": /");
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
D | DLexerBase.cpp | 57 unsigned bufsize, in DLGLexerBase() argument 61 this->_bufsize = bufsize; in DLGLexerBase() 122 state->bufsize = _bufsize; in saveState() 146 _bufsize = state->bufsize; in restoreState()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_fileinput.py | 50 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs) 61 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs) 80 fi = FileInput(files=(t1, t2, t3, t4, '-'), bufsize=bs) 94 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs) 105 fi = FileInput(files=(t1, t2, t3, t4), inplace=1, bufsize=bs) 113 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
D | DLexerBase.cpp | 58 unsigned bufsize, in DLGLexerBase() argument 62 this->_bufsize = bufsize; in DLGLexerBase() 123 state->bufsize = _bufsize; in saveState() 147 _bufsize = state->bufsize; in restoreState()
|