Lines Matching refs:numVars

119 static inline void scan_set_error_return(int numVars, zval *return_value);
309 PHPAPI int ValidateFormat(char *format, int numVars, int *totalSubs) in ValidateFormat() argument
323 if (numVars > nspace) { in ValidateFormat()
324 nassign = (int*)safe_emalloc(sizeof(int), numVars, 0); in ValidateFormat()
325 nspace = numVars; in ValidateFormat()
367 if ((objIndex < 0) || (numVars && (objIndex >= numVars))) { in ValidateFormat()
369 } else if (numVars == 0) { in ValidateFormat()
415 if (!(flags & SCAN_SUPPRESS) && numVars && (objIndex >= numVars)) { in ValidateFormat()
518 if (numVars == 0) { in ValidateFormat()
520 numVars = xpgSize; in ValidateFormat()
522 numVars = objIndex; in ValidateFormat()
526 *totalSubs = numVars; in ValidateFormat()
528 for (i = 0; i < numVars; i++) { in ValidateFormat()
580 int numVars, nconversions, totalVars = -1; in php_sscanf_internal() local
600 numVars = argCount - varStart; in php_sscanf_internal()
601 if (numVars < 0) { in php_sscanf_internal()
602 numVars = 0; in php_sscanf_internal()
607 string, format, numVars, varStart); in php_sscanf_internal()
612 if (ValidateFormat(format, numVars, &totalVars) != SCAN_SUCCESS) { in php_sscanf_internal()
613 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
617 objIndex = numVars ? varStart : 0; in php_sscanf_internal()
622 if (numVars) { in php_sscanf_internal()
626 scan_set_error_return(numVars, return_value); in php_sscanf_internal()
636 if (!numVars) { in php_sscanf_internal()
739 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
741 } else if (numVars) { in php_sscanf_internal()
858 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
860 } else if (numVars) { in php_sscanf_internal()
899 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
901 } else if (numVars) { in php_sscanf_internal()
1052 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
1054 } else if (numVars) { in php_sscanf_internal()
1063 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
1065 } else if (numVars) { in php_sscanf_internal()
1168 if (numVars && objIndex >= argCount) { in php_sscanf_internal()
1170 } else if (numVars) { in php_sscanf_internal()
1187 scan_set_error_return( numVars, return_value ); in php_sscanf_internal()
1189 } else if (numVars) { in php_sscanf_internal()
1200 static inline void scan_set_error_return(int numVars, zval *return_value) /* {{{ */ in scan_set_error_return() argument
1202 if (numVars) { in scan_set_error_return()