Searched refs:cstr (Results 1 – 3 of 3) sorted by relevance
/PHP-7.3/ext/zip/lib/ |
H A D | zip_set_archive_comment.c | 43 zip_string_t *cstr; in zip_set_archive_comment() local 56 …if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NUL… in zip_set_archive_comment() 59 if (_zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_CP437) { in zip_set_archive_comment() 60 _zip_string_free(cstr); in zip_set_archive_comment() 66 cstr = NULL; in zip_set_archive_comment() 71 if (((za->comment_orig && _zip_string_equal(za->comment_orig, cstr)) in zip_set_archive_comment() 72 || (za->comment_orig == NULL && cstr == NULL))) { in zip_set_archive_comment() 73 _zip_string_free(cstr); in zip_set_archive_comment() 77 za->comment_changes = cstr; in zip_set_archive_comment()
|
H A D | zip_file_set_comment.c | 45 zip_string_t *cstr; in zip_file_set_comment() local 62 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL) in zip_file_set_comment() 64 …if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UN… in zip_file_set_comment() 65 cstr->encoding = ZIP_ENCODING_UTF8_KNOWN; in zip_file_set_comment() 68 cstr = NULL; in zip_file_set_comment() 79 changed = !_zip_string_equal(e->orig->comment, cstr); in zip_file_set_comment() 81 changed = (cstr != NULL); in zip_file_set_comment() 87 _zip_string_free(cstr); in zip_file_set_comment() 91 e->changes->comment = cstr; in zip_file_set_comment() 95 _zip_string_free(cstr); in zip_file_set_comment()
|
/PHP-7.3/ext/ldap/ |
H A D | ldap.c | 2549 static size_t _ldap_str_equal_to_const(const char *str, size_t str_len, const char *cstr) in _ldap_str_equal_to_const() argument 2553 if (strlen(cstr) != str_len) in _ldap_str_equal_to_const() 2557 if (str[i] != cstr[i]) { in _ldap_str_equal_to_const()
|
Completed in 19 milliseconds