Lines Matching refs:pvalue

3484 	zval **data, **pvalue, **disp_data, **env_data;  in PHP_FUNCTION()  local
3504 …if (zend_hash_find(Z_ARRVAL_P(envelope), "remail", sizeof("remail"), (void **) &pvalue)== SUCCESS)… in PHP_FUNCTION()
3505 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3506 env->remail = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3508 …if (zend_hash_find(Z_ARRVAL_P(envelope), "return_path", sizeof("return_path"), (void **) &pvalue)=… in PHP_FUNCTION()
3509 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3510 PHP_RFC822_PARSE_ADRLIST(&env->return_path, pvalue); in PHP_FUNCTION()
3512 if (zend_hash_find(Z_ARRVAL_P(envelope), "date", sizeof("date"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3513 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3514 env->date = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3516 if (zend_hash_find(Z_ARRVAL_P(envelope), "from", sizeof("from"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3517 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3518 PHP_RFC822_PARSE_ADRLIST(&env->from, pvalue); in PHP_FUNCTION()
3520 …if (zend_hash_find(Z_ARRVAL_P(envelope), "reply_to", sizeof("reply_to"), (void **) &pvalue)== SUCC… in PHP_FUNCTION()
3521 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3522 PHP_RFC822_PARSE_ADRLIST(&env->reply_to, pvalue); in PHP_FUNCTION()
3524 …if (zend_hash_find(Z_ARRVAL_P(envelope), "in_reply_to", sizeof("in_reply_to"), (void **) &pvalue)=… in PHP_FUNCTION()
3525 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3526 env->in_reply_to = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3528 …if (zend_hash_find(Z_ARRVAL_P(envelope), "subject", sizeof("subject"), (void **) &pvalue)== SUCCES… in PHP_FUNCTION()
3529 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3530 env->subject = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3532 if (zend_hash_find(Z_ARRVAL_P(envelope), "to", sizeof("to"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3533 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3534 PHP_RFC822_PARSE_ADRLIST(&env->to, pvalue); in PHP_FUNCTION()
3536 if (zend_hash_find(Z_ARRVAL_P(envelope), "cc", sizeof("cc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3537 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3538 PHP_RFC822_PARSE_ADRLIST(&env->cc, pvalue); in PHP_FUNCTION()
3540 if (zend_hash_find(Z_ARRVAL_P(envelope), "bcc", sizeof("bcc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3541 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3542 PHP_RFC822_PARSE_ADRLIST(&env->bcc, pvalue); in PHP_FUNCTION()
3544 …if (zend_hash_find(Z_ARRVAL_P(envelope), "message_id", sizeof("message_id"), (void **) &pvalue)== … in PHP_FUNCTION()
3545 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3546 env->message_id=cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3549 …d(Z_ARRVAL_P(envelope), "custom_headers", sizeof("custom_headers"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3550 if (Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3552 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &env_data) == SUCCESS) { in PHP_FUNCTION()
3558 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3575 if (zend_hash_find(Z_ARRVAL_PP(data), "type", sizeof("type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3576 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3577 bod->type = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3579 …if (zend_hash_find(Z_ARRVAL_PP(data), "encoding", sizeof("encoding"), (void **) &pvalue)== SUCCESS… in PHP_FUNCTION()
3580 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3581 bod->encoding = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3583 …if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3584 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3586 tmp_param->value = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3591 …nd(Z_ARRVAL_PP(data), "type.parameters", sizeof("type.parameters"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3592 if(Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3594 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3596 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3601 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3608 …if (zend_hash_find(Z_ARRVAL_PP(data), "subtype", sizeof("subtype"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3609 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3610 bod->subtype = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3612 if (zend_hash_find(Z_ARRVAL_PP(data), "id", sizeof("id"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3613 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3614 bod->id = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3616 …if (zend_hash_find(Z_ARRVAL_PP(data), "description", sizeof("description"), (void **) &pvalue)== S… in PHP_FUNCTION()
3617 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3618 bod->description = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3620 …(Z_ARRVAL_PP(data), "disposition.type", sizeof("disposition.type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3621 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3622 bod->disposition.type = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3623 memcpy(bod->disposition.type, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1); in PHP_FUNCTION()
3625 …if (zend_hash_find(Z_ARRVAL_PP(data), "disposition", sizeof("disposition"), (void **) &pvalue)== S… in PHP_FUNCTION()
3626 if (Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3628 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3630 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3635 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3642 …if (zend_hash_find(Z_ARRVAL_PP(data), "contents.data", sizeof("contents.data"), (void **) &pvalue)… in PHP_FUNCTION()
3643 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3644 bod->contents.text.data = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3645 memcpy(bod->contents.text.data, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1); in PHP_FUNCTION()
3646 bod->contents.text.size = Z_STRLEN_PP(pvalue); in PHP_FUNCTION()
3652 if (zend_hash_find(Z_ARRVAL_PP(data), "lines", sizeof("lines"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3653 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3654 bod->size.lines = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3656 if (zend_hash_find(Z_ARRVAL_PP(data), "bytes", sizeof("bytes"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3657 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3658 bod->size.bytes = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3660 if (zend_hash_find(Z_ARRVAL_PP(data), "md5", sizeof("md5"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3661 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3662 bod->md5 = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3671 if (zend_hash_find(Z_ARRVAL_PP(data), "type", sizeof("type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3672 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3673 type = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3691 …if (zend_hash_find(Z_ARRVAL_PP(data), "encoding", sizeof("encoding"), (void **) &pvalue)== SUCCESS… in PHP_FUNCTION()
3692 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3693 bod->encoding = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3695 …if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3696 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3698 tmp_param->value = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3699 memcpy(tmp_param->value, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3704 …nd(Z_ARRVAL_PP(data), "type.parameters", sizeof("type.parameters"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3705 if(Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3707 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3709 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3714 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3721 …if (zend_hash_find(Z_ARRVAL_PP(data), "subtype", sizeof("subtype"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3722 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3723 bod->subtype = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3725 if (zend_hash_find(Z_ARRVAL_PP(data), "id", sizeof("id"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3726 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3727 bod->id = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3729 …if (zend_hash_find(Z_ARRVAL_PP(data), "description", sizeof("description"), (void **) &pvalue)== S… in PHP_FUNCTION()
3730 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3731 bod->description = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3733 …(Z_ARRVAL_PP(data), "disposition.type", sizeof("disposition.type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3734 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3735 bod->disposition.type = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3736 memcpy(bod->disposition.type, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1); in PHP_FUNCTION()
3738 …if (zend_hash_find(Z_ARRVAL_PP(data), "disposition", sizeof("disposition"), (void **) &pvalue)== S… in PHP_FUNCTION()
3739 if (Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3741 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3743 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3748 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3755 …h_find(Z_ARRVAL_PP(data), "contents.data", sizeof("contents.data"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3756 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3757 bod->contents.text.data = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3758 memcpy(bod->contents.text.data, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3759 bod->contents.text.size = Z_STRLEN_PP(pvalue); in PHP_FUNCTION()
3765 if (zend_hash_find(Z_ARRVAL_PP(data), "lines", sizeof("lines"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3766 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3767 bod->size.lines = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3769 if (zend_hash_find(Z_ARRVAL_PP(data), "bytes", sizeof("bytes"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3770 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3771 bod->size.bytes = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3773 if (zend_hash_find(Z_ARRVAL_PP(data), "md5", sizeof("md5"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3774 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3775 bod->md5 = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()