Lines Matching refs:msgid
99 zend_string *msgid; in PHP_FUNCTION() local
102 Z_PARAM_STR(msgid) in PHP_FUNCTION()
105 PHP_GETTEXT_LENGTH_CHECK(1, ZSTR_LEN(msgid)) in PHP_FUNCTION()
106 msgstr = gettext(ZSTR_VAL(msgid)); in PHP_FUNCTION()
108 if (msgstr != ZSTR_VAL(msgid)) { in PHP_FUNCTION()
111 RETURN_STR_COPY(msgid); in PHP_FUNCTION()
120 zend_string *domain, *msgid; in PHP_FUNCTION() local
122 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS", &domain, &msgid) == FAILURE) { in PHP_FUNCTION()
127 PHP_GETTEXT_LENGTH_CHECK(2, ZSTR_LEN(msgid)) in PHP_FUNCTION()
129 msgstr = dgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid)); in PHP_FUNCTION()
131 if (msgstr != ZSTR_VAL(msgid)) { in PHP_FUNCTION()
134 RETURN_STR_COPY(msgid); in PHP_FUNCTION()
143 zend_string *domain, *msgid; in PHP_FUNCTION() local
146 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SSl", &domain, &msgid, &category) == FAILURE) { in PHP_FUNCTION()
151 PHP_GETTEXT_LENGTH_CHECK(2, ZSTR_LEN(msgid)) in PHP_FUNCTION()
153 msgstr = dcgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid), category); in PHP_FUNCTION()
155 if (msgstr != ZSTR_VAL(msgid)) { in PHP_FUNCTION()
158 RETURN_STR_COPY(msgid); in PHP_FUNCTION()