Home
last modified time | relevance | path

Searched refs:argbuf (Results 1 – 8 of 8) sorted by relevance

/external/iproute2/misc/
Dssfilter.y195 static char argbuf[1024]; in yylex() local
196 static char *tokptr = argbuf; in yylex()
208 if (fgets(argbuf, sizeof(argbuf)-1, yy_fp) == NULL) in yylex()
210 argbuf[sizeof(argbuf)-1] = 0; in yylex()
211 if (strlen(argbuf) == sizeof(argbuf) - 1) { in yylex()
215 if (argbuf[strlen(argbuf)-1] == '\n') in yylex()
216 argbuf[strlen(argbuf)-1] = 0; in yylex()
217 if (argbuf[0] == '#' || argbuf[0] == '0') in yylex()
219 tokptr = argbuf; in yylex()
/external/python/cpython3/Python/
Dpystrhex.c5 static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen, in _Py_strhex_impl() argument
32 c = (argbuf[i] >> 4) & 0xf; in _Py_strhex_impl()
34 c = argbuf[i] & 0xf; in _Py_strhex_impl()
51 PyAPI_FUNC(PyObject *) _Py_strhex(const char* argbuf, const Py_ssize_t arglen) in _Py_strhex() argument
53 return _Py_strhex_impl(argbuf, arglen, 0); in _Py_strhex()
58 PyAPI_FUNC(PyObject *) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen) in _Py_strhex_bytes() argument
60 return _Py_strhex_impl(argbuf, arglen, 1); in _Py_strhex_bytes()
/external/python/cpython3/Include/
Dpystrhex.h10 PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen);
12 PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen);
/external/valgrind/coregrind/
Dm_syscall.c1011 ULong argbuf[6]; in VG_()
1013 argbuf[0] = a1; in VG_()
1014 argbuf[1] = a2; in VG_()
1015 argbuf[2] = a3; in VG_()
1016 argbuf[3] = a4; in VG_()
1017 argbuf[4] = a5; in VG_()
1018 argbuf[5] = a6; in VG_()
1019 val = do_syscall_WRK(sysno,(UWord)&argbuf[0],0,0,0,0,0); in VG_()
/external/python/cpython2/Modules/
Dbinascii.c1043 char* argbuf; in binascii_hexlify() local
1051 argbuf = parg.buf; in binascii_hexlify()
1070 c = (argbuf[i] >> 4) & 0xf; in binascii_hexlify()
1073 c = argbuf[i] & 0xf; in binascii_hexlify()
1106 char* argbuf; in binascii_unhexlify() local
1114 argbuf = parg.buf; in binascii_unhexlify()
1137 int top = to_int(Py_CHARMASK(argbuf[i])); in binascii_unhexlify()
1138 int bot = to_int(Py_CHARMASK(argbuf[i+1])); in binascii_unhexlify()
/external/python/cpython3/Modules/
Dbinascii.c1155 const char* argbuf; in binascii_a2b_hex_impl() local
1161 argbuf = hexstr->buf; in binascii_a2b_hex_impl()
1181 int top = to_int(Py_CHARMASK(argbuf[i])); in binascii_a2b_hex_impl()
1182 int bot = to_int(Py_CHARMASK(argbuf[i+1])); in binascii_a2b_hex_impl()
/external/python/cpython3/Objects/
Dbytearrayobject.c2007 char* argbuf = PyByteArray_AS_STRING(self); in bytearray_hex() local
2009 return _Py_strhex(argbuf, arglen); in bytearray_hex()
Dbytesobject.c2425 char* argbuf = PyBytes_AS_STRING(self); in bytes_hex() local
2427 return _Py_strhex(argbuf, arglen); in bytes_hex()