Lines Matching refs:islittle
1377 int islittle; member
1435 h->islittle = nativeendian.little; in initheader()
1471 case '<': h->islittle = 1; break; in getoption()
1472 case '>': h->islittle = 0; break; in getoption()
1473 case '=': h->islittle = nativeendian.little; break; in getoption()
1518 int islittle, int size, int neg) { in packint() argument
1521 buff[islittle ? 0 : size - 1] = (char)(n & MC); /* first byte */ in packint()
1524 buff[islittle ? i : size - 1 - i] = (char)(n & MC); in packint()
1528 buff[islittle ? i : size - 1 - i] = (char)MC; in packint()
1539 int size, int islittle) { in copywithendian() argument
1540 if (islittle == nativeendian.little) { in copywithendian()
1575 packint(&b, (lua_Unsigned)n, h.islittle, size, (n < 0)); in str_pack()
1583 packint(&b, (lua_Unsigned)n, h.islittle, size, 0); in str_pack()
1594 copywithendian(buff, u.buff, size, h.islittle); in str_pack()
1614 packint(&b, (lua_Unsigned)len, h.islittle, size, 0); /* pack length */ in str_pack()
1668 int islittle, int size, int issigned) { in unpackint() argument
1674 res |= (lua_Unsigned)(unsigned char)str[islittle ? i : size - 1 - i]; in unpackint()
1685 if ((unsigned char)str[islittle ? i : size - 1 - i] != mask) in unpackint()
1714 lua_Integer res = unpackint(L, data + pos, h.islittle, size, in str_unpack()
1722 copywithendian(u.buff, data + pos, size, h.islittle); in str_unpack()
1734 size_t len = (size_t)unpackint(L, data + pos, h.islittle, size, 0); in str_unpack()