/dports/www/bluefish/bluefish-2.2.12/src/ |
H A D | osxutils.c | 107 gchar *tmp = g_strconcat(dirn, relpath, NULL); in osx_set_env_on_path() 142 gchar *dirn; in osx_setenv() local 179 dirn = g_path_get_dirname(tmppath); in osx_setenv() 182 chdir(dirn); in osx_setenv() 188 osx_set_env_on_path(dirn, "/../../Contents/Resources/", "GTK_EXE_PREFIX", FALSE); in osx_setenv() 189 osx_set_env_on_path(dirn, "/../../Contents/Resources/", "GTK_PATH", FALSE); in osx_setenv() 210 locale_dir = g_strconcat(dirn, "/../../Contents/Resources/share/locale", NULL); in osx_setenv() 226 g_free(dirn); in osx_setenv() 272 g_free(dirn); in osx_setenv() 291 g_free(dirn); in osx_setenv() [all …]
|
/dports/www/squid/squid-4.15/src/store/ |
H A D | Disks.cc | 76 return dirn; in storeDirSelectSwapDirRoundRobin() 102 int dirn = -1; in storeDirSelectSwapDirLeastLoad() local 142 dirn = i; in storeDirSelectSwapDirLeastLoad() 145 if (dirn >= 0) in storeDirSelectSwapDirLeastLoad() 148 return dirn; in storeDirSelectSwapDirLeastLoad() 572 for (int dirn = 0; dirn < Config.cacheSwap.n_configured; ++dirn) in storeDirOpenSwapLogs() local 579 for (int dirn = 0; dirn < Config.cacheSwap.n_configured; ++dirn) in storeDirCloseSwapLogs() local 601 int dirn; in storeDirWriteCleanLogs() local 617 for (dirn = 0; dirn < Config.cacheSwap.n_configured; ++dirn) { in storeDirWriteCleanLogs() 634 for (dirn = 0; dirn < Config.cacheSwap.n_configured; ++dirn) { in storeDirWriteCleanLogs() [all …]
|
/dports/www/squid/squid-4.15/scripts/ |
H A D | fileno-to-pathname.pl | 59 my $dirn = ($fn >> $SWAP_DIR_SHIFT) % $ncache_dirs; 63 $CD[$dirn], 64 (($fn / $L2[$dirn]) / $L2[$dirn]) % $L1[$dirn], 65 ($fn / $L2[$dirn]) % $L2[$dirn],
|
/dports/multimedia/zoneminder/zoneminder-1.36.5/web/includes/ |
H A D | control_functions.php | 14 $dirn = $matches[3]; 168 $dirn = $new_dirn; 314 if ( !$dirn ) { 406 if ( !$dirn ) { 462 $dirn = $matches[3]; 466 switch( $dirn ) { 495 switch( $dirn ) { 524 switch( $dirn ) { 545 switch( $dirn ) { 566 switch( $dirn ) { [all …]
|
/dports/science/py-ase/ase-3.22.0/ase/utils/ |
H A D | linesearcharmijo.py | 24 def __init__(self, dirn): argument 30 self.dirn = dirn 33 return alpha * self.dirn 75 def __init__(self, x_start, dirn, rigid_units, rotation_factors): argument 100 w = dirn.copy().reshape( [3, len(dirn)/3] ) 101 X = x_start.reshape( [3, len(dirn)/3] ) 202 def run(self, x_start, dirn, a_max=None, a_min=None, a1=None, argument 279 path = LinearPath(dirn) 286 path = RumPath(x_start, dirn, rigid_units, rotation_factors) 364 self.dirn = dirn [all …]
|
/dports/games/tux-aqfh/tux_aqfh-1.0.14/src/ |
H A D | starwing.cxx | 85 void find_flock_center ( sgVec3 center, sgVec3 dirn ) in find_flock_center() argument 88 sgSetVec3 ( dirn , 0, 1, 0 ) ; in find_flock_center() 99 sgAddVec3 ( dirn , dirn , i -> getDirn() ) ; in find_flock_center() 105 sgNormalizeVec3 ( dirn ) ; in find_flock_center() 151 sgAddVec3 ( force, force, dirn ) ; in strategy() 159 sgSubVec3 ( dirn, coord.xyz, last_coord.xyz ) ; in update() 161 if ( dirn [ 0 ] == 0.0 && dirn [ 1 ] == 0.0 && dirn [ 2 ] == 0.0 ) in update() 162 dirn [ 1 ] = 1.0 ; in update() 164 sgNormalizeVec3 ( dirn ) ; in update()
|
/dports/graphics/libgphoto2/libgphoto2-2.5.26/libgphoto2_port/libgphoto2_port/ |
H A D | gphoto2-port-portability.c | 100 char dirn[1024]; in gp_system_readdir() local 113 strcpy(dirn, d->dir); in gp_system_readdir() 114 gp_port_win_convert_path(dirn); in gp_system_readdir() 116 if (dirn[strlen(dirn)-1] != '\\') in gp_system_readdir() 117 strcat(dirn, "\\"); in gp_system_readdir() 118 strcat(dirn, "*"); in gp_system_readdir() 122 d->handle = FindFirstFile(dirn, &(d->search)); in gp_system_readdir()
|
/dports/www/wwwoffle/wwwoffle-2.9j/src/ |
H A D | local.c | 217 int dirn=0; in find_language_file() local 228 dirn=-1; in find_language_file() 230 while(dirn<(ndirs+2)) in find_language_file() 235 if(dirn==-1) in find_language_file() 237 else if(dirn<ndirs) in find_language_file() 238 dir=dirs[dirn]; /* is formatted like "html/$LANG/" */ in find_language_file() 239 else if(dirn==ndirs) in find_language_file() 241 else if(dirn==(ndirs+1)) in find_language_file() 244 dirn++; in find_language_file()
|
/dports/x11/rxvt-unicode/rxvt-unicode-9.30/src/ |
H A D | scrollbar-rxvt.C | 52 draw_button (scrollBar_t *sb, int x, int y, int dirn) in draw_button() argument 63 if ((dirn == UP && sb->state == SB_STATE_UP) in draw_button() 64 || (dirn == DN && sb->state == SB_STATE_DOWN)) in draw_button() 80 if (dirn == UP) in draw_button() 95 XDrawLine (dpy, d, (dirn == UP ? bot : top), in draw_button() 100 pt[1].y = y + (dirn == UP ? 0 : sz - 1); in draw_button() 108 if (dirn == UP) in draw_button() 126 pt[1].y = y + (dirn == UP ? sz - 1 : 0); in draw_button() 127 pt[2].y = y + (dirn == UP ? 0 : sz - 1); in draw_button() 134 if (dirn == UP) in draw_button()
|
/dports/www/phpgroupware/phpgroupware-0.9.16.017/fudforum/setup/base/www_root/adm/ |
H A D | admlock.php | 17 function chmoddir($dirn, $dirp, $filep, $rec=false) argument 19 @chmod($dirn, $dirp); 20 if (!($d = opendir($dirn))) { 21 echo 'ERROR: Unable to open "'.$dirn.'" directory<br>'; 26 $path = $dirn . '/' . $f;
|
/dports/graphics/bmeps/dktools-4.31.1/src/libdk4c/ |
H A D | dk4pathd.c | 256 dkChar const *dirn, in dk4path_concatenate_buffer() argument 264 assert(NULL != dirn); in dk4path_concatenate_buffer() 268 return (dk4pathw_concatenate_buffer(buffer, szbuf, dirn, filen, erp)); in dk4path_concatenate_buffer() 270 return (dk4path8_concatenate_buffer(buffer, szbuf, dirn, filen, erp)); in dk4path_concatenate_buffer() 278 dkChar const *dirn, in dk4path_concatenate_new() argument 284 assert(NULL != dirn); in dk4path_concatenate_new() 288 return (dk4pathw_concatenate_new(dirn, filen, erp)); in dk4path_concatenate_new() 290 return (dk4path8_concatenate_new(dirn, filen, erp)); in dk4path_concatenate_new()
|
H A D | dk4path8.c | 466 char const *dirn, in dk4path8_concatenate_buffer() argument 478 assert(NULL != dirn); in dk4path8_concatenate_buffer() 481 if ((NULL != buffer) && (NULL != dirn) && (NULL != filen) && (0 != szbuf)) { in dk4path8_concatenate_buffer() 482 sld = dk4str8_len(dirn); in dk4path8_concatenate_buffer() 483 if (0 < sld) { if (dirn[sld - 1] == *(dk4path8_kw[0])) { sep = 0; } } in dk4path8_concatenate_buffer() 484 back = dk4str8_cpy_s(buffer, szbuf, dirn, erp); in dk4path8_concatenate_buffer() 506 char const *dirn, in dk4path8_concatenate_new() argument 515 assert(NULL != dirn); in dk4path8_concatenate_new() 518 if ((NULL != dirn) && (NULL != filen)) { in dk4path8_concatenate_new() 519 bl = dk4path8_concatenate_size(dirn, filen, erp); in dk4path8_concatenate_new() [all …]
|
H A D | dk4pathw.c | 484 wchar_t const *dirn, in dk4pathw_concatenate_buffer() argument 495 assert(NULL != dirn); in dk4pathw_concatenate_buffer() 498 if ((NULL != buffer) && (NULL != dirn) && (NULL != filen) && (0 != szbuf)) { in dk4pathw_concatenate_buffer() 499 sld = dk4strw_len(dirn); in dk4pathw_concatenate_buffer() 500 if (0 < sld) { if (dirn[sld - 1] == *(dk4pathw_kw[0])) { sep = 0; } } in dk4pathw_concatenate_buffer() 501 back = dk4strw_cpy_s(buffer, szbuf, dirn, erp); in dk4pathw_concatenate_buffer() 522 wchar_t const *dirn, in dk4pathw_concatenate_new() argument 530 assert(NULL != dirn); in dk4pathw_concatenate_new() 533 if ((NULL != dirn) && (NULL != filen)) { in dk4pathw_concatenate_new() 534 bl = dk4pathw_concatenate_size(dirn, filen, erp); in dk4pathw_concatenate_new() [all …]
|
/dports/x11/xvt/xvt-3.0.1/src/ |
H A D | scrollbar-xvt.c | 33 xvt_Draw_button(xvt_t *r, int x, int y, int state, int dirn) in xvt_Draw_button() argument 59 if (dirn == UP) { in xvt_Draw_button() 70 XDrawLine(r->Xdisplay, r->scrollBar.win, (dirn == UP ? bot : top), in xvt_Draw_button() 75 pt[1].y = y + (dirn == UP ? 0 : sz - 1); in xvt_Draw_button() 82 if (dirn == UP) { in xvt_Draw_button() 95 pt[1].y = y + (dirn == UP ? sz - 1 : 0); in xvt_Draw_button() 96 pt[2].y = y + (dirn == UP ? 0 : sz - 1); in xvt_Draw_button() 102 if (dirn == UP) { in xvt_Draw_button()
|
/dports/x11-clocks/rclock/rxvt-2.7.10/src/ |
H A D | scrollbar-rxvt.c | 33 rxvt_Draw_button(rxvt_t *r, int x, int y, int state, int dirn) in rxvt_Draw_button() argument 59 if (dirn == UP) { in rxvt_Draw_button() 70 XDrawLine(r->Xdisplay, r->scrollBar.win, (dirn == UP ? bot : top), in rxvt_Draw_button() 75 pt[1].y = y + (dirn == UP ? 0 : sz - 1); in rxvt_Draw_button() 82 if (dirn == UP) { in rxvt_Draw_button() 95 pt[1].y = y + (dirn == UP ? sz - 1 : 0); in rxvt_Draw_button() 96 pt[2].y = y + (dirn == UP ? 0 : sz - 1); in rxvt_Draw_button() 102 if (dirn == UP) { in rxvt_Draw_button()
|
/dports/print/lout/lout-3.40/ |
H A D | z21.c | 436 { dirn = COLM; in SizeGalley() 444 { dirn = ROWM; in SizeGalley() 451 Parent(prnt, UpDim(cover, dirn)); in SizeGalley() 453 Parent(prnt, UpDim(prnt, dirn)); in SizeGalley() 465 else if( back(chld, dirn) == 0 && fwd(chld, dirn) == 0 ) in SizeGalley() 470 else if( back(chld, dirn) == 0 || fwd(chld, dirn) == 0 ) in SizeGalley() 475 else if( size(prnt, dirn) == 0 ) in SizeGalley() 483 sf1 = (float) back(prnt, dirn) / back(chld, dirn); in SizeGalley() 484 sf2 = (float) fwd(prnt, dirn) / fwd(chld, dirn); in SizeGalley() 495 if( dirn == COLM ) in SizeGalley() [all …]
|
/dports/games/kgoldrunner/kgoldrunner-21.12.3/src/ |
H A D | kgrrulebook.cpp | 92 Direction dirn = STAND; in findBestWay() local 94 dirn = getHero (eI, eJ, hI); // Hero on same row. in findBestWay() 95 if (dirn != STAND) { in findBestWay() 96 return dirn; // Can go towards him. in findBestWay() 101 dirn = searchUp (eI, eJ, hJ); // Find a way that leads up. in findBestWay() 104 dirn = searchDown (eI, eJ, hJ); // Find way that leads down. in findBestWay() 105 dbk2 << "searchDown1" << eI << eJ << hJ << "ret" << dirn; in findBestWay() 106 if (dirn == STAND) { in findBestWay() 111 if (dirn == STAND) { // When all else fails, look for in findBestWay() 112 dirn = searchDown (eI, eJ, eJ - 1); // a way below the hero. in findBestWay() [all …]
|
H A D | kgrlevelplayer.cpp | 397 if ((dirn == DIG_LEFT) || (dirn == DIG_RIGHT)) { in setDirectionByKey() 407 startDigging (dirn); in setDirectionByKey() 417 newDirection = dirn; in setDirectionByKey() 457 Direction dirn = STAND; in setDirectionByDelta() local 460 dirn = DOWN; in setDirectionByDelta() 463 dirn = UP; in setDirectionByDelta() 466 dirn = RIGHT; in setDirectionByDelta() 469 dirn = LEFT; in setDirectionByDelta() 472 dirn = STAND; in setDirectionByDelta() 474 return dirn; in setDirectionByDelta() [all …]
|
/dports/net-mgmt/nfsen/nfsen-1.3.8/installer-items/ |
H A D | CopyRecursive.pm | 98 my $dirn = 0; 104 $dirn++ if $end eq $baseend; 111 return ($filen,$dirn,$level) if wantarray; 128 $dirn++; 146 return ($filen,$dirn,$level) if wantarray;
|
/dports/www/squid/squid-4.15/src/ |
H A D | store_io.cc | 35 const sdirno dirn = storeDirSelectSwapDir(e); in storeCreate() local 37 if (dirn == -1) { in storeCreate() 43 debugs(20, 2, "storeCreate: Selected dir " << dirn << " for " << *e); in storeCreate() 44 SwapDir *SD = dynamic_cast<SwapDir *>(INDEXSD(dirn)); in storeCreate()
|
/dports/x11/mrxvt-devel/mrxvt-0.5.4/src/ |
H A D | scrollbar-rxvt.c | 42 rxvt_draw_button(rxvt_t *r, int x, int y, int state, int dirn) in rxvt_draw_button() argument 68 if (dirn == UP) { in rxvt_draw_button() 81 CHOOSE_GC_FG (r, (dirn == UP) ? bot : top); in rxvt_draw_button() 87 pt[1].y = y + (dirn == UP ? 0 : sz - 1); in rxvt_draw_button() 95 if (dirn == UP) { in rxvt_draw_button() 109 pt[1].y = y + (dirn == UP ? sz - 1 : 0); in rxvt_draw_button() 110 pt[2].y = y + (dirn == UP ? 0 : sz - 1); in rxvt_draw_button() 117 if (dirn == UP) { in rxvt_draw_button()
|
/dports/x11/mrxvt/mrxvt-0.4.2/src/ |
H A D | scrollbar-rxvt.c | 57 rxvt_draw_button(rxvt_t *r, int x, int y, int state, int dirn) in rxvt_draw_button() argument 83 if (dirn == UP) { in rxvt_draw_button() 96 CHOOSE_GC_FG (r, (dirn == UP) ? bot : top); in rxvt_draw_button() 102 pt[1].y = y + (dirn == UP ? 0 : sz - 1); in rxvt_draw_button() 110 if (dirn == UP) { in rxvt_draw_button() 124 pt[1].y = y + (dirn == UP ? sz - 1 : 0); in rxvt_draw_button() 125 pt[2].y = y + (dirn == UP ? 0 : sz - 1); in rxvt_draw_button() 132 if (dirn == UP) { in rxvt_draw_button()
|
/dports/print/lout/lout-3.40/doc/expert/ |
H A D | pre_cont | 13 {dirn @Yield up} @SetContext { 14 The current direction is {@GetContext dirn}. 19 {dirn @Yield up} @SetContext { 20 The current direction is {@GetContext dirn}. 38 {@GetContext dirn} @Case {
|
/dports/www/youtube_dl/youtube-dl/devscripts/ |
H A D | bash-completion.py | 5 from os.path import dirname as dirn unknown 8 sys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))
|
/dports/www/yt-dlp/yt-dlp-2021.12.27/devscripts/ |
H A D | bash-completion.py | 5 from os.path import dirname as dirn unknown 8 sys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))
|