Lines Matching refs:pvalue

3540 	zval *data, *pvalue, *disp_data, *env_data;  in PHP_FUNCTION()  local
3560 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "remail", sizeof("remail") - 1)) != NULL) { in PHP_FUNCTION()
3561 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3562 env->remail = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3564 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "return_path", sizeof("return_path") - 1)) … in PHP_FUNCTION()
3565 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3566 PHP_RFC822_PARSE_ADRLIST(&env->return_path, pvalue); in PHP_FUNCTION()
3568 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "date", sizeof("date") - 1)) != NULL) { in PHP_FUNCTION()
3569 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3570 env->date = (unsigned char*)cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3572 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "from", sizeof("from") - 1)) != NULL) { in PHP_FUNCTION()
3573 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3574 PHP_RFC822_PARSE_ADRLIST(&env->from, pvalue); in PHP_FUNCTION()
3576 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "reply_to", sizeof("reply_to") - 1)) != NUL… in PHP_FUNCTION()
3577 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3578 PHP_RFC822_PARSE_ADRLIST(&env->reply_to, pvalue); in PHP_FUNCTION()
3580 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "in_reply_to", sizeof("in_reply_to") - 1)) … in PHP_FUNCTION()
3581 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3582 env->in_reply_to = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3584 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "subject", sizeof("subject") - 1)) != NULL)… in PHP_FUNCTION()
3585 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3586 env->subject = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3588 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "to", sizeof("to") - 1)) != NULL) { in PHP_FUNCTION()
3589 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3590 PHP_RFC822_PARSE_ADRLIST(&env->to, pvalue); in PHP_FUNCTION()
3592 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "cc", sizeof("cc") - 1)) != NULL) { in PHP_FUNCTION()
3593 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3594 PHP_RFC822_PARSE_ADRLIST(&env->cc, pvalue); in PHP_FUNCTION()
3596 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "bcc", sizeof("bcc") - 1)) != NULL) { in PHP_FUNCTION()
3597 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3598 PHP_RFC822_PARSE_ADRLIST(&env->bcc, pvalue); in PHP_FUNCTION()
3600 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "message_id", sizeof("message_id") - 1)) !=… in PHP_FUNCTION()
3601 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3602 env->message_id=cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3605 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "custom_headers", sizeof("custom_headers") … in PHP_FUNCTION()
3606 if (Z_TYPE_P(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3608 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pvalue), env_data) { in PHP_FUNCTION()
3633 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "type", sizeof("type") - 1)) != NULL) { in PHP_FUNCTION()
3634 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3635 bod->type = (short) Z_LVAL_P(pvalue); in PHP_FUNCTION()
3637 … if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "encoding", sizeof("encoding") - 1)) != NULL) { in PHP_FUNCTION()
3638 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3639 bod->encoding = (short) Z_LVAL_P(pvalue); in PHP_FUNCTION()
3641 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "charset", sizeof("charset") - 1)) != NULL) { in PHP_FUNCTION()
3642 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3644 tmp_param->value = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3649 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "type.parameters", sizeof("type.parameters") - … in PHP_FUNCTION()
3650 if(Z_TYPE_P(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3652 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(pvalue), key, disp_data) { in PHP_FUNCTION()
3664 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "subtype", sizeof("subtype") - 1)) != NULL) { in PHP_FUNCTION()
3665 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3666 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3668 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "id", sizeof("id") - 1)) != NULL) { in PHP_FUNCTION()
3669 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3670 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3672 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "description", sizeof("description") - 1)) != N… in PHP_FUNCTION()
3673 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3674 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3676 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "disposition.type", sizeof("disposition.type") … in PHP_FUNCTION()
3677 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3678 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3679 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3681 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "disposition", sizeof("disposition") - 1)) != N… in PHP_FUNCTION()
3682 if (Z_TYPE_P(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3684 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(pvalue), key, disp_data) { in PHP_FUNCTION()
3696 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "contents.data", sizeof("contents.data") - 1)) … in PHP_FUNCTION()
3697 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3698 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3699 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3700 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3706 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "lines", sizeof("lines") - 1)) != NULL) { in PHP_FUNCTION()
3707 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3708 bod->size.lines = Z_LVAL_P(pvalue); in PHP_FUNCTION()
3710 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "bytes", sizeof("bytes") - 1)) != NULL) { in PHP_FUNCTION()
3711 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3712 bod->size.bytes = Z_LVAL_P(pvalue); in PHP_FUNCTION()
3714 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "md5", sizeof("md5") - 1)) != NULL) { in PHP_FUNCTION()
3715 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3716 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3720 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "type", sizeof("type") - 1)) != NULL) { in PHP_FUNCTION()
3721 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3722 type = (short) Z_LVAL_P(pvalue); in PHP_FUNCTION()
3740 … if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "encoding", sizeof("encoding") - 1)) != NULL) { in PHP_FUNCTION()
3741 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3742 bod->encoding = (short) Z_LVAL_P(pvalue); in PHP_FUNCTION()
3744 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "charset", sizeof("charset") - 1)) != NULL) { in PHP_FUNCTION()
3745 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3747 tmp_param->value = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3748 memcpy(tmp_param->value, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3753 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "type.parameters", sizeof("type.parameters") - … in PHP_FUNCTION()
3754 if (Z_TYPE_P(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3756 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(pvalue), key, disp_data) { in PHP_FUNCTION()
3768 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "subtype", sizeof("subtype") - 1)) != NULL) { in PHP_FUNCTION()
3769 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3770 bod->subtype = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3772 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "id", sizeof("id") - 1)) != NULL) { in PHP_FUNCTION()
3773 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3774 bod->id = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3776 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "description", sizeof("description") - 1)) != N… in PHP_FUNCTION()
3777 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3778 bod->description = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3780 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "disposition.type", sizeof("disposition.type") … in PHP_FUNCTION()
3781 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3782 bod->disposition.type = (char *) fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3783 memcpy(bod->disposition.type, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1); in PHP_FUNCTION()
3785 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "disposition", sizeof("disposition") - 1)) != N… in PHP_FUNCTION()
3786 if (Z_TYPE_P(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3788 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(pvalue), key, disp_data) { in PHP_FUNCTION()
3800 …if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "contents.data", sizeof("contents.data") - 1)) … in PHP_FUNCTION()
3801 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3802 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3803 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue) + 1); in PHP_FUNCTION()
3804 bod->contents.text.size = Z_STRLEN_P(pvalue); in PHP_FUNCTION()
3810 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "lines", sizeof("lines") - 1)) != NULL) { in PHP_FUNCTION()
3811 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3812 bod->size.lines = Z_LVAL_P(pvalue); in PHP_FUNCTION()
3814 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "bytes", sizeof("bytes") - 1)) != NULL) { in PHP_FUNCTION()
3815 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3816 bod->size.bytes = Z_LVAL_P(pvalue); in PHP_FUNCTION()
3818 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "md5", sizeof("md5") - 1)) != NULL) { in PHP_FUNCTION()
3819 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3820 bod->md5 = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()