Lines Matching refs:numVars
121 static inline void scan_set_error_return(int numVars, zval *return_value);
311 PHPAPI int ValidateFormat(char *format, int numVars, int *totalSubs) in ValidateFormat() argument
325 if (numVars > nspace) { in ValidateFormat()
326 nassign = (int*)safe_emalloc(sizeof(int), numVars, 0); in ValidateFormat()
327 nspace = numVars; in ValidateFormat()
369 if ((objIndex < 0) || (numVars && (objIndex >= numVars))) { in ValidateFormat()
371 } else if (numVars == 0) { in ValidateFormat()
417 if (!(flags & SCAN_SUPPRESS) && numVars && (objIndex >= numVars)) { in ValidateFormat()
520 if (numVars == 0) { in ValidateFormat()
522 numVars = xpgSize; in ValidateFormat()
524 numVars = objIndex; in ValidateFormat()
528 *totalSubs = numVars; in ValidateFormat()
530 for (i = 0; i < numVars; i++) { in ValidateFormat()
582 int numVars, nconversions, totalVars = -1; in php_sscanf_internal() local
602 numVars = argCount - varStart; in php_sscanf_internal()
603 if (numVars < 0) { in php_sscanf_internal()
604 numVars = 0; in php_sscanf_internal()
609 string, format, numVars, varStart); in php_sscanf_internal()
614 if (ValidateFormat(format, numVars, &totalVars) != SCAN_SUCCESS) { in php_sscanf_internal()
615 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
619 objIndex = numVars ? varStart : 0; in php_sscanf_internal()
624 if (numVars) { in php_sscanf_internal()
628 scan_set_error_return(numVars, return_value); in php_sscanf_internal()
638 if (!numVars) { in php_sscanf_internal()
741 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
743 } else if (numVars) { in php_sscanf_internal()
860 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
862 } else if (numVars) { in php_sscanf_internal()
901 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
903 } else if (numVars) { in php_sscanf_internal()
1054 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
1056 } else if (numVars) { in php_sscanf_internal()
1065 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
1067 } else if (numVars) { in php_sscanf_internal()
1170 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
1172 } else if (numVars) { in php_sscanf_internal()
1189 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
1191 } else if (numVars) { in php_sscanf_internal()
1202 static inline void scan_set_error_return(int numVars, zval *return_value) /* {{{ */ in scan_set_error_return() argument
1204 if (numVars) { in scan_set_error_return()