PN_IS_INT 69 core/compile.c if (PN_IS_INT(v)) { PN_IS_INT 382 core/compile.c if (PN_IS_INT(k)) { PN_IS_INT 542 core/compile.c if (PN_IS_INT(PN_S(t,1))) { PN_IS_INT 123 core/file.c else if (PN_IS_INT(obj)) { PN_IS_INT 156 core/file.c return PN_IS_INT(r) ? PN_STR0 : r; PN_IS_INT 265 core/internal.c : PN_IS_INT(obj) ? "Integer" PN_IS_INT 36 core/number.c if (PN_IS_INT(self) && PN_IS_INT(sup) && fabs(z) < INT_MAX) PN_IS_INT 50 core/number.c if (PN_IS_INT(self) && PN_IS_INT(num)) \ PN_IS_INT 99 core/number.c if (PN_IS_INT(self) && PN_IS_INT(num)) PN_IS_INT 110 core/number.c if (PN_IS_INT(self)) PN_IS_INT 120 core/number.c if (PN_IS_INT(self) && PN_IS_INT(num)) PN_IS_INT 130 core/number.c if (PN_IS_INT(self) && PN_IS_INT(num)) PN_IS_INT 203 core/number.c if (PN_IS_INT(self)) PN_IS_INT 212 core/number.c if (PN_IS_INT(self)) PN_IS_INT 254 core/number.c if (PN_IS_INT(self)) { PN_IS_INT 342 core/number.c return (PN_IS_INT(self) || PN_IS_DBL(self)) ? PN_TRUE : PN_FALSE; PN_IS_INT 348 core/number.c return PN_IS_INT(self) ? PN_TRUE : PN_FALSE; PN_IS_INT 404 core/number.c n2 = PN_IS_INT(n) ? PN_INT(n) : PN_INT(potion_send(PN_number, n)); PN_IS_INT 93 core/objmodel.c if (PN_IS_INT(v) && v == PN_NUM(':') && PN_IS_STR((PN)t->set[i+1])) count--; PN_IS_INT 116 core/objmodel.c if (PN_IS_INT(v) && v == PN_NUM('|')) break; PN_IS_INT 117 core/objmodel.c if (PN_IS_INT(v) && v == PN_NUM(':')) { count--; break; } PN_IS_INT 141 core/objmodel.c if (PN_IS_INT(v) && v == PN_NUM(':') && PN_IS_STR((PN)t->set[i+1])) count--; PN_IS_INT 144 core/objmodel.c if (i+1 < t->len && PN_IS_INT((PN)t->set[i+1])) { PN_IS_INT 174 core/objmodel.c if (PN_IS_INT(v) && v == PN_NUM(':') && PN_IS_STR((PN)t->set[i+1])) count--; PN_IS_INT 159 core/potion.h #define PN_IS_PTR(v) (!PN_IS_INT(v) && ((PN)(v) & PN_REF_MASK)) PN_IS_INT 164 core/potion.h #define PN_IS_NUM(v) (PN_IS_INT(v) || PN_IS_DBL(v)) PN_IS_INT 178 core/potion.h #define PN_CHECK_INT(obj) if (!PN_IS_INT(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Integer") PN_IS_INT 206 core/potion.h #define PN_DBL(num) (PN_IS_INT(num) ? (double)PN_INT(num) : ((struct PNDouble *)num)->value) PN_IS_INT 524 core/potion.h if (PN_IS_INT(obj)) return PN_TNUMBER; PN_IS_INT 50 core/syntax.y PN_IS_INT(yy)||PN_IS_PTR(yy) ? PN_STR_PTR(potion_send(yy, PN_string)) : "")); \ PN_IS_INT 486 core/syntax.y if (PN_IS_STR(v) && !(PN_IS_INT(prev) && prev == PN_NUM(':'))) PN_IS_INT 467 core/table.c if (PN_IS_INT(key)) { PN_IS_INT 276 core/vm.c if (PN_IS_STR(v) && !(i>0 && PN_IS_INT(t->set[i-1]) && t->set[i-1] == PN_NUM(':'))) { PN_IS_INT 370 core/vm.c if (PN_IS_INT(reg[op.a]) && PN_IS_INT(reg[op.b])) \ PN_IS_INT 383 core/vm.c if (PN_IS_INT(reg[op.a]) && PN_IS_INT(reg[op.b])) { \ PN_IS_INT 404 core/vm.c if (PN_IS_INT(reg[op.a]) && PN_IS_INT(reg[op.b])) \ PN_IS_INT 777 core/vm.c reg[op.a] = PN_IS_INT(reg[op.b]) ? PN_NUM(~PN_INT(reg[op.b])) : potion_obj_bitn(P, reg[op.b])) PN_IS_INT 171 lib/aio.c : PN_IS_INT(self) ? "Integer" : "Boolean", "Aio_"_XSTR(T)); \ PN_IS_INT 187 lib/aio.c : PN_IS_INT(stream) ? "Integer" : "Boolean", "Aio_stream");\ PN_IS_INT 222 lib/aio.c if (!PN_IS_INT(status)) PN_IS_INT 666 lib/aio.c : PN_IS_INT(data) ? "Integer" : "Boolean", "Aio_connect"); PN_IS_INT 36 test/api/potion-test.c CuAssert(T, "zero isn't a number", PN_IS_INT(zero)); PN_IS_INT 45 test/api/potion-test.c CuAssert(T, "positive not a number", PN_IS_INT(pos)); PN_IS_INT 54 test/api/potion-test.c CuAssert(T, "negative not a number", PN_IS_INT(neg));