Lines Matching refs:zvalName
2299 public function initializeZval(string $zvalName): string argument
2303 $code = "\tzval $zvalName;\n";
2306 $code .= "\tZVAL_NULL(&$zvalName);\n";
2309 $code .= "\tZVAL_TRUE(&$zvalName);\n";
2311 $code .= "\tZVAL_FALSE(&$zvalName);\n";
2313 $code .= "\tZVAL_BOOL(&$zvalName, $cExpr);\n";
2316 $code .= "\tZVAL_LONG(&$zvalName, $cExpr);\n";
2318 $code .= "\tZVAL_DOUBLE(&$zvalName, $cExpr);\n";
2321 $code .= "\tZVAL_EMPTY_STRING(&$zvalName);\n";
2323 … $code .= "\tzend_string *{$zvalName}_str = zend_string_init($cExpr, strlen($cExpr), 1);\n";
2324 $code .= "\tZVAL_STR(&$zvalName, {$zvalName}_str);\n";
2328 $code .= "\tZVAL_EMPTY_ARRAY(&$zvalName);\n";
3088 $zvalName = "property_{$propertyName}_default_value";
3090 $code .= "\tzval $zvalName;\n\tZVAL_UNDEF(&$zvalName);\n";
3092 $code .= $defaultValue->initializeZval($zvalName);
3115 …$template .= "zend_declare_typed_property(class_entry, $nameCode, &$zvalName, %s, $commentCode, $t…
3117 … $template .= "zend_declare_property_ex(class_entry, $nameCode, &$zvalName, %s, $commentCode);\n";
3252 $zvalName = "enum_case_{$escapedName}_value";
3253 $code = "\n" . $value->initializeZval($zvalName);
3254 $code .= "\tzend_enum_add_case_cstr(class_entry, \"$escapedName\", &$zvalName);\n";
3299 $zvalName = "attribute_{$escapedAttributeName}_{$nameSuffix}_arg$i";
3300 $code .= $value->initializeZval($zvalName);
3301 …tZVAL_COPY_VALUE(&attribute_{$escapedAttributeName}_{$nameSuffix}->args[$i].value, &$zvalName);\n";