Home
last modified time | relevance | path

Searched refs:ptrdiff_t (Results 1 – 25 of 51) sorted by relevance

123

/f-stack/freebsd/contrib/octeon-sdk/cvmx-malloc/
H A Dmalloc.h55 # undef ptrdiff_t
56 # define ptrdiff_t long
66 # define __malloc_ptrdiff_t ptrdiff_t
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlstrlib.c36 static ptrdiff_t posrelat (ptrdiff_t pos, size_t len) { in posrelat()
38 if (pos < 0) pos += (ptrdiff_t)len + 1; in posrelat()
46 ptrdiff_t start = posrelat(luaL_checkinteger(L, 2), l); in str_sub()
47 ptrdiff_t end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
49 if (end > (ptrdiff_t)l) end = (ptrdiff_t)l; in str_sub()
109 ptrdiff_t posi = posrelat(luaL_optinteger(L, 2, 1), l); in str_byte()
110 ptrdiff_t pose = posrelat(luaL_optinteger(L, 3, posi), l); in str_byte()
177 ptrdiff_t len;
303 ptrdiff_t i = 0; /* counts maximum expand for item */ in max_expand()
475 ptrdiff_t l = ms->capture[i].len; in push_onecapture()
[all …]
H A Dldo.c184 ptrdiff_t top = savestack(L, L->top); in luaD_callhook()
185 ptrdiff_t ci_top = savestack(L, L->ci->top); in luaD_callhook()
247 ptrdiff_t funcr = savestack(L, func); in tryfuncTM()
267 ptrdiff_t funcr; in luaD_precall()
333 ptrdiff_t fr = savestack(L, firstResult); /* next call may change stack */ in callrethooks()
457 ptrdiff_t old_top, ptrdiff_t ef) { in luaD_pcall()
460 ptrdiff_t old_ci = saveci(L, L->ci); in luaD_pcall()
462 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
H A Dldo.h45 ptrdiff_t oldtop, ptrdiff_t ef);
H A Dluaconf.h143 #define LUA_INTEGER ptrdiff_t
418 #define LUAI_MEM ptrdiff_t
H A Dlstate.h126 ptrdiff_t errfunc; /* current error handling function (stack index) */
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dmalloc_io.c234 TEST("_1234_", "_%td_", ((ptrdiff_t)1234)); in TEST_BEGIN()
235 TEST("_-1234_", "_%td_", ((ptrdiff_t)-1234)); in TEST_BEGIN()
236 TEST("_1234_", "_%ti_", ((ptrdiff_t)1234)); in TEST_BEGIN()
237 TEST("_-1234_", "_%ti_", ((ptrdiff_t)-1234)); in TEST_BEGIN()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dlog.c27 ptrdiff_t segment_len = segment_end - segment_begin; in log_var_matches_segment()
28 ptrdiff_t log_var_len = log_var_end - log_var_begin; in log_var_matches_segment()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dldo.h37 ptrdiff_t oldtop, ptrdiff_t ef);
H A Dlstate.h76 ptrdiff_t extra;
85 ptrdiff_t old_errfunc;
176 ptrdiff_t errfunc; /* current error handling function (stack index) */
H A Dldo.c291 ptrdiff_t top = savestack(L, L->top); in luaD_hook()
292 ptrdiff_t ci_top = savestack(L, ci->top); in luaD_hook()
347 ptrdiff_t funcr = savestack(L, func); in tryfuncTM()
370 ptrdiff_t funcr = savestack(L, func); in luaD_precall()
438 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
671 ptrdiff_t old_top, ptrdiff_t ef) { in luaD_pcall()
676 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
H A Dlstrlib.c56 static size_t posrelat (ptrdiff_t pos, size_t len) { in posrelat()
218 ptrdiff_t len;
359 ptrdiff_t i = 0; /* counts maximum expand for item */ in max_expand()
556 ptrdiff_t l = ms->capture[i].len; in push_onecapture()
/f-stack/freebsd/sys/
H A Dqmath.h225 if (Q_LTZ(q) && ((ptrdiff_t)(slen)) > 0) \
231 if ((_s - (s)) < ((ptrdiff_t)(slen))) \
236 if (!((_s - (s)) < ((ptrdiff_t)(slen)))) \
247 if ((_s - (s)) < ((ptrdiff_t)(slen))) \
256 if ((_s - (s)) < ((ptrdiff_t)(slen))) \
262 if ((_s - (s)) < ((ptrdiff_t)(slen)) && _r != NULL) \
266 if (((ptrdiff_t)(slen)) > 0) \
H A Dstddef.h39 typedef __ptrdiff_t ptrdiff_t; typedef
/f-stack/freebsd/contrib/zlib/
H A Dcrc32.c215 if (sizeof(void *) == sizeof(ptrdiff_t)) {
276 while (len && ((ptrdiff_t)buf & 3)) {
316 while (len && ((ptrdiff_t)buf & 3)) {
H A Dzutil.h34 typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ typedef
177 typedef int ptrdiff_t; typedef
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dluaconf.h342 #define LUAI_MEM ptrdiff_t
459 #define LUA_INTEGER ptrdiff_t
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dtypes.h87 typedef __ptrdiff_t ptrdiff_t; /* pointer difference */ typedef
/f-stack/dpdk/lib/librte_ethdev/
H A Dethdev_private.c22 ptrdiff_t idx; in eth_find_device()
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dzstd_internal.h279 void ZSTD_wildcopy(void* dst, const void* src, ptrdiff_t length, ZSTD_overlap_e const ovtype) in ZSTD_wildcopy()
281 ptrdiff_t diff = (BYTE*)dst - (const BYTE*)src; in ZSTD_wildcopy()
H A Dfse.h377 ptrdiff_t value;
518 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
/f-stack/freebsd/kern/
H A Dsubr_scanf.c277 *va_arg(ap, ptrdiff_t *) = nread; in vsscanf()
556 *va_arg(ap, ptrdiff_t *) = res; in vsscanf()
H A Dkern_sharedpage.c309 ptrdiff_t base; in exec_sysvec_init()
/f-stack/lib/
H A Dff_subr_prf.c439 num = va_arg(ap, ptrdiff_t); in kvprintf()
457 num = va_arg(ap, ptrdiff_t); in kvprintf()
/f-stack/tools/libxo/doc/
H A Dfield-formatting.rst46 - a 't' character, indicating a 'ptrdiff_t' argument.
94 t ptrdiff_t ptrdiff_t

123