Lines Matching refs:pvalue

3475 	zval **data, **pvalue, **disp_data, **env_data;  in PHP_FUNCTION()  local
3495 …if (zend_hash_find(Z_ARRVAL_P(envelope), "remail", sizeof("remail"), (void **) &pvalue)== SUCCESS)… in PHP_FUNCTION()
3496 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3497 env->remail = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3499 …if (zend_hash_find(Z_ARRVAL_P(envelope), "return_path", sizeof("return_path"), (void **) &pvalue)=… in PHP_FUNCTION()
3500 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3501 PHP_RFC822_PARSE_ADRLIST(&env->return_path, pvalue); in PHP_FUNCTION()
3503 if (zend_hash_find(Z_ARRVAL_P(envelope), "date", sizeof("date"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3504 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3505 env->date = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3507 if (zend_hash_find(Z_ARRVAL_P(envelope), "from", sizeof("from"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3508 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3509 PHP_RFC822_PARSE_ADRLIST(&env->from, pvalue); in PHP_FUNCTION()
3511 …if (zend_hash_find(Z_ARRVAL_P(envelope), "reply_to", sizeof("reply_to"), (void **) &pvalue)== SUCC… in PHP_FUNCTION()
3512 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3513 PHP_RFC822_PARSE_ADRLIST(&env->reply_to, pvalue); in PHP_FUNCTION()
3515 …if (zend_hash_find(Z_ARRVAL_P(envelope), "in_reply_to", sizeof("in_reply_to"), (void **) &pvalue)=… in PHP_FUNCTION()
3516 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3517 env->in_reply_to = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3519 …if (zend_hash_find(Z_ARRVAL_P(envelope), "subject", sizeof("subject"), (void **) &pvalue)== SUCCES… in PHP_FUNCTION()
3520 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3521 env->subject = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3523 if (zend_hash_find(Z_ARRVAL_P(envelope), "to", sizeof("to"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3524 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3525 PHP_RFC822_PARSE_ADRLIST(&env->to, pvalue); in PHP_FUNCTION()
3527 if (zend_hash_find(Z_ARRVAL_P(envelope), "cc", sizeof("cc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3528 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3529 PHP_RFC822_PARSE_ADRLIST(&env->cc, pvalue); in PHP_FUNCTION()
3531 if (zend_hash_find(Z_ARRVAL_P(envelope), "bcc", sizeof("bcc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3532 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3533 PHP_RFC822_PARSE_ADRLIST(&env->bcc, pvalue); in PHP_FUNCTION()
3535 …if (zend_hash_find(Z_ARRVAL_P(envelope), "message_id", sizeof("message_id"), (void **) &pvalue)== … in PHP_FUNCTION()
3536 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3537 env->message_id=cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3540 …d(Z_ARRVAL_P(envelope), "custom_headers", sizeof("custom_headers"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3541 if (Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3543 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &env_data) == SUCCESS) { in PHP_FUNCTION()
3549 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3566 if (zend_hash_find(Z_ARRVAL_PP(data), "type", sizeof("type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3567 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3568 bod->type = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3570 …if (zend_hash_find(Z_ARRVAL_PP(data), "encoding", sizeof("encoding"), (void **) &pvalue)== SUCCESS… in PHP_FUNCTION()
3571 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3572 bod->encoding = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3574 …if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3575 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3577 tmp_param->value = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3582 …nd(Z_ARRVAL_PP(data), "type.parameters", sizeof("type.parameters"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3583 if(Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3585 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3587 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3592 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3599 …if (zend_hash_find(Z_ARRVAL_PP(data), "subtype", sizeof("subtype"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3600 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3601 bod->subtype = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3603 if (zend_hash_find(Z_ARRVAL_PP(data), "id", sizeof("id"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3604 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3605 bod->id = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3607 …if (zend_hash_find(Z_ARRVAL_PP(data), "description", sizeof("description"), (void **) &pvalue)== S… in PHP_FUNCTION()
3608 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3609 bod->description = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3611 …(Z_ARRVAL_PP(data), "disposition.type", sizeof("disposition.type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3612 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3613 bod->disposition.type = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3614 memcpy(bod->disposition.type, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1); in PHP_FUNCTION()
3616 …if (zend_hash_find(Z_ARRVAL_PP(data), "disposition", sizeof("disposition"), (void **) &pvalue)== S… in PHP_FUNCTION()
3617 if (Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3619 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3621 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3626 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3633 …if (zend_hash_find(Z_ARRVAL_PP(data), "contents.data", sizeof("contents.data"), (void **) &pvalue)… in PHP_FUNCTION()
3634 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3635 bod->contents.text.data = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3636 memcpy(bod->contents.text.data, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1); in PHP_FUNCTION()
3637 bod->contents.text.size = Z_STRLEN_PP(pvalue); in PHP_FUNCTION()
3643 if (zend_hash_find(Z_ARRVAL_PP(data), "lines", sizeof("lines"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3644 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3645 bod->size.lines = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3647 if (zend_hash_find(Z_ARRVAL_PP(data), "bytes", sizeof("bytes"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3648 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3649 bod->size.bytes = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3651 if (zend_hash_find(Z_ARRVAL_PP(data), "md5", sizeof("md5"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3652 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3653 bod->md5 = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3662 if (zend_hash_find(Z_ARRVAL_PP(data), "type", sizeof("type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3663 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3664 type = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3682 …if (zend_hash_find(Z_ARRVAL_PP(data), "encoding", sizeof("encoding"), (void **) &pvalue)== SUCCESS… in PHP_FUNCTION()
3683 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3684 bod->encoding = (short) Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3686 …if (zend_hash_find(Z_ARRVAL_PP(data), "charset", sizeof("charset"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3687 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3689 tmp_param->value = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3690 memcpy(tmp_param->value, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3695 …nd(Z_ARRVAL_PP(data), "type.parameters", sizeof("type.parameters"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3696 if(Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3698 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3700 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3705 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3712 …if (zend_hash_find(Z_ARRVAL_PP(data), "subtype", sizeof("subtype"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3713 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3714 bod->subtype = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3716 if (zend_hash_find(Z_ARRVAL_PP(data), "id", sizeof("id"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3717 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3718 bod->id = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3720 …if (zend_hash_find(Z_ARRVAL_PP(data), "description", sizeof("description"), (void **) &pvalue)== S… in PHP_FUNCTION()
3721 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3722 bod->description = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()
3724 …(Z_ARRVAL_PP(data), "disposition.type", sizeof("disposition.type"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3725 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3726 bod->disposition.type = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3727 memcpy(bod->disposition.type, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1); in PHP_FUNCTION()
3729 …if (zend_hash_find(Z_ARRVAL_PP(data), "disposition", sizeof("disposition"), (void **) &pvalue)== S… in PHP_FUNCTION()
3730 if (Z_TYPE_PP(pvalue) == IS_ARRAY) { in PHP_FUNCTION()
3732 while (zend_hash_get_current_data(Z_ARRVAL_PP(pvalue), (void **) &disp_data) == SUCCESS) { in PHP_FUNCTION()
3734 zend_hash_get_current_key(Z_ARRVAL_PP(pvalue), &key, &ind, 0); in PHP_FUNCTION()
3739 zend_hash_move_forward(Z_ARRVAL_PP(pvalue)); in PHP_FUNCTION()
3746 …h_find(Z_ARRVAL_PP(data), "contents.data", sizeof("contents.data"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3747 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3748 bod->contents.text.data = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3749 memcpy(bod->contents.text.data, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue) + 1); in PHP_FUNCTION()
3750 bod->contents.text.size = Z_STRLEN_PP(pvalue); in PHP_FUNCTION()
3756 if (zend_hash_find(Z_ARRVAL_PP(data), "lines", sizeof("lines"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3757 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3758 bod->size.lines = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3760 if (zend_hash_find(Z_ARRVAL_PP(data), "bytes", sizeof("bytes"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3761 convert_to_long_ex(pvalue); in PHP_FUNCTION()
3762 bod->size.bytes = Z_LVAL_PP(pvalue); in PHP_FUNCTION()
3764 if (zend_hash_find(Z_ARRVAL_PP(data), "md5", sizeof("md5"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION()
3765 convert_to_string_ex(pvalue); in PHP_FUNCTION()
3766 bod->md5 = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION()