/dports/devel/cook/cook-2.30/cook/builtin/ |
H A D | text.c | 70 assert(args->nstrings); in upcase_interpret() 123 assert(args->nstrings); in downcase_interpret() 176 assert(args->nstrings); in prepost_interpret() 177 if (args->nstrings < 3) in prepost_interpret() 242 assert(args->nstrings); in head_interpret() 243 if (args->nstrings >= 2) in head_interpret() 297 assert(args->nstrings); in tail_interpret() 346 assert(args->nstrings); in catenate_interpret() 347 if (args->nstrings < 2) in catenate_interpret() 408 assert(args->nstrings); in count_interpret() [all …]
|
H A D | boolean.c | 73 assert(args->nstrings); in if_interpret() 74 if (args->nstrings < 2) in if_interpret() 101 if (j >= args->nstrings) in if_interpret() 124 if (j < args->nstrings) in if_interpret() 179 assert(args->nstrings); in not_interpret() 233 assert(args->nstrings); in and_interpret() 234 if (args->nstrings < 3) in and_interpret() 302 assert(args->nstrings); in or_interpret() 303 if (args->nstrings < 3) in or_interpret() 369 assert(args->nstrings); in in_interpret() [all …]
|
H A D | match.c | 88 assert(args->nstrings); in match_interpret() 89 if (args->nstrings < 2) in match_interpret() 111 for (j = 2; j < args->nstrings; j++) in match_interpret() 189 assert(args->nstrings); in match_mask_interpret() 190 if (args->nstrings < 2) in match_mask_interpret() 212 for (j = 2; j < args->nstrings; j++) in match_mask_interpret() 282 assert(args->nstrings); in fromto_interpret() 283 if (args->nstrings < 3) in fromto_interpret() 305 for (j = 3; j < args->nstrings; j++) in fromto_interpret()
|
/dports/devel/cook/cook-2.30/common/ |
H A D | str_list.c | 54 if (wlp->nstrings >= wlp->nstrings_max) in string_list_append() 83 for (j = 0; j < from->nstrings; ++j) in string_list_append_list() 115 wlp->nstrings++; in string_list_prepend() 143 for (j = 0; j < wlp->nstrings; j++) in string_list_destructor() 147 wlp->nstrings = 0; in string_list_destructor() 174 for (j = 0; j < wlp->nstrings; j++) in string_list_member() 202 if (wl1->nstrings > wl2->nstrings) in string_list_intersect() 244 for (j = 0; j < from->nstrings; j++) in string_list_copy_constructor() 441 for (j = 0; j < wlp->nstrings; j++) in string_list_append_unique() 498 wlp->nstrings--; in string_list_remove() [all …]
|
/dports/devel/aegis/aegis-4.25.D510/common/ |
H A D | abbreviate.cc | 95 assert(punct.nstrings == word.nstrings); in abbreviate() 122 str_free(punct.string[--punct.nstrings]); in abbreviate() 123 str_free(word.string[--word.nstrings]); in abbreviate() 127 assert(punct.nstrings); in abbreviate() 128 assert(punct.nstrings == word.nstrings); in abbreviate() 133 for (j = punct.nstrings - 1; j >= 0; --j) in abbreviate() 163 j == (int)punct.nstrings - 1 in abbreviate() 181 for (k = 0; k < word.nstrings; ++k) in abbreviate() 187 for (j = word.nstrings - 1; j >= 0; --j) in abbreviate() 206 for (k = 0; k < punct.nstrings; ++k) in abbreviate() [all …]
|
/dports/graphics/opendx/dx-4.4.4/src/exec/dxmods/ |
H A D | print.c | 30 int i = 0, nstrings = 0; in m_Print() local 44 nstrings = 0; in m_Print() 45 while(DXExtractNthString(in[2], nstrings, &cp)) in m_Print() 46 nstrings++; in m_Print() 48 if(nstrings == 0) in m_Print() 51 if((comps = (char **)DXAllocate(sizeof(char *) * (nstrings+1))) == NULL) in m_Print() 54 for(i=0; i<nstrings; i++) in m_Print()
|
/dports/japanese/kinput2/kinput2-v3.1/lib/ |
H A D | CandPanel.c | 37 offset(nstrings), XtRImmediate, 0 }, 283 new->cpanel.nstrings != old->cpanel.nstrings) { 290 new->cpanel.nstrings != old->cpanel.nstrings || 516 if (ncolumns > cpw->cpanel.nstrings) ncolumns = cpw->cpanel.nstrings; 543 if (ncolumns > cpw->cpanel.nstrings) ncolumns = cpw->cpanel.nstrings; 644 int nstrings; 652 cpw->cpanel.nstrings = nstrings; 654 if (current >= nstrings) current = nstrings - 1; 695 int nstrings = cpw->cpanel.nstrings; local 697 if (nstrings <= 0) return; [all …]
|
/dports/devel/aegis/aegis-4.25.D510/libaegis/patch/ |
H A D | context.cc | 39 while (n >= (int)buffer.nstrings) in getline() 55 for (size_t j = 0; j < (size_t)n && j < buffer.nstrings; ++j) in discard() 57 if (n >= (int)buffer.nstrings) in discard() 58 buffer.nstrings = 0; in discard() 61 for (size_t k = n; k < buffer.nstrings; ++k) in discard() 64 buffer.nstrings -= n; in discard()
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/src/ |
H A D | write-mo.c | 150 size_t nstrings; in write_table() local 175 nstrings = 0; in write_table() 360 nstrings++; in write_table() 369 if (nstrings > 0) in write_table() 432 header.nstrings = nstrings; in write_table() 489 BSWAP32 (header.nstrings); in write_table() 508 for (j = 0; j < nstrings; j++) in write_table() 519 for (j = 0; j < nstrings; j++) in write_table() 529 for (j = 0; j < nstrings; j++) in write_table() 707 for (j = 0; j < nstrings; j++) in write_table() [all …]
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/src/ |
H A D | write-mo.c | 150 size_t nstrings; in write_table() local 175 nstrings = 0; in write_table() 360 nstrings++; in write_table() 369 if (nstrings > 0) in write_table() 432 header.nstrings = nstrings; in write_table() 489 BSWAP32 (header.nstrings); in write_table() 508 for (j = 0; j < nstrings; j++) in write_table() 519 for (j = 0; j < nstrings; j++) in write_table() 529 for (j = 0; j < nstrings; j++) in write_table() 707 for (j = 0; j < nstrings; j++) in write_table() [all …]
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/src/ |
H A D | write-mo.c | 150 size_t nstrings; in write_table() local 175 nstrings = 0; in write_table() 360 nstrings++; in write_table() 369 if (nstrings > 0) in write_table() 432 header.nstrings = nstrings; in write_table() 489 BSWAP32 (header.nstrings); in write_table() 508 for (j = 0; j < nstrings; j++) in write_table() 519 for (j = 0; j < nstrings; j++) in write_table() 529 for (j = 0; j < nstrings; j++) in write_table() 707 for (j = 0; j < nstrings; j++) in write_table() [all …]
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/src/ |
H A D | write-mo.c | 150 size_t nstrings; in write_table() local 175 nstrings = 0; in write_table() 360 nstrings++; in write_table() 369 if (nstrings > 0) in write_table() 432 header.nstrings = nstrings; in write_table() 489 BSWAP32 (header.nstrings); in write_table() 508 for (j = 0; j < nstrings; j++) in write_table() 519 for (j = 0; j < nstrings; j++) in write_table() 529 for (j = 0; j < nstrings; j++) in write_table() 707 for (j = 0; j < nstrings; j++) in write_table() [all …]
|
/dports/misc/libsolv/libsolv-0.7.19/src/ |
H A D | strpool.c | 38 ss->nstrings = count; in stringpool_init() 67 ss->strings = solv_extend_resize(0, from->nstrings, sizeof(Offset), STRING_BLOCK); in stringpool_clone() 68 memcpy(ss->strings, from->strings, from->nstrings * sizeof(Offset)); in stringpool_clone() 71 ss->nstrings = from->nstrings; in stringpool_clone() 84 hashmask = mkmask(ss->nstrings + numnew); in stringpool_resize_hash() 94 for (i = 1; i < ss->nstrings; i++) in stringpool_resize_hash() 118 if ((Hashval)ss->nstrings * 2 > hashmask) in stringpool_strn2id() 145 ss->strings = solv_extend_resize(ss->strings, ss->nstrings + 1, sizeof(Offset), STRING_BLOCK); in stringpool_strn2id() 149 id = ss->nstrings++; in stringpool_strn2id() 177 ss->strings = solv_extend_resize(ss->strings, ss->nstrings, sizeof(Offset), STRING_BLOCK); in stringpool_shrink()
|
/dports/devel/aegis/aegis-4.25.D510/libaegis/change/file/ |
H A D | name_check.cc | 95 if (wl.nstrings < 1 || wl.nstrings > 2) in is_a_dos_filename() 101 wl.nstrings > 1 in is_a_dos_filename() 111 for (j = 0; j < wl.nstrings; ++j) in is_a_dos_filename() 607 if (part.nstrings == 1) in change_filename_check() 636 if (part.nstrings == 1) in change_filename_check() 663 if (k == part.nstrings - 1) in change_filename_check() 680 if (part.nstrings == 1) in change_filename_check() 713 if (part.nstrings == 1) in change_filename_check() 741 if (part.nstrings == 1) in change_filename_check() 773 if (part.nstrings == 1) in change_filename_check() [all …]
|
/dports/biology/vt/vt-0.57721/lib/htslib/cram/ |
H A D | string_alloc.c | 63 a_str->nstrings = 0; in string_pool_create() 76 str = realloc(a_str->strings, (a_str->nstrings + 1) * sizeof(*a_str->strings)); in new_string_pool() 81 str = &a_str->strings[a_str->nstrings]; in new_string_pool() 88 a_str->nstrings++; in new_string_pool() 99 for (i = 0; i < a_str->nstrings; i++) { in string_pool_destroy() 117 if (a_str->nstrings) { in string_alloc() 118 str = &a_str->strings[a_str->nstrings - 1]; in string_alloc()
|
/dports/biology/bedtools/bedtools2-2.30.0/src/utils/htslib/cram/ |
H A D | string_alloc.c | 63 a_str->nstrings = 0; in string_pool_create() 76 str = realloc(a_str->strings, (a_str->nstrings + 1) * sizeof(*a_str->strings)); in new_string_pool() 81 str = &a_str->strings[a_str->nstrings]; in new_string_pool() 88 a_str->nstrings++; in new_string_pool() 99 for (i = 0; i < a_str->nstrings; i++) { in string_pool_destroy() 117 if (a_str->nstrings) { in string_alloc() 118 str = &a_str->strings[a_str->nstrings - 1]; in string_alloc()
|
/dports/biology/stacks/stacks-2.4/htslib/cram/ |
H A D | string_alloc.c | 63 a_str->nstrings = 0; in string_pool_create() 76 str = realloc(a_str->strings, (a_str->nstrings + 1) * sizeof(*a_str->strings)); in new_string_pool() 81 str = &a_str->strings[a_str->nstrings]; in new_string_pool() 88 a_str->nstrings++; in new_string_pool() 99 for (i = 0; i < a_str->nstrings; i++) { in string_pool_destroy() 117 if (a_str->nstrings) { in string_alloc() 118 str = &a_str->strings[a_str->nstrings - 1]; in string_alloc()
|
/dports/biology/kallisto/kallisto-0.46.1/ext/htslib/cram/ |
H A D | string_alloc.c | 63 a_str->nstrings = 0; in string_pool_create() 76 str = realloc(a_str->strings, (a_str->nstrings + 1) * sizeof(*a_str->strings)); in new_string_pool() 81 str = &a_str->strings[a_str->nstrings]; in new_string_pool() 88 a_str->nstrings++; in new_string_pool() 99 for (i = 0; i < a_str->nstrings; i++) { in string_pool_destroy() 117 if (a_str->nstrings) { in string_alloc() 118 str = &a_str->strings[a_str->nstrings - 1]; in string_alloc()
|
/dports/biology/iolib/io_lib-io_lib-1-14-10/io_lib/ |
H A D | string_alloc.c | 63 a_str->nstrings = 0; in string_pool_create() 76 str = realloc(a_str->strings, (a_str->nstrings + 1) * sizeof(*a_str->strings)); in new_string_pool() 81 str = &a_str->strings[a_str->nstrings]; in new_string_pool() 88 a_str->nstrings++; in new_string_pool() 99 for (i = 0; i < a_str->nstrings; i++) { in string_pool_destroy() 117 if (a_str->nstrings) { in string_alloc() 118 str = &a_str->strings[a_str->nstrings - 1]; in string_alloc()
|
/dports/devel/cook/cook-2.30/cook/opcode/ |
H A D | catenate.c | 65 switch ((left->nstrings ? 1 : 0) | (right->nstrings ? 2 : 0)) in execute() 73 for (j = 0; j < left->nstrings; j++) in execute() 79 for (j = 0; j < right->nstrings; j++) in execute() 85 for (j = 0; j < left->nstrings - 1; j++) in execute() 90 for (j = 1; j < right->nstrings; j++) in execute()
|
H A D | command.c | 122 if (!result || !result->nstrings) in id_var_search() 422 argvlen = cmd.nstrings + 1; in spawn() 425 else if (argvlen < cmd.nstrings + 1) in spawn() 427 argvlen = cmd.nstrings + 1; in spawn() 430 if (cmd.nstrings == 0) in spawn() 436 for (j = 0; j < cmd.nstrings; ++j) in spawn() 438 argv[cmd.nstrings] = 0; in spawn() 651 for (j = 0; j < wlp->nstrings; ++j) in execute() 797 if (wlp->nstrings == 0) in script() 808 s1 = wl2str(wlp, 0, wlp->nstrings, " "); in script() [all …]
|
/dports/net/dgd/dgd-1.4.23/src/comp/ |
H A D | csupport.c | 300 ctrl->nstrings = l->nstrings; in pc_control() 385 dh.nstrings = 0; in pc_dump() 398 dh.nstrings += (*pc)->nstrings; in pc_dump() 436 if (dh.nstrings != 0) { in pc_dump() 459 dpc->nstrings = (*pc)->nstrings; in pc_dump() 517 strings -= dh.nstrings; in pc_dump() 553 if (dh.nstrings != 0) { in pc_dump() 639 --nstrings; in dstrcmp() 770 if (dh.nstrings != 0) { in pc_restore() 810 dpc->nstrings != l->nstrings || in pc_restore() [all …]
|
/dports/devel/aegis/aegis-4.25.D510/aeget/get/file/ |
H A D | metrics.cc | 169 row[j] = row_alloc(key.nstrings); in get_file_metrics() 170 sigma_x = row_alloc(key.nstrings); in get_file_metrics() 171 sigma_x2 = row_alloc(key.nstrings); in get_file_metrics() 233 for (j = 0; j < key.nstrings; ++j) in get_file_metrics() 247 if (sl.nstrings) in get_file_metrics() 253 for (k = 1; k < sl.nstrings; ++k) in get_file_metrics() 296 for (k = 0; k < key.nstrings; ++k) in get_file_metrics() 309 for (j = 0; j < key.nstrings; ++j) in get_file_metrics() 316 for (j = 0; j < key.nstrings; ++j) in get_file_metrics() 327 for (j = 0; j < key.nstrings; ++j) in get_file_metrics() [all …]
|
/dports/devel/aegis/aegis-4.25.D510/aegis/ |
H A D | aemv.cc | 402 if (wl_args.nstrings < 2) in move_file_main() 409 if (wl_args.nstrings % 2) in move_file_main() 478 for (i = 0; i < (wl_args.nstrings - 1); ++i) in move_file_main() 573 if (wl_in.nstrings) in move_file_main() 575 for (j = 0; j < wl_in.nstrings; ++j) in move_file_main() 638 if (wl_rm.nstrings != wl_nf.nstrings + wl_nt.nstrings) in move_file_main() 687 assert(wl_nf.nstrings > 0 || wl_nt.nstrings > 0); in move_file_main() 688 if (wl_nf.nstrings) in move_file_main() 690 if (wl_nt.nstrings) in move_file_main() 692 assert(wl_rm.nstrings > 0); in move_file_main() [all …]
|
/dports/devel/aegis/aegis-4.25.D510/libaegis/change/test/ |
H A D | run_list.cc | 94 if (wlp->nstrings == 0) in change_test_run_list_inner() 181 for (size_t nn = 0; nn < wlp->nstrings; ++nn) in calculate_eta() 183 size_t n = wlp->nstrings - 1 - nn; in calculate_eta() 226 long *countdown = new long [wlp->nstrings]; in change_test_run_list() 246 if (wlp->nstrings <= multiple) in change_test_run_list() 256 (progress_flag ? wlp->nstrings : 0), in change_test_run_list() 270 for (size_t j = 0; j < wlp->nstrings; j += multiple) in change_test_run_list() 273 if (end > wlp->nstrings) in change_test_run_list() 274 end = wlp->nstrings; in change_test_run_list() 286 (progress_flag ? wlp->nstrings : 0), in change_test_run_list()
|