Home
last modified time | relevance | path

Searched refs:filepart (Results 1 – 25 of 211) sorted by relevance

123456789

/dports/japanese/mutt-devel/mutt-1.5.21/
H A Dcomplete.c87 strfcpy (filepart, p + 1, sizeof (filepart)); in mutt_complete()
90 strfcpy (filepart, s + 1, sizeof (filepart)); in mutt_complete()
102 strfcpy (filepart, p, sizeof (filepart)); in mutt_complete()
108 strfcpy (filepart, p + 1, sizeof (filepart)); in mutt_complete()
118 strfcpy (filepart, s, sizeof (filepart)); in mutt_complete()
139 strfcpy (filepart, de->d_name, sizeof (filepart)); in mutt_complete()
156 filepart[i] = 0; in mutt_complete()
160 filepart[i] = 0; in mutt_complete()
167 strfcpy (filepart, de->d_name, sizeof(filepart)); in mutt_complete()
179 strfcpy (filepart + strlen (filepart), "/", in mutt_complete()
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dwl_iwad_picker.cpp112 FString filepart; in I_PickIWad_Gtk() local
116 if(filepart.IsEmpty()) in I_PickIWad_Gtk()
119 filepart.Mid(1); in I_PickIWad_Gtk()
237 FString filepart; in I_PickIWad() local
244 filepart.Mid(1); in I_PickIWad()
256 FString filepart; in I_PickIWad() local
263 filepart.Mid(1); in I_PickIWad()
304 FString filepart; in I_PickIWad() local
311 filepart.Mid(1); in I_PickIWad()
336 FString filepart; in I_PickIWad() local
[all …]
/dports/mail/neomutt/neomutt-20211029/nntp/
H A Dcomplete.c51 char filepart[PATH_MAX]; in nntp_complete() local
54 mutt_str_copy(filepart, buf, sizeof(filepart)); in nntp_complete()
58 int len = mutt_str_len(filepart); in nntp_complete()
67 mutt_str_copy(filepart, mdata->group, sizeof(filepart)); in nntp_complete()
79 if (mdata && mdata->subscribed && mutt_strn_equal(mdata->group, filepart, len)) in nntp_complete()
84 for (i = 0; filepart[i] && mdata->group[i]; i++) in nntp_complete()
86 if (filepart[i] != mdata->group[i]) in nntp_complete()
89 filepart[i] = '\0'; in nntp_complete()
93 mutt_str_copy(filepart, mdata->group, sizeof(filepart)); in nntp_complete()
99 mutt_str_copy(buf, filepart, buflen); in nntp_complete()
/dports/mail/neomutt/neomutt-20211029/
H A Dcomplete.c66 struct Buffer *filepart = NULL; in mutt_complete() local
109 filepart = mutt_buffer_pool_get(); in mutt_complete()
127 mutt_buffer_strcpy(filepart, p + 1); in mutt_complete()
130 mutt_buffer_strcpy(filepart, buf + 1); in mutt_complete()
142 mutt_buffer_strcpy(filepart, p); in mutt_complete()
157 mutt_buffer_strcpy(filepart, buf); in mutt_complete()
171 len = mutt_buffer_len(filepart); in mutt_complete()
191 char *cp = filepart->data; in mutt_complete()
199 mutt_buffer_fix_dptr(filepart); in mutt_complete()
219 mutt_buffer_addch(filepart, '/'); in mutt_complete()
[all …]
/dports/graphics/okular/okular-21.12.3/generators/dvi/
H A Ddvisourcesplitter.cpp21 QString filepart = srclink, linepart; in DVI_SourceFileSplitter() local
32 if (filepart.left(4) == QLatin1String("src:")) in DVI_SourceFileSplitter()
33 filepart = srclink.mid(4); in DVI_SourceFileSplitter()
36 quint32 max = filepart.length(), i = 0; in DVI_SourceFileSplitter()
38 if (!filepart[i].isDigit()) in DVI_SourceFileSplitter()
40 linepart = filepart.left(i); in DVI_SourceFileSplitter()
41 filepart = filepart.mid(i); in DVI_SourceFileSplitter()
44 if (filepart[0] != QLatin1Char(' ') && (linepart.length() != 1)) in DVI_SourceFileSplitter()
48 filepart = filepart.trimmed(); in DVI_SourceFileSplitter()
52 …qCDebug(OkularDviDebug) << "DVI_SourceSplitter: filepart " << filepart << " linepart " << linepart; in DVI_SourceFileSplitter()
[all …]
/dports/multimedia/py-guessit/guessit-3.3.1/guessit/rules/properties/
H A Dtitle.py73 def filepart_filter(self, filepart, matches): argument
140 outside_matches = filepart.crop(hole)
171 start, end = filepart.span
257 … fileparts = [filepart for filepart in list(marker_sorted(matches.markers.named('path'), matches))
262 for filepart in fileparts:
263 … year_match = matches.range(filepart.start, filepart.end, lambda match: match.name == 'year', 0)
265 years_fileparts.append(filepart)
267 for filepart in fileparts:
280 for filepart in years_fileparts:
324 if filepart:
[all …]
H A Dsource.py158 for filepart in matches.markers.named('path'):
159 for match in matches.range(filepart.start, filepart.end, predicate=(
161 other = self.find_ultrahd(matches, filepart.start, match.start, -1)
163 other = self.find_ultrahd(matches, match.end, filepart.end, 0)
165 if not matches.range(filepart.start, filepart.end, predicate=(
191 for filepart in matches.markers.named('path'):
192 … for match in matches.range(filepart.start, filepart.end, predicate=lambda m: m.name == 'source'):
222 for filepart in matches.markers.named('path'):
223 … for match in matches.range(filepart.start, filepart.end, predicate=lambda m: m.name == 'source'):
227 … and matches.range(match.end, filepart.end, predicate=lambda m: m.name == 'source') \
[all …]
H A Depisodes.py409 weak_matches = matches.range(filepart.start, filepart.end, predicate=(
411 weak_dup_matches = matches.range(filepart.start, filepart.end, predicate=(
416 for match in matches.range(filepart.start, filepart.end, predicate=(
423 episodes_in_range = matches.range(filepart.start, filepart.end, predicate=(
428 if not episodes_in_range and not matches.range(filepart.start, filepart.end,
589 … if matches.range(filepart.start + 1, filepart.end, predicate=lambda m: m.name == 'episode'):
646 to_ignore.update(matches.range(filepart.start, filepart.end,
711 if matches.range(filepart.start, filepart.end,
729 strong_season = matches.range(filepart.start, filepart.end, index=0,
757 strong_episode = matches.range(filepart.start, filepart.end, index=0,
[all …]
H A Depisode_title.py59 for filepart in matches.markers.named('path'):
60 for match in matches.range(filepart.start, filepart.end,
62 … before = matches.range(filepart.start, match.start, predicate=lambda m: not m.private, index=-1)
66 … after = matches.range(match.end, filepart.end, predicate=lambda m: not m.private, index=0)
144 def filepart_filter(self, filepart, matches): argument
146 if matches.range(filepart.start, filepart.end, lambda match: match.name == 'title'):
150 def should_remove(self, match, matches, filepart, hole, context): argument
153 return super().should_remove(match, matches, filepart, hole, context)
H A Drelease_group.py185 for filepart in matches.markers.named('path'):
186 candidate = self.detect(matches, filepart.start, filepart.end, True)
190 candidate = self.detect(matches, filepart.start, filepart.end, False)
234 for filepart in marker_sorted(matches.markers.named('path'), matches):
236 start, end = filepart.span
268 if match.start < filepart.start:
322 for filepart in marker_sorted(matches.markers.named('path'), matches):
324 empty_group = matches.markers.range(filepart.start,
325 filepart.end,
H A Dscreen_size.py120 for filepart in matches.markers.named('path'):
121 screensize = list(reversed(matches.range(filepart.start, filepart.end,
137 for filepart in matches.markers.named('path'):
138 …screensize = matches.range(filepart.start, filepart.end, lambda match: match.name == 'screen_size'…
147 …video_profile = matches.range(screensize.end, filepart.end, lambda match: match.name == 'video_pro…
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/guessit/rules/properties/
H A Dtitle.py73 def filepart_filter(self, filepart, matches): argument
140 outside_matches = filepart.crop(hole)
171 start, end = filepart.span
257 … fileparts = [filepart for filepart in list(marker_sorted(matches.markers.named('path'), matches))
262 for filepart in fileparts:
263 … year_match = matches.range(filepart.start, filepart.end, lambda match: match.name == 'year', 0)
265 years_fileparts.append(filepart)
267 for filepart in fileparts:
280 for filepart in years_fileparts:
324 if filepart:
[all …]
H A Dsource.py158 for filepart in matches.markers.named('path'):
159 for match in matches.range(filepart.start, filepart.end, predicate=(
161 other = self.find_ultrahd(matches, filepart.start, match.start, -1)
163 other = self.find_ultrahd(matches, match.end, filepart.end, 0)
165 if not matches.range(filepart.start, filepart.end, predicate=(
191 for filepart in matches.markers.named('path'):
192 … for match in matches.range(filepart.start, filepart.end, predicate=lambda m: m.name == 'source'):
222 for filepart in matches.markers.named('path'):
223 … for match in matches.range(filepart.start, filepart.end, predicate=lambda m: m.name == 'source'):
227 … and matches.range(match.end, filepart.end, predicate=lambda m: m.name == 'source') \
[all …]
H A Depisodes.py409 weak_matches = matches.range(filepart.start, filepart.end, predicate=(
411 weak_dup_matches = matches.range(filepart.start, filepart.end, predicate=(
416 for match in matches.range(filepart.start, filepart.end, predicate=(
423 episodes_in_range = matches.range(filepart.start, filepart.end, predicate=(
428 if not episodes_in_range and not matches.range(filepart.start, filepart.end,
589 … if matches.range(filepart.start + 1, filepart.end, predicate=lambda m: m.name == 'episode'):
646 to_ignore.update(matches.range(filepart.start, filepart.end,
711 if matches.range(filepart.start, filepart.end,
729 strong_season = matches.range(filepart.start, filepart.end, index=0,
757 strong_episode = matches.range(filepart.start, filepart.end, index=0,
[all …]
H A Depisode_title.py59 for filepart in matches.markers.named('path'):
60 for match in matches.range(filepart.start, filepart.end,
62 … before = matches.range(filepart.start, match.start, predicate=lambda m: not m.private, index=-1)
66 … after = matches.range(match.end, filepart.end, predicate=lambda m: not m.private, index=0)
144 def filepart_filter(self, filepart, matches): argument
146 if matches.range(filepart.start, filepart.end, lambda match: match.name == 'title'):
150 def should_remove(self, match, matches, filepart, hole, context): argument
153 return super().should_remove(match, matches, filepart, hole, context)
H A Drelease_group.py185 for filepart in matches.markers.named('path'):
186 candidate = self.detect(matches, filepart.start, filepart.end, True)
190 candidate = self.detect(matches, filepart.start, filepart.end, False)
234 for filepart in marker_sorted(matches.markers.named('path'), matches):
236 start, end = filepart.span
268 if match.start < filepart.start:
322 for filepart in marker_sorted(matches.markers.named('path'), matches):
324 empty_group = matches.markers.range(filepart.start,
325 filepart.end,
H A Dscreen_size.py120 for filepart in matches.markers.named('path'):
121 screensize = list(reversed(matches.range(filepart.start, filepart.end,
137 for filepart in matches.markers.named('path'):
138 …screensize = matches.range(filepart.start, filepart.end, lambda match: match.name == 'screen_size'…
147 …video_profile = matches.range(screensize.end, filepart.end, lambda match: match.name == 'video_pro…
/dports/audio/libmp3-archive-perl/libmp3-archive-perl-0.9/lib/MP3/
H A DArchive.pm132 my $filepart=$self->filepart($file);
133 my $prelen=length($file)-length($filepart);
160 my $filepart=$self->filepart($file);
161 my $prelen=length($file)-length($filepart);
205 my $filepart=$self->filepart($file);
206 my $prelen=length($file)-length($filepart);
207 my($album,$offset)=$self->format->album($filepart,$format);
250 my $filepart=$self->filepart($file);
251 my $prelen=length($file)-length($filepart);
276 return $self->format->ext($self->filepart($file),$format);
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/posix/sdl/
H A Di_system.cpp343 if (filepart == NULL) in I_PickIWad_Gtk()
344 filepart = wads[i].Path; in I_PickIWad_Gtk()
346 filepart++; in I_PickIWad_Gtk()
349 0, filepart, in I_PickIWad_Gtk()
459 if(filepart == NULL) in I_PickIWad()
462 filepart++; in I_PickIWad()
472 if(filepart == NULL) in I_PickIWad()
475 filepart++; in I_PickIWad()
512 if (filepart == NULL) in I_PickIWad()
513 filepart = wads[i].Path; in I_PickIWad()
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/src/win32/
H A Dwl_iwad_win32.cpp113 FString filepart; in IWADBoxCallback() local
116 filepart = strrchr(WadList[i].Path[0], '/'); in IWADBoxCallback()
117 if(filepart.IsEmpty()) in IWADBoxCallback()
118 filepart = WadList[i].Path[0]; in IWADBoxCallback()
120 filepart.Mid(1); in IWADBoxCallback()
123 filepart.Format("*.%s", WadList[i].Extension.GetChars()); in IWADBoxCallback()
124 work.Format("%s (%s)", WadList[i].Name.GetChars(), filepart.GetChars()); in IWADBoxCallback()
/dports/audio/checkmate/checkmate-0.21/mpck/
H A Dcheckarguments.c117 char * filepart; /* part of wcp with the filename */ local
129 filepart=strrchr(realfilename, DIRSEP);
130 if (filepart == NULL) {
131 filepart=realfilename; /* no backslash found */
133 filepart += 1; /* skip the backslash */
144 strncpy(filepart, FindFileData.cFileName, MAXPATH);
145 if (filepart[0] != '.') {
/dports/lang/kawa/kawa-3.1.1/gnu/bytecode/
H A Ddump.java181 String filepart = part.substring(0, excl); in main() local
183 filepart = new File(filepart).toURI().toURL().toString(); in main()
187 filename = "jar:" + filepart + part.substring(excl); in main()
216 String filepart = url.getFile(); in main()
217 int sl = filepart.lastIndexOf('!'); in main()
219 filepart = filepart.substring(0, sl); in main()
222 new URL(filepart).openConnection().getInputStream(); in main()
227 System.err.print(filepart); in main()
/dports/net-mgmt/glpi-plugins-fusioninventory-server/fusioninventory-for-glpi-glpi090-1.5/scripts/
H A Dcleanup_repository.php185 foreach($fileparts_iterator as $filepart) {
186 if ( $filepart->isFile() && in_array($filepart->getFilename(), $invalid_fileparts)) {
187 $logger->debug( "Start removing " . $filepart->getFileName() .".");
189 $logger->debug( "Removing " . $filepart->getPathName() .".");
190 unlink($filepart->getPathName());
193 $logger->debug( "Will remove " . $filepart->getPathName() .".");
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/io/
H A Dhttp.cpp82 std::string filepart; in get_file() local
86 filepart = path.replace(path.begin(), path.end(), '/', '_'); in get_file()
87 filepart += ".url"; in get_file()
89 filepart = path.substr(path.rfind("/") + 1); in get_file()
92 const char *ret = get_path(Resource::CACHE, Resource::NONE, filepart.c_str()); in get_file()
/dports/lang/p5-Marpa-PP/Marpa-PP-0.014000/config/Marpa/PP/
H A DLicense.pm229 my ( $volume, $dirpart, $filepart ) = File::Spec->splitpath($filename);
235 and $filepart =~ /[.]t\z/xms;
238 return \&trivial if $filepart eq '.gitignore';
242 if $filepart =~ /[.] (t|pl|pm|PL) \z /xms;
244 if $filepart eq 'typemap';
245 return \&license_problems_in_pod_file if $filepart =~ /[.]pod \z/xms;
247 if $filepart =~ /[.] (xs|c|h) \z /xms;
249 if $filepart =~ /[.] (w) \z /xms;

123456789