Lines Matching refs:num_in
2989 zend_long num_in; /* Number of entries in the input hashtable */ local
2996 num_in = zend_hash_num_elements(in_hash);
2999 if (offset > num_in) {
3000 offset = num_in;
3001 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3007 length = num_in - offset + length;
3008 } else if (((unsigned)offset + (unsigned)length) > (unsigned)num_in) {
3009 length = num_in - offset;
3013 …zend_hash_init(&out_hash, (length > 0 ? num_in - length : 0) + (replace ? zend_hash_num_elements(r…
3441 int num_in; /* Number of elements in the input array */ local
3451 num_in = zend_hash_num_elements(Z_ARRVAL_P(array));
3454 length = num_in;
3468 if (offset > num_in) {
3469 offset = num_in;
3470 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3476 size = num_in - offset + length;
3477 } else if (((zend_ulong) offset + (zend_ulong) length) > (uint32_t) num_in) {
3478 size = num_in - offset;
3557 uint32_t num_in; /* Number of elements in the input array */ local
3570 num_in = zend_hash_num_elements(Z_ARRVAL_P(input));
3574 length = num_in;
3578 if (offset > (zend_long) num_in) {
3580 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3586 length = num_in - offset + length;
3587 } else if (((zend_ulong) offset + (zend_ulong) length) > (unsigned) num_in) {
3588 length = num_in - offset;
6414 int num_in; local
6436 num_in = zend_hash_num_elements(Z_ARRVAL_P(input));
6438 if (size > num_in) {
6439 if (num_in == 0) {
6443 size = num_in;
6446 array_init_size(return_value, (uint32_t)(((num_in - 1) / size) + 1));