/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/lib-sieve/ |
H A D | sieve-stringlist.c | 41 return strlist->read_all(strlist, pool, list_r); in sieve_stringlist_read_all() 61 return strlist->get_length(strlist); in sieve_stringlist_get_length() 92 strlist->strlist.runenv = renv; in sieve_single_stringlist_create() 93 strlist->strlist.exec_status = SIEVE_EXEC_OK; in sieve_single_stringlist_create() 94 strlist->strlist.next_item = sieve_single_stringlist_next_item; in sieve_single_stringlist_create() 95 strlist->strlist.reset = sieve_single_stringlist_reset; in sieve_single_stringlist_create() 100 return &strlist->strlist; in sieve_single_stringlist_create() 178 strlist->strlist.runenv = renv; in sieve_index_stringlist_create() 179 strlist->strlist.exec_status = SIEVE_EXEC_OK; in sieve_index_stringlist_create() 181 strlist->strlist.reset = sieve_index_stringlist_reset; in sieve_index_stringlist_create() [all …]
|
H A D | sieve-stringlist.h | 12 (struct sieve_stringlist *strlist); 14 (struct sieve_stringlist *strlist); 17 (struct sieve_stringlist *strlist, pool_t pool, 30 (struct sieve_stringlist *strlist, bool trace) in sieve_stringlist_set_trace() argument 32 strlist->trace = trace; in sieve_stringlist_set_trace() 34 if ( strlist->set_trace != NULL ) in sieve_stringlist_set_trace() 35 strlist->set_trace(strlist, trace); in sieve_stringlist_set_trace() 41 return strlist->next_item(strlist, str_r); in sieve_stringlist_next_item() 45 (struct sieve_stringlist *strlist) in sieve_stringlist_reset() argument 47 strlist->reset(strlist); in sieve_stringlist_reset() [all …]
|
/dports/astro/starplot/starplot-0.95.5/src/convert/ |
H A D | parse.cc | 186 strlist.stripspace(); in parse_config_line() 187 strlist.utf8ize(); in parse_config_line() 226 if (strlist.size() > 3) in parse_config_none() 276 starmath::atoi(strlist[2]) - starmath::atoi(strlist[1]) + 1 : 1; in parse_config_charact() 297 if (strlist.size() > 2) in parse_config_charact() 322 if (strlist.size() > 7 || strlist.size() == 6) in parse_config_charact() 327 if (strlist.size() > 4) in parse_config_charact() 351 if (strlist.size() > 4) in parse_config_charact() 386 if (strlist.size() > 3) in parse_config_systems() 435 if (strlist.size() > 2) in parse_config_names() [all …]
|
/dports/sysutils/burp/burp-2.4.0/src/ |
H A D | strlist.c | 10 static void strlist_free(struct strlist *strlist) in strlist_free() argument 12 if(!strlist) return; in strlist_free() 18 void strlists_free(struct strlist **strlist) in strlists_free() argument 20 struct strlist *s; in strlists_free() 23 shead=*strlist; in strlists_free() 30 *strlist=NULL; in strlists_free() 49 static int do_strlist_add(struct strlist **strlist, in do_strlist_add() argument 86 int strlist_add(struct strlist **strlist, in strlist_add() argument 92 int strlist_add_sorted(struct strlist **strlist, in strlist_add_sorted() argument 98 int strlist_add_sorted_uniq(struct strlist **strlist, in strlist_add_sorted_uniq() argument [all …]
|
H A D | strlist.h | 10 typedef struct strlist strlist_t; 12 struct strlist struct 20 extern void strlists_free(struct strlist **strlist); argument 21 extern int strlist_add(struct strlist **strlist, 23 extern int strlist_add_sorted(struct strlist **strlist, 25 extern int strlist_add_sorted_uniq(struct strlist **strlist, 27 extern int strlist_compile_regexes(struct strlist *strlist); 28 extern int strlist_find(struct strlist *strlist, const char *path, long flag);
|
/dports/sysutils/burp-devel/burp-2.5.4/src/ |
H A D | strlist.c | 10 static void strlist_free(struct strlist *strlist) in strlist_free() argument 12 if(!strlist) return; in strlist_free() 18 void strlists_free(struct strlist **strlist) in strlists_free() argument 20 struct strlist *s; in strlists_free() 23 shead=*strlist; in strlists_free() 30 *strlist=NULL; in strlists_free() 49 static int do_strlist_add(struct strlist **strlist, in do_strlist_add() argument 92 int strlist_add(struct strlist **strlist, in strlist_add() argument 98 int strlist_add_sorted(struct strlist **strlist, in strlist_add_sorted() argument 104 int strlist_add_sorted_uniq(struct strlist **strlist, in strlist_add_sorted_uniq() argument [all …]
|
H A D | strlist.h | 10 typedef struct strlist strlist_t; 12 struct strlist struct 20 extern void strlists_free(struct strlist **strlist); argument 21 extern int strlist_add(struct strlist **strlist, 23 extern int strlist_add_sorted(struct strlist **strlist, 25 extern int strlist_add_sorted_uniq(struct strlist **strlist, 27 extern int strlist_compile_regexes(struct strlist *strlist); 28 extern int strlist_find(struct strlist *strlist, const char *path, long flag);
|
/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/lib-sieve/plugins/body/ |
H A D | ext-body-common.c | 31 struct sieve_stringlist strlist; member 42 struct ext_body_stringlist *strlist; in ext_body_get_part_list() local 69 strlist->strlist.runenv = renv; in ext_body_get_part_list() 70 strlist->strlist.next_item = ext_body_stringlist_next_item; in ext_body_get_part_list() 71 strlist->strlist.reset = ext_body_stringlist_reset; in ext_body_get_part_list() 72 strlist->body_parts = body_parts; in ext_body_get_part_list() 75 *strlist_r = &strlist->strlist; in ext_body_get_part_list() 82 struct ext_body_stringlist *strlist = in ext_body_stringlist_next_item() local 90 (strlist->body_parts_iter->content, strlist->body_parts_iter->size); in ext_body_stringlist_next_item() 91 strlist->body_parts_iter++; in ext_body_stringlist_next_item() [all …]
|
/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/testsuite/ |
H A D | testsuite-result.c | 152 strlist->strlist.runenv = renv; in testsuite_result_stringlist_create() 153 strlist->strlist.exec_status = SIEVE_EXEC_OK; in testsuite_result_stringlist_create() 154 strlist->strlist.next_item = testsuite_result_stringlist_next_item; in testsuite_result_stringlist_create() 155 strlist->strlist.reset = testsuite_result_stringlist_reset; in testsuite_result_stringlist_create() 158 strlist->index = index; in testsuite_result_stringlist_create() 159 strlist->pos = 0; in testsuite_result_stringlist_create() 161 return &strlist->strlist; in testsuite_result_stringlist_create() 176 if (strlist->index > 0 && strlist->pos > 0) in testsuite_result_stringlist_next_item() 184 strlist->pos++; in testsuite_result_stringlist_next_item() 185 } while (strlist->pos < strlist->index); in testsuite_result_stringlist_next_item() [all …]
|
/dports/lang/pcc/pcc-1.1.0/cc/driver/ |
H A D | driver.h | 44 extern struct strlist crtdirs; 45 extern struct strlist sysincdirs; 46 extern struct strlist libdirs; 47 extern struct strlist progdirs; 48 extern struct strlist preprocessor_flags; 49 extern struct strlist compiler_flags; 50 extern struct strlist assembler_flags; 51 extern struct strlist early_linker_flags; 53 extern struct strlist late_linker_flags; 54 extern struct strlist stdlib_flags; [all …]
|
H A D | strlist.h | 43 struct strlist { struct 48 void strlist_init(struct strlist *); argument 49 void strlist_free(struct strlist *); 51 void strlist_print(const struct strlist *, FILE *); 53 void strlist_prepend(struct strlist *, const char *); 54 void strlist_prepend_nocopy(struct strlist *, char *); 55 void strlist_prepend_list(struct strlist *, const struct strlist *); 56 void strlist_append(struct strlist *, const char *); 57 void strlist_append_nocopy(struct strlist *, char *); 58 void strlist_append_list(struct strlist *, const struct strlist *); [all …]
|
/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/lib-sieve/plugins/mime/ |
H A D | tag-mime.c | 279 strlist->strlist.runenv = renv; in content_header_stringlist_create() 280 strlist->strlist.exec_status = SIEVE_EXEC_OK; in content_header_stringlist_create() 281 strlist->strlist.next_item = content_header_stringlist_next_item; in content_header_stringlist_create() 282 strlist->strlist.reset = content_header_stringlist_reset; in content_header_stringlist_create() 283 strlist->strlist.set_trace = content_header_stringlist_set_trace; in content_header_stringlist_create() 294 return &strlist->strlist; in content_header_stringlist_create() 350 const struct sieve_runtime_env *renv = strlist->strlist.runenv; in content_type_param_next() 352 bool trace = strlist->strlist.trace; in content_type_param_next() 419 const struct sieve_runtime_env *renv = strlist->strlist.runenv; in content_header_parse() 420 bool trace = strlist->strlist.trace; in content_header_parse() [all …]
|
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/str/ |
H A D | hydra_str.c | 17 for (arg = 0; strlist[arg]; arg++) in HYD_str_print_list() 26 void HYD_str_free_list(char **strlist) in HYD_str_free_list() argument 33 MPL_free(strlist[arg]); in HYD_str_free_list() 47 len += strlen(strlist[i]); in HYD_str_alloc_and_join() 147 char **strlist = NULL; in HYD_str_to_strlist() local 154 if (!strlist) in HYD_str_to_strlist() 158 strlist[i] = NULL; in HYD_str_to_strlist() 178 strlist[argc][i] = 0; in HYD_str_to_strlist() 182 MPL_free(strlist[argc]); in HYD_str_to_strlist() 183 strlist[argc] = NULL; in HYD_str_to_strlist() [all …]
|
/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/lib-sieve/plugins/imap4flags/ |
H A D | ext-imap4flags-common.c | 624 strlist->strlist.exec_status = SIEVE_EXEC_OK; in ext_imap4flags_stringlist_create() 625 strlist->strlist.runenv = renv; in ext_imap4flags_stringlist_create() 626 strlist->strlist.next_item = ext_imap4flags_stringlist_next_item; in ext_imap4flags_stringlist_create() 627 strlist->strlist.reset = ext_imap4flags_stringlist_reset; in ext_imap4flags_stringlist_create() 632 return &strlist->strlist; in ext_imap4flags_stringlist_create() 641 strlist->strlist.exec_status = SIEVE_EXEC_OK; in ext_imap4flags_stringlist_create_single() 642 strlist->strlist.runenv = renv; in ext_imap4flags_stringlist_create_single() 644 strlist->strlist.reset = ext_imap4flags_stringlist_reset; in ext_imap4flags_stringlist_create_single() 654 ext_imap4flags_iter_init(&strlist->flit, strlist->flags_string); in ext_imap4flags_stringlist_create_single() 656 return &strlist->strlist; in ext_imap4flags_stringlist_create_single() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/utils/string/ |
H A D | string.c | 49 HYDU_FREE(strlist[arg]); in HYDU_free_strlist() 63 len += strlen(strlist[i]); in HYDU_str_alloc_and_join() 220 for (i = 0; strlist[i]; i++); in HYDU_strlist_lastidx() 228 char **strlist = NULL; in HYDU_str_to_strlist() local 235 if (!strlist) in HYDU_str_to_strlist() 240 strlist[i] = NULL; in HYDU_str_to_strlist() 260 strlist[argc][i] = 0; in HYDU_str_to_strlist() 264 if (strlist[argc]) in HYDU_str_to_strlist() 265 HYDU_FREE(strlist[argc]); in HYDU_str_to_strlist() 266 strlist[argc] = NULL; in HYDU_str_to_strlist() [all …]
|
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/utils/string/ |
H A D | string.c | 32 for (arg = 0; strlist[arg]; arg++) in HYDU_print_strlist() 48 MPL_free(strlist[arg]); in HYDU_free_strlist() 62 len += strlen(strlist[i]); in HYDU_str_alloc_and_join() 219 for (i = 0; strlist[i]; i++); in HYDU_strlist_lastidx() 227 char **strlist = NULL; in HYDU_str_to_strlist() local 234 if (!strlist) in HYDU_str_to_strlist() 238 strlist[i] = NULL; in HYDU_str_to_strlist() 258 strlist[argc][i] = 0; in HYDU_str_to_strlist() 262 MPL_free(strlist[argc]); in HYDU_str_to_strlist() 263 strlist[argc] = NULL; in HYDU_str_to_strlist() [all …]
|
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/ |
H A D | strlist.c | 63 struct sudoers_str_list *strlist; in str_list_alloc() local 66 strlist = malloc(sizeof(*strlist)); in str_list_alloc() 67 if (strlist != NULL) { in str_list_alloc() 68 STAILQ_INIT(strlist); in str_list_alloc() 69 strlist->refcnt = 1; in str_list_alloc() 72 debug_return_ptr(strlist); in str_list_alloc() 78 struct sudoers_str_list *strlist = v; in str_list_free() local 82 if (strlist != NULL) { in str_list_free() 83 if (--strlist->refcnt == 0) { in str_list_free() 85 STAILQ_REMOVE_HEAD(strlist, entries); in str_list_free() [all …]
|
/dports/mail/dovecot-pigeonhole/dovecot-2.3-pigeonhole-0.5.17/src/lib-sieve/plugins/variables/ |
H A D | tst-string.c | 171 struct sieve_stringlist strlist; member 179 struct tst_string_stringlist *strlist; in tst_string_stringlist_create() local 182 strlist->strlist.runenv = renv; in tst_string_stringlist_create() 183 strlist->strlist.exec_status = SIEVE_EXEC_OK; in tst_string_stringlist_create() 184 strlist->strlist.next_item = tst_string_stringlist_next_item; in tst_string_stringlist_create() 185 strlist->strlist.reset = tst_string_stringlist_reset; in tst_string_stringlist_create() 186 strlist->strlist.get_length = tst_string_stringlist_get_length; in tst_string_stringlist_create() 187 strlist->value_list = value_list; in tst_string_stringlist_create() 189 return &strlist->strlist; in tst_string_stringlist_create() 195 struct tst_string_stringlist *strlist = in tst_string_stringlist_next_item() local [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) call abort 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) call abort 38 if (len (teststrs%strlist(1)%text) .ne. strlen) call abort 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') call abort 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) STOP 1 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) STOP 3 38 if (len (teststrs%strlist(1)%text) .ne. strlen) STOP 4 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') STOP 5 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) STOP 1 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) STOP 3 38 if (len (teststrs%strlist(1)%text) .ne. strlen) STOP 4 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') STOP 5 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) STOP 1 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) STOP 3 38 if (len (teststrs%strlist(1)%text) .ne. strlen) STOP 4 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') STOP 5 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) STOP 1 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) STOP 3 38 if (len (teststrs%strlist(1)%text) .ne. strlen) STOP 4 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') STOP 5 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) STOP 1 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) STOP 3 38 if (len (teststrs%strlist(1)%text) .ne. strlen) STOP 4 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') STOP 5 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/ |
H A D | move_alloc_16.f90 | 16 type(string), allocatable, dimension(:) :: strlist component 23 allocate (teststrs%strlist(1)) 26 allocate (character(len=strlen) :: teststrs%strlist(1)%text) 32 if (.not.allocated (teststrs%strlist(1)%text)) STOP 1 35 call move_alloc(tmpstr%text,teststrs%strlist(1)%text) 37 if (.not.allocated (teststrs%strlist(1)%text)) STOP 3 38 if (len (teststrs%strlist(1)%text) .ne. strlen) STOP 4 39 if (trim (teststrs%strlist(1)%text(1:3)) .ne. 'foo') STOP 5 42 if (allocated (teststrs%strlist(1)%text)) deallocate (teststrs%strlist(1)%text) 43 if (allocated (teststrs%strlist)) deallocate (teststrs%strlist)
|