Home
last modified time | relevance | path

Searched refs:cstr (Results 1 – 4 of 4) sorted by relevance

/PHP-5.6/ext/zip/lib/
H A Dzip_set_archive_comment.c45 struct zip_string *cstr; in zip_set_archive_comment() local
58 …if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NUL… in zip_set_archive_comment()
61 if (_zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_CP437) { in zip_set_archive_comment()
62 _zip_string_free(cstr); in zip_set_archive_comment()
68 cstr = NULL; in zip_set_archive_comment()
73 if (((za->comment_orig && _zip_string_equal(za->comment_orig, cstr)) in zip_set_archive_comment()
74 || (za->comment_orig == NULL && cstr == NULL))) { in zip_set_archive_comment()
75 _zip_string_free(cstr); in zip_set_archive_comment()
79 za->comment_changes = cstr; in zip_set_archive_comment()
H A Dzip_file_set_comment.c47 struct zip_string *cstr; in zip_file_set_comment() local
64 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL) in zip_file_set_comment()
66 …if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UN… in zip_file_set_comment()
67 cstr->encoding = ZIP_ENCODING_UTF8_KNOWN; in zip_file_set_comment()
70 cstr = NULL; in zip_file_set_comment()
81 changed = !_zip_string_equal(e->orig->comment, cstr); in zip_file_set_comment()
83 changed = (cstr != NULL); in zip_file_set_comment()
89 _zip_string_free(cstr); in zip_file_set_comment()
93 e->changes->comment = cstr; in zip_file_set_comment()
97 _zip_string_free(cstr); in zip_file_set_comment()
/PHP-5.6/ext/mbstring/oniguruma/
H A Dtestu.c61 char cpat[4000], cstr[4000]; in xx() local
69 uconv(str, cstr, ulen(str)); in xx()
89 fprintf(stdout, "OK(N): /%s/ '%s'\n", cpat, cstr); in xx()
93 fprintf(stdout, "FAIL: /%s/ '%s'\n", cpat, cstr); in xx()
99 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", cpat, cstr); in xx()
104 fprintf(stdout, "OK: /%s/ '%s'\n", cpat, cstr); in xx()
122 uconv(str, cstr, ulen(str)); in xx()
161 fprintf(stdout, "OK(N): /%s/ '%s'\n", cpat, cstr); in xx()
165 fprintf(stdout, "FAIL: /%s/ '%s'\n", cpat, cstr); in xx()
171 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", cpat, cstr); in xx()
[all …]
/PHP-5.6/ext/ldap/
H A Dldap.c1556 static int _ldap_str_equal_to_const(const char *str, uint str_len, const char *cstr) in _ldap_str_equal_to_const() argument
1560 if (strlen(cstr) != str_len) in _ldap_str_equal_to_const()
1564 if (str[i] != cstr[i]) { in _ldap_str_equal_to_const()

Completed in 22 milliseconds