Lines Matching refs:zvalName
2304 public function initializeZval(string $zvalName): string argument
2308 $code = "\tzval $zvalName;\n";
2311 $code .= "\tZVAL_NULL(&$zvalName);\n";
2314 $code .= "\tZVAL_TRUE(&$zvalName);\n";
2316 $code .= "\tZVAL_FALSE(&$zvalName);\n";
2318 $code .= "\tZVAL_BOOL(&$zvalName, $cExpr);\n";
2321 $code .= "\tZVAL_LONG(&$zvalName, $cExpr);\n";
2323 $code .= "\tZVAL_DOUBLE(&$zvalName, $cExpr);\n";
2326 $code .= "\tZVAL_EMPTY_STRING(&$zvalName);\n";
2328 … $code .= "\tzend_string *{$zvalName}_str = zend_string_init($cExpr, strlen($cExpr), 1);\n";
2329 $code .= "\tZVAL_STR(&$zvalName, {$zvalName}_str);\n";
2333 $code .= "\tZVAL_EMPTY_ARRAY(&$zvalName);\n";
2999 $zvalName = "property_{$propertyName}_default_value";
3001 $code .= "\tzval $zvalName;\n\tZVAL_UNDEF(&$zvalName);\n";
3003 $code .= $defaultValue->initializeZval($zvalName);
3026 …$template .= "zend_declare_typed_property(class_entry, $nameCode, &$zvalName, %s, $commentCode, $t…
3028 … $template .= "zend_declare_property_ex(class_entry, $nameCode, &$zvalName, %s, $commentCode);\n";
3113 $zvalName = "enum_case_{$escapedName}_value";
3114 $code = "\n" . $value->initializeZval($zvalName);
3115 $code .= "\tzend_enum_add_case_cstr(class_entry, \"$escapedName\", &$zvalName);\n";
3160 $zvalName = "attribute_{$escapedAttributeName}_{$nameSuffix}_arg$i";
3161 $code .= $value->initializeZval($zvalName);
3162 …tZVAL_COPY_VALUE(&attribute_{$escapedAttributeName}_{$nameSuffix}->args[$i].value, &$zvalName);\n";