Lines Matching refs:islittle
1155 int islittle; member
1213 h->islittle = nativeendian.little; in initheader()
1249 case '<': h->islittle = 1; break; in getoption()
1250 case '>': h->islittle = 0; break; in getoption()
1251 case '=': h->islittle = nativeendian.little; break; in getoption()
1296 int islittle, int size, int neg) { in packint() argument
1299 buff[islittle ? 0 : size - 1] = (char)(n & MC); /* first byte */ in packint()
1302 buff[islittle ? i : size - 1 - i] = (char)(n & MC); in packint()
1306 buff[islittle ? i : size - 1 - i] = (char)MC; in packint()
1317 int size, int islittle) { in copywithendian() argument
1318 if (islittle == nativeendian.little) { in copywithendian()
1353 packint(&b, (lua_Unsigned)n, h.islittle, size, (n < 0)); in str_pack()
1361 packint(&b, (lua_Unsigned)n, h.islittle, size, 0); in str_pack()
1372 copywithendian(buff, u.buff, size, h.islittle); in str_pack()
1392 packint(&b, (lua_Unsigned)len, h.islittle, size, 0); /* pack length */ in str_pack()
1451 int islittle, int size, int issigned) { in unpackint() argument
1457 res |= (lua_Unsigned)(unsigned char)str[islittle ? i : size - 1 - i]; in unpackint()
1468 if ((unsigned char)str[islittle ? i : size - 1 - i] != mask) in unpackint()
1497 lua_Integer res = unpackint(L, data + pos, h.islittle, size, in str_unpack()
1505 copywithendian(u.buff, data + pos, size, h.islittle); in str_unpack()
1517 size_t len = (size_t)unpackint(L, data + pos, h.islittle, size, 0); in str_unpack()