Lines Matching refs:num_in
3027 zend_long num_in; /* Number of entries in the input hashtable */ local
3035 num_in = zend_hash_num_elements(in_hash);
3038 if (offset > num_in) {
3039 offset = num_in;
3040 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3046 length = num_in - offset + length;
3047 } else if (((unsigned)offset + (unsigned)length) > (unsigned)num_in) {
3048 length = num_in - offset;
3052 …zend_hash_init(&out_hash, (length > 0 ? num_in - length : 0) + (replace ? zend_hash_num_elements(r…
3414 int num_in; /* Number of elements in the input array */ local
3424 num_in = zend_hash_num_elements(Z_ARRVAL_P(array));
3427 length = num_in;
3441 if (offset > num_in) {
3442 offset = num_in;
3443 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3449 size = num_in - offset + length;
3450 } else if (((zend_ulong) offset + (zend_ulong) length) > (uint32_t) num_in) {
3451 size = num_in - offset;
3474 int num_in, /* Number of elements in the input array */ local
3488 num_in = zend_hash_num_elements(Z_ARRVAL_P(input));
3492 length = num_in;
3498 if (offset > num_in) {
3501 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3507 length = num_in - offset + length;
3508 } else if (((zend_ulong) offset + (zend_ulong) length) > (unsigned) num_in) {
3509 length = num_in - offset;
6294 int num_in; local
6316 num_in = zend_hash_num_elements(Z_ARRVAL_P(input));
6318 if (size > num_in) {
6319 size = num_in > 0 ? num_in : 1;
6322 array_init_size(return_value, (uint32_t)(((num_in - 1) / size) + 1));