/dports/editors/zile/zile-2.4.14/src/ |
H A D | search.c | 72 size_t len = astr_len (as); in find_substr() 118 if (astr_len (pattern) != 0) in do_search() 232 if (astr_len (pattern) > 0) in isearch() 234 astr_truncate (pattern, astr_len (pattern) - 1); in isearch() 254 if (astr_len (pattern) > 0) in isearch() 266 if (c == KBD_RET && astr_len (pattern) == 0) in isearch() 270 if (astr_len (pattern) > 0) in isearch() 291 if (astr_len (pattern) > 0) in isearch() 378 if (i == astr_len (as)) in check_case() 383 return i == astr_len (as); in check_case() [all …]
|
H A D | file.c | 84 if (astr_len (epath) == 0 || in expand_path() 99 if (astr_len (epath) == 0 || in expand_path() 141 if (astr_len (epath) >= 1 && astr_get (epath, astr_len (epath) - 1) == '/') in expand_path() 143 while (astr_get (epath, astr_len (epath) - 1) != '/' && astr_len (epath) >= 1) in expand_path() 174 if (astr_len (path) > homelen && in compact_path() 262 if (filename == NULL || astr_len (filename) == 0) 331 if (buf && astr_len (buf) > 0) 374 if (buf && astr_len (buf) > 0) 414 if (file == NULL || astr_len (file) == 0) 547 if (astr_len (name) == 0) in write_buffer() [all …]
|
H A D | term_minibuf.c | 99 pos = astr_len (as); in term_minibuf_read() 139 pos = astr_len (as); in term_minibuf_read() 150 if (pos < astr_len (as)) in term_minibuf_read() 157 if (pos < astr_len (as)) in term_minibuf_read() 170 if (pos < astr_len (as)) in term_minibuf_read() 264 astr_len (bs)) != 0) in term_minibuf_read() 267 pos = astr_len (as); in term_minibuf_read() 287 …cstr (astr_substr (as, 0, pos)), (int) c, astr_cstr (astr_substr (as, pos, astr_len (as) - pos)))); in term_minibuf_read()
|
H A D | estr.c | 83 for (size_t i = 0; i < astr_len (as) && total_eols < MAX_EOL_CHECK_COUNT; i++) in estr_new_astr() 92 else if (i == astr_len (as) - 1 || astr_get (as, i + 1) != '\n') in estr_new_astr() 126 return (eo == astr_len (es->as)) ? SIZE_MAX : eo + strlen (es->eol); in estr_next_line() 140 const char *next = memmem (astr_cstr (es->as) + o, astr_len (es->as) - o, in estr_end_of_line() 142 return next ? (size_t) (next - astr_cstr (es->as)) : astr_len (es->as); in estr_end_of_line() 157 for (size_t len = astr_len (es->as); in estr_lines() 169 for (size_t len = astr_len (src->as); len > 0;) in estr_replace_estr() 191 size_t oldlen = astr_len (es->as); in estr_cat()
|
H A D | astr.c | 78 astr_len (const_astr as) in astr_len() function 167 assert (pos <= astr_len (as)); in astr_get() 187 return astr_ncpy_cstr (as, astr_cstr (src), astr_len (src)); in astr_cpy() 199 return astr_cat_nstr (as, astr_cstr (src), astr_len (src)); in astr_cat() 218 assert (pos + size <= astr_len (as)); in astr_substr() 225 return astr_remove (as, pos, astr_len (as) - pos); in astr_truncate() 275 for (size_t i = 1, len = astr_len (as); i < len; i++) in astr_recase() 322 as3 = astr_substr (as1, astr_len (as1) - 6, 5); in main() 330 as2 = astr_substr (as1, astr_len (as1) - 2, 2); in main() 334 as2 = astr_substr (as1, astr_len (as1) - 5, 5); in main()
|
H A D | minibuf.c | 168 if (file == NULL && astr_len (as) > 0 && astr_get (as, astr_len (as) - 1) != '/') in minibuf_read_filename() 181 size_t pos = astr_len (as); in minibuf_read_filename() 268 else if (astr_len (ms) == 0) in minibuf_vread_completion()
|
H A D | lisp.c | 51 if ((size_t) *pos < astr_len (as)) in read_char() 122 astr_truncate (tok, astr_len (tok) - 1); in read_token() 138 astr_truncate (tok, astr_len (tok) -1); in read_token()
|
H A D | funcs.c | 321 if (astr_len (as) > 0) 887 if (astr_len (as) > 0) in setcase_word() 890 replace_estr (astr_len (as), estr_new_astr (as)); in setcase_word() 1009 *n = astr_len (((pipe_data *) priv)->in) - ((pipe_data *) priv)->done; in prepare_write() 1044 if (astr_len (inout.out) == 0) in pipe_command() 1062 eol != astr_cstr (inout.out) + astr_len (inout.out) - 1; in pipe_command() 1083 if (astr_len (ms) == 0) in minibuf_read_shell_command()
|
H A D | estr.h | 51 #define estr_len(es, eol_type) (astr_len (estr_get_as (es)) + estr_lines (es) * (strlen (eol_type)…
|
H A D | completion.c | 208 if (astr_get (path, astr_len (path) - 1) != '/') in completion_readdir() 254 size_t ssize = astr_len (search); in completion_try()
|
H A D | astr.h | 71 _GL_ATTRIBUTE_PURE size_t astr_len (const_astr as);
|
H A D | bind.c | 528 if (astr_len (g->bindings) > 0) in gather_bindings() 553 if (astr_len (g.bindings) == 0)
|
H A D | buffer.c | 81 return const_astr_new_nstr (astr_cstr (as) + post_gap, astr_len (as) - post_gap); in get_buffer_post_point() 126 return realo_to_o (bp, astr_len (estr_get_as (bp->text))); in get_buffer_size() 603 if (buf && astr_len (buf) > 0)
|
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/os_auth/ |
H A D | check_cert.c | 298 unsigned int astr_len = 0; in asn1_to_cstr() local 302 if (!(astr_len = (unsigned int) ASN1_STRING_length(astr))) { in asn1_to_cstr() 312 if (memchr(tmp, '\0', astr_len)) { in asn1_to_cstr() 316 if ((cstr = (char *) malloc(astr_len + 1)) == NULL) { in asn1_to_cstr() 320 memcpy(cstr, tmp, astr_len); in asn1_to_cstr() 321 cstr[astr_len] = '\0'; in asn1_to_cstr()
|
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/os_auth/ |
H A D | check_cert.c | 298 unsigned int astr_len = 0; in asn1_to_cstr() local 302 if (!(astr_len = (unsigned int) ASN1_STRING_length(astr))) { in asn1_to_cstr() 312 if (memchr(tmp, '\0', astr_len)) { in asn1_to_cstr() 316 if ((cstr = (char *) malloc(astr_len + 1)) == NULL) { in asn1_to_cstr() 320 memcpy(cstr, tmp, astr_len); in asn1_to_cstr() 321 cstr[astr_len] = '\0'; in asn1_to_cstr()
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/os_auth/ |
H A D | check_cert.c | 298 unsigned int astr_len = 0; in asn1_to_cstr() local 302 if (!(astr_len = (unsigned int) ASN1_STRING_length(astr))) { in asn1_to_cstr() 312 if (memchr(tmp, '\0', astr_len)) { in asn1_to_cstr() 316 if ((cstr = (char *) malloc(astr_len + 1)) == NULL) { in asn1_to_cstr() 320 memcpy(cstr, tmp, astr_len); in asn1_to_cstr() 321 cstr[astr_len] = '\0'; in asn1_to_cstr()
|
/dports/games/freeciv-nox11/freeciv-2.6.6/utility/ |
H A D | inputfile.c | 332 fc_assert_ret_val(inf->cur_line_pos <= astr_len(&inf->cur_line), TRUE); in at_eol() 334 return (inf->cur_line_pos >= astr_len(&inf->cur_line)); in at_eol() 374 if (inf->in_string || astr_len(&inf->cur_line) <= len in check_include() 423 inf->cur_line_pos = astr_len(&inf->cur_line) - 1; in check_include() 512 if (0 == pos && 0 < astr_len(line) && astr_str(line)[0] == '\r') { in read_a_line() 513 memmove((char *)astr_str(line), astr_str(line)+1, astr_len(line)); in read_a_line() 516 pos = astr_len(line); in read_a_line() 911 pos = astr_len(&inf->token); in get_token_value()
|
H A D | astring.c | 239 astr_vadd_at(astr, astr_len(astr), format, ap); in astr_vadd() 250 astr_vadd_at(astr, astr_len(astr), format, args); in astr_add() 259 size_t len = astr_len(astr); in astr_add_line()
|
H A D | astring.h | 51 static inline size_t astr_len(const struct astring *astr) 99 static inline size_t astr_len(const struct astring *astr) in astr_len() function
|
/dports/games/freeciv/freeciv-2.6.6/utility/ |
H A D | inputfile.c | 332 fc_assert_ret_val(inf->cur_line_pos <= astr_len(&inf->cur_line), TRUE); in at_eol() 334 return (inf->cur_line_pos >= astr_len(&inf->cur_line)); in at_eol() 374 if (inf->in_string || astr_len(&inf->cur_line) <= len in check_include() 423 inf->cur_line_pos = astr_len(&inf->cur_line) - 1; in check_include() 512 if (0 == pos && 0 < astr_len(line) && astr_str(line)[0] == '\r') { in read_a_line() 513 memmove((char *)astr_str(line), astr_str(line)+1, astr_len(line)); in read_a_line() 516 pos = astr_len(line); in read_a_line() 911 pos = astr_len(&inf->token); in get_token_value()
|
H A D | astring.c | 239 astr_vadd_at(astr, astr_len(astr), format, ap); in astr_vadd() 250 astr_vadd_at(astr, astr_len(astr), format, args); in astr_add() 259 size_t len = astr_len(astr); in astr_add_line()
|
H A D | astring.h | 51 static inline size_t astr_len(const struct astring *astr) 99 static inline size_t astr_len(const struct astring *astr) in astr_len() function
|
/dports/games/freeciv-nox11/freeciv-2.6.6/common/ |
H A D | mapimg.c | 612 if (astr_len(&help) > 0) { in mapimg_help()
|
/dports/games/freeciv/freeciv-2.6.6/common/ |
H A D | mapimg.c | 612 if (astr_len(&help) > 0) { in mapimg_help()
|