Home
last modified time | relevance | path

Searched refs:cursect (Results 1 – 25 of 68) sorted by relevance

123

/dports/news/inn-current/inn-2.7-20211226/storage/ovsqlite/
H A Dsqlite-helper-gen.in41 my($fh, %sections, @names, $cursect, @cursect);
44 while (@cursect && $cursect[-1] !~ /\S/) {
45 pop(@cursect);
47 while (@cursect && $cursect[0] !~ /\S/) {
48 shift(@cursect);
50 push(@{$cursect}, splice(@cursect));
58 $cursect = \@{$sections{""}};
67 $cursect = \@{$sections{$1}};
70 $cursect = \@{$sections{""}};
73 push(@cursect, $line);
/dports/audio/ocp/ocp-0.2.90/goodies/helpc/
H A Docphhc.c82 *cursect=NULL;
109 if (!cursect || comment)
134 if (cursect) {
135 cursect->next=calloc(sizeof(section), 1); cursect=cursect->next;
152 cursect->desc=NULL;
154 cursect->data=NULL; cursect->next=NULL;
565 for(cursect=sections;cursect;cursect=sections)
568 free(cursect->name);
569 free(cursect->desc);
570 free(cursect->data);
[all …]
/dports/devel/py-zc.buildout/zc.buildout-2.11.3/src/zc/buildout/
H A Dconfigparser.py139 cursect = None # None, or a dictionary
154 if line[0].isspace() and cursect is not None and optname:
165 cursect[optname] = "%s\n%s" % (cursect[optname], line)
198 cursect = sections[sectname]
200 sections[sectname] = cursect = {}
203 elif cursect is None:
220 cursect[optname] = optval
/dports/misc/sword/sword-1.8.1/src/mgr/
H A Dswconfig.cpp62 ConfigEntMap cursect; in load() local
87 getSections().insert(SectionMap::value_type(sectname, cursect)); in load()
90 cursect.erase(cursect.begin(), cursect.end()); in load()
99 cursect.insert(ConfigEntMap::value_type(buf, strstrip(data))); in load()
100 else cursect.insert(ConfigEntMap::value_type(buf, "")); in load()
108 getSections().insert(SectionMap::value_type(sectname, cursect)); in load()
/dports/devel/osc/osc-0.175.0/osc/
H A DOscConfigParser.py234 cursect = None # None, or a dictionary
245 self._sections.add_other(cursect, line)
251 if line[0].isspace() and cursect is not None and optname:
256 if cursect == configparser.DEFAULTSECT:
260 …self._sections[cursect]._find(optname).value = '%s\n%s' % (self.get(cursect, optname, raw=True), v…
268 cursect = self._sections[sectname]
270 cursect = self._defaults
277 cursect = sectname
280 elif cursect is None:
298 if cursect == configparser.DEFAULTSECT:
[all …]
/dports/net/gnu-dico/dico-2.10/grecs/src/
H A Dtree.c304 if (cursect && cursect->kwd && cursect != &fake) { in find_keyword()
871 struct grecs_keyword *cursect; member
876 ((char*)((clos)->cursect ? (clos)->cursect->callback_data : NULL))
887 clos->cursect = kwp; in stmt_begin()
901 clos->cursect = &fake; in stmt_begin()
906 clos->cursect = kwp; in stmt_begin()
916 if (clos->cursect && clos->cursect->callback) { in stmt_end()
922 if (!clos->cursect) in stmt_end()
1165 if (clos->cursect) { in reduceproc()
1176 clos->cursect = kwp; in reduceproc()
[all …]
/dports/sysutils/direvent/direvent-5.2/grecs/src/
H A Dtree.c304 if (cursect && cursect->kwd && cursect != &fake) { in find_keyword()
871 struct grecs_keyword *cursect; member
876 ((char*)((clos)->cursect ? (clos)->cursect->callback_data : NULL))
887 clos->cursect = kwp; in stmt_begin()
901 clos->cursect = &fake; in stmt_begin()
906 clos->cursect = kwp; in stmt_begin()
916 if (clos->cursect && clos->cursect->callback) { in stmt_end()
922 if (!clos->cursect) in stmt_end()
1165 if (clos->cursect) { in reduceproc()
1176 clos->cursect = kwp; in reduceproc()
[all …]
/dports/sysutils/pies/pies-1.5/grecs/src/
H A Dtree.c304 if (cursect && cursect->kwd && cursect != &fake) { in find_keyword()
871 struct grecs_keyword *cursect; member
876 ((char*)((clos)->cursect ? (clos)->cursect->callback_data : NULL))
887 clos->cursect = kwp; in stmt_begin()
901 clos->cursect = &fake; in stmt_begin()
906 clos->cursect = kwp; in stmt_begin()
916 if (clos->cursect && clos->cursect->callback) { in stmt_end()
922 if (!clos->cursect) in stmt_end()
1165 if (clos->cursect) { in reduceproc()
1176 clos->cursect = kwp; in reduceproc()
[all …]
/dports/sysutils/eclat/eclat-2.0/grecs/src/
H A Dtree.c293 if (cursect && cursect->kwd && cursect != &fake) { in find_keyword()
840 struct grecs_keyword *cursect; member
845 ((char*)((clos)->cursect ? (clos)->cursect->callback_data : NULL))
856 clos->cursect = kwp; in stmt_begin()
870 clos->cursect = &fake; in stmt_begin()
875 clos->cursect = kwp; in stmt_begin()
885 if (clos->cursect && clos->cursect->callback) { in stmt_end()
891 if (!clos->cursect) in stmt_end()
1138 if (clos->cursect) { in reduceproc()
1153 clos->cursect = kwp; in reduceproc()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/
H A Dengine_maptext.lua185 local cursect, curlastwall = 0, lastwallofsect(0)
197 cursect = cursect+1
198 curlastwall = lastwallofsect(cursect)
214 local cursect, curfirstwall = 0, 0
228 if (cursect==ffiC.MAXSECTORS) then
232 ffiC.sector[cursect].wallptr = curfirstwall
233 ffiC.sector[cursect].wallnum = i-curfirstwall+1
234 cursect = cursect+1
/dports/sysutils/py-salt/salt-3004.1/salt/utils/
H A Dconfigparser.py71 cursect = None # None, or a dictionary
96 cursect = self._sections[sectname]
98 cursect = self._defaults
100 cursect = self._dict()
101 self._sections[sectname] = cursect
105 elif cursect is None:
130 self._add_option(cursect, optname, optval)
/dports/lang/python-legacy/Python-2.7.18/Lib/
H A DConfigParser.py474 cursect = None # None, or a dictionary
490 if line[0].isspace() and cursect is not None and optname:
493 cursect[optname].append(value)
501 cursect = self._sections[sectname]
503 cursect = self._defaults
505 cursect = self._dict()
506 cursect['__name__'] = sectname
507 self._sections[sectname] = cursect
511 elif cursect is None:
532 cursect[optname] = [optval]
[all …]
/dports/lang/python27/Python-2.7.18/Lib/
H A DConfigParser.py474 cursect = None # None, or a dictionary
490 if line[0].isspace() and cursect is not None and optname:
493 cursect[optname].append(value)
501 cursect = self._sections[sectname]
503 cursect = self._defaults
505 cursect = self._dict()
506 cursect['__name__'] = sectname
507 self._sections[sectname] = cursect
511 elif cursect is None:
532 cursect[optname] = [optval]
[all …]
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/
H A DConfigParser.py474 cursect = None # None, or a dictionary
490 if line[0].isspace() and cursect is not None and optname:
493 cursect[optname].append(value)
501 cursect = self._sections[sectname]
503 cursect = self._defaults
505 cursect = self._dict()
506 cursect['__name__'] = sectname
507 self._sections[sectname] = cursect
511 elif cursect is None:
532 cursect[optname] = [optval]
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A DConfigParser.py466 cursect = None # None, or a dictionary
482 if line[0].isspace() and cursect is not None and optname:
485 cursect[optname].append(value)
493 cursect = self._sections[sectname]
495 cursect = self._defaults
497 cursect = self._dict()
498 cursect['__name__'] = sectname
499 self._sections[sectname] = cursect
503 elif cursect is None:
524 cursect[optname] = [optval]
[all …]
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/git/
H A Dconfig.py284 cursect = None # None, or a dictionary
320 cursect = self._sections[sectname]
322 cursect = self._defaults
324 cursect = self._dict((('__name__', sectname),))
325 self._sections[sectname] = cursect
330 elif cursect is None:
351 cursect[optname] = optval
365 cursect[optname] += string_decode(line)
/dports/audio/voipong/voipong-2.0/
H A Dconf.c90 confsect *cursect = NULL; in config_parse() local
108 cursect = sptr; in config_parse()
113 if (cursect == NULL) { in config_parse()
121 cursect = sptr; in config_parse()
129 nptr->next = cursect->nodes; in config_parse()
130 cursect->nodes = nptr; in config_parse()
/dports/devel/libdwarf/dwarf-20161124/libdwarf/
H A Dpro_section.c2320 Dwarf_P_Section_Data cursect = 0; in _dwarf_pro_buffer() local
2322 cursect = dbg->de_current_active_section; in _dwarf_pro_buffer()
2327 ((cursect->ds_nbytes + nbytes) > cursect->ds_orig_alloc) in _dwarf_pro_buffer()
2341 cursect = (Dwarf_P_Section_Data) in _dwarf_pro_buffer()
2345 if (cursect == NULL) { in _dwarf_pro_buffer()
2351 cursect->ds_data = (char *) cursect + in _dwarf_pro_buffer()
2353 cursect->ds_orig_alloc = space; in _dwarf_pro_buffer()
2354 cursect->ds_elf_sect_no = elfsectno; in _dwarf_pro_buffer()
2364 dbg->de_debug_sects = cursect; in _dwarf_pro_buffer()
2379 (cursect->ds_data + cursect->ds_nbytes); in _dwarf_pro_buffer()
[all …]
/dports/devel/dwarfdump/dwarf-20161124/libdwarf/
H A Dpro_section.c2320 Dwarf_P_Section_Data cursect = 0; in _dwarf_pro_buffer() local
2322 cursect = dbg->de_current_active_section; in _dwarf_pro_buffer()
2327 ((cursect->ds_nbytes + nbytes) > cursect->ds_orig_alloc) in _dwarf_pro_buffer()
2341 cursect = (Dwarf_P_Section_Data) in _dwarf_pro_buffer()
2345 if (cursect == NULL) { in _dwarf_pro_buffer()
2351 cursect->ds_data = (char *) cursect + in _dwarf_pro_buffer()
2353 cursect->ds_orig_alloc = space; in _dwarf_pro_buffer()
2354 cursect->ds_elf_sect_no = elfsectno; in _dwarf_pro_buffer()
2364 dbg->de_debug_sects = cursect; in _dwarf_pro_buffer()
2379 (cursect->ds_data + cursect->ds_nbytes); in _dwarf_pro_buffer()
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/
H A Dconfigparser.py1044 cursect is not None and
1046 cursect[optname] is not None):
1055 if (cursect is not None and optname and
1057 cursect[optname].append(value)
1069 cursect = self._sections[sectname]
1072 cursect = self._defaults
1074 cursect = self._dict()
1075 self._sections[sectname] = cursect
1081 elif cursect is None:
1100 cursect[optname] = [optval]
[all …]
/dports/lang/python310/Python-3.10.1/Lib/
H A Dconfigparser.py1048 cursect is not None and
1050 cursect[optname] is not None):
1059 if (cursect is not None and optname and
1061 cursect[optname].append(value)
1073 cursect = self._sections[sectname]
1076 cursect = self._defaults
1078 cursect = self._dict()
1079 self._sections[sectname] = cursect
1085 elif cursect is None:
1104 cursect[optname] = [optval]
[all …]
/dports/lang/python37/Python-3.7.12/Lib/
H A Dconfigparser.py1041 cursect is not None and
1043 cursect[optname] is not None):
1052 if (cursect is not None and optname and
1054 cursect[optname].append(value)
1066 cursect = self._sections[sectname]
1069 cursect = self._defaults
1071 cursect = self._dict()
1072 self._sections[sectname] = cursect
1078 elif cursect is None:
1097 cursect[optname] = [optval]
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/
H A Dconfigparser.py1018 cursect is not None and
1020 cursect[optname] is not None):
1029 if (cursect is not None and optname and
1031 cursect[optname].append(value)
1043 cursect = self._sections[sectname]
1046 cursect = self._defaults
1048 cursect = self._dict()
1049 self._sections[sectname] = cursect
1055 elif cursect is None:
1074 cursect[optname] = [optval]
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/
H A Dconfigparser.py1044 cursect is not None and
1046 cursect[optname] is not None):
1055 if (cursect is not None and optname and
1057 cursect[optname].append(value)
1069 cursect = self._sections[sectname]
1072 cursect = self._defaults
1074 cursect = self._dict()
1075 self._sections[sectname] = cursect
1081 elif cursect is None:
1100 cursect[optname] = [optval]
[all …]
/dports/lang/python39/Python-3.9.9/Lib/
H A Dconfigparser.py1047 cursect is not None and
1049 cursect[optname] is not None):
1058 if (cursect is not None and optname and
1060 cursect[optname].append(value)
1072 cursect = self._sections[sectname]
1075 cursect = self._defaults
1077 cursect = self._dict()
1078 self._sections[sectname] = cursect
1084 elif cursect is None:
1103 cursect[optname] = [optval]
[all …]

123