Home
last modified time | relevance | path

Searched refs:linebuf (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Python/
Dtraceback.c123 char linebuf[2000]; in _Py_DisplaySourceLine() local
175 char* pLastChar = &linebuf[sizeof(linebuf)-2]; in _Py_DisplaySourceLine()
178 if (Py_UniversalNewlineFgets(linebuf, sizeof linebuf, xfp, NULL) == NULL) in _Py_DisplaySourceLine()
189 char *p = linebuf; in _Py_DisplaySourceLine()
218 char linebuf[2000]; in tb_displayline() local
224 PyOS_snprintf(linebuf, sizeof(linebuf), FMT, filename, lineno, name); in tb_displayline()
225 err = PyFile_WriteString(linebuf, f); in tb_displayline()
Derrors.c797 char linebuf[1000]; in PyErr_ProgramText() local
805 char *pLastChar = &linebuf[sizeof(linebuf) - 2]; in PyErr_ProgramText()
808 if (Py_UniversalNewlineFgets(linebuf, sizeof linebuf, fp, NULL) == NULL) in PyErr_ProgramText()
819 char *p = linebuf; in PyErr_ProgramText()
/external/arm-trusted-firmware/services/spd/trusty/
Dgeneric-arm64-smcall.c34 char linebuf[128]; member
48 s->linebuf[s->l++] = ch; in trusty_dputc()
49 if (s->l == sizeof(s->linebuf) || ch == '\n') { in trusty_dputc()
55 putchar(s->linebuf[i]); in trusty_dputc()
/external/python/cpython2/Lib/distutils/
Dtext_file.py112 self.linebuf = []
176 if self.linebuf:
177 line = self.linebuf[-1]
178 del self.linebuf[-1]
304 self.linebuf.append (line)
/external/python/cpython3/Lib/distutils/
Dtext_file.py109 self.linebuf = []
166 if self.linebuf:
167 line = self.linebuf[-1]
168 del self.linebuf[-1]
286 self.linebuf.append(line)
/external/selinux/checkpolicy/
Dpolicy_scan.l37 static char linebuf[2][255]; variable
60 \n.* { strncpy(linebuf[lno], yytext+1, 255);
61 linebuf[lno][254] = 0;
306 linebuf[0], linebuf[1]);
322 linebuf[0], linebuf[1]);
/external/libaom/libaom/av1/common/
Dcdef.c127 uint16_t *linebuf[3]; in av1_cdef_frame() local
155 linebuf[pli] = aom_malloc(sizeof(*linebuf) * CDEF_VBORDER * stride); in av1_cdef_frame()
287 copy_rect(&src[CDEF_HBORDER], CDEF_BSTRIDE, &linebuf[pli][coffset], in av1_cdef_frame()
299 copy_rect(src, CDEF_BSTRIDE, &linebuf[pli][coffset - CDEF_HBORDER], in av1_cdef_frame()
313 &linebuf[pli][coffset + hsize], stride, CDEF_VBORDER, in av1_cdef_frame()
330 cm, &linebuf[pli][coffset], stride, xd->plane[pli].dst.buf, in av1_cdef_frame()
385 aom_free(linebuf[pli]); in av1_cdef_frame()
/external/icu/icu4c/source/common/
Dicuplug.cpp803 char linebuf[1024]; in uplug_init()
808 while(fgets(linebuf,1023,f)) { in uplug_init()
811 if(!*linebuf || *linebuf=='#') { in uplug_init()
814 p = linebuf; in uplug_init()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_utl.c330 char *linebuf; in STACK_OF() local
333 linebuf = OPENSSL_strdup(line); in STACK_OF()
334 if (linebuf == NULL) { in STACK_OF()
341 for (p = linebuf, q = linebuf; (c = *p) && (c != '\r') && (c != '\n'); in STACK_OF()
411 OPENSSL_free(linebuf); in STACK_OF()
415 OPENSSL_free(linebuf); in STACK_OF()
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c330 char *linebuf; in STACK_OF() local
333 linebuf = OPENSSL_strdup(line); in STACK_OF()
334 if (linebuf == NULL) { in STACK_OF()
341 for (p = linebuf, q = linebuf; (c = *p) && (c != '\r') && (c != '\n'); in STACK_OF()
411 OPENSSL_free(linebuf); in STACK_OF()
415 OPENSSL_free(linebuf); in STACK_OF()
/external/python/cpython3/Python/
Derrors.c1650 char linebuf[1000]; in err_programtext() local
1656 char *pLastChar = &linebuf[sizeof(linebuf) - 2]; in err_programtext()
1659 if (Py_UniversalNewlineFgets(linebuf, sizeof linebuf, in err_programtext()
1675 res = PyUnicode_FromString(linebuf); in err_programtext()
/external/icu/icu4c/source/extra/uconv/
Duconv.cpp672 UChar linebuf[20], offsetbuf[20]; in convertFile() local
673 uprv_itou(linebuf, 20, parse.line, 10, 0); in convertFile()
676 u_wmsg_errorName(err), linebuf, offsetbuf); in convertFile()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c3536 char *linebuf = NULL; in cpuset_import() local
3542 if ((linebuf = malloc(linebuflen)) == NULL) { in cpuset_import()
3548 while (slgets(linebuf, linebuflen, buf, &offset)) { in cpuset_import()
3553 if ((tok = strchr(linebuf, '#')) != NULL) in cpuset_import()
3555 if ((tok = strtok_r(linebuf, " \t", &ptr)) == NULL) in cpuset_import()
3612 free(linebuf); in cpuset_import()
3640 free(linebuf); in cpuset_import()
/external/arm-optimized-routines/math/test/
Dmathtest.c1496 char testbuf[512], linebuf[512]; in runtests() local
1506 strcpy(linebuf, testbuf); in runtests()
1523 linebuf, in runtests()
1529 printf("%s:%d: malformed: %s\n", name, lineno, linebuf); in runtests()
/external/llvm-project/libc/AOR_v20.02/math/test/
Dmathtest.c1497 char testbuf[512], linebuf[512]; in runtests() local
1507 strcpy(linebuf, testbuf); in runtests()
1524 linebuf, in runtests()
1530 printf("%s:%d: malformed: %s\n", name, lineno, linebuf); in runtests()
/external/libabigail/tests/data/test-read-dwarf/
DPR25042-libgdbm-clang-dwarf5.so.6.0.0.abi1019 …<var-decl name='linebuf' type-id='type-id-23' visibility='default' filepath='/tmp/ben/spack-stage/…