Searched refs:posi (Results 1 – 1 of 1) sorted by relevance
159 size_t posi = posrelat(luaL_optinteger(L, 2, 1), l); in str_byte() local160 size_t pose = posrelat(luaL_optinteger(L, 3, posi), l); in str_byte()162 if (posi < 1) posi = 1; in str_byte()164 if (posi > pose) return 0; /* empty interval; return no values */ in str_byte()165 n = (int)(pose - posi + 1); in str_byte()166 if (posi + n <= pose) /* (size_t -> int) overflow? */ in str_byte()170 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()