亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? global.tcl

?? VxWorks的開發平臺Tornado2.2升級到2.2.1的補丁。
?? TCL
?? 第 1 頁 / 共 4 頁
字號:
# PARAMETERS: path## RETURNS:  the size of given directory or 0 if path is not a directory## ERRORS: N/A#proc dirSizeGet {path} {    if {[file isdirectory $path] == 0} {        return 0    }    set totsz 0    set list [glob $path/*]    foreach file $list {        set totsz [expr $totsz + [file size [file join $path $file]]]    }    return $totsz}################################################################################ setupSizeGet - returns the size of setup directory## This routine returns the size of setup directory## SYNOPSIS:# setupSizeGet## PARAMETERS: N/A## RETURNS:  the size of setup directory## ERRORS: N/A#proc setupSizeGet {} {    set docSize 0    set path [file join [cdromRootDirGet] DOCS]    set docSize [byteToMbyte [dirSizeGet $path]]    switch [windHostTypeGet] {        x86-win32 {            return [expr 10.9 + $docSize]        }        sun4-solaris2 {            return [expr 13.0 + $docSize]        }        parisc-hpux10 {            return [expr 14.3 + $docSize]        }        default {            return [expr 10.9 + $docSize]        }    }}################################################################################ instTypeSet - sets the installation type.## Sets the global variable instType to the installation type (for example,# "icon" for an icon-only installation).## SYNOPSIS:# instTypeSet type## PARAMETERS:# <type># The installation type.## RETURNS: N/A## ERRORS: N/A#proc instTypeSet {type} {    global instType    set instType $type}################################################################################ instTypeGet - returns the installation type.## This routine returns the installation type (for example, "icon" for# an icon-only installation).  If the installation type has not been# set, an empty string is returned.## SYNOPSIS:# userNameGet## PARAMETERS: N/A## RETURNS: the installation type if it exists, else an empty string.## ERRORS: N/A#proc instTypeGet {} {    global instType    if ![info exists instType] {        set instType ""    }    return $instType}################################################################################ checkPathLen - checks the path length and trims the path if necessary.## This routine checks the length of a given path.  If the length is# over 50 characters, part of the path is replaced with "..."  This# allows a long path to fit in a dialog window.## SYNOPSIS:# checkPathLen path## PARAMETERS:# <path># A directory path.## RETURNS: The original path partially replaced with "..." if over#          50 characters.## ERRORS: N/A#proc checkPathLen {path} {    if {[string length $path] >= 50} {        set totLen [string length $path]        set lastIndex [string last "/" $path]        if {$lastIndex > [string last "\\" $path]} {            # Unix type path            set path2 [string range $path 0 [expr $lastIndex - 1]]            set fname [string range $path [expr $lastIndex + 1] $totLen]            set lastIndex2 [string last "/" $path2]            while {[expr [string length $path2] + [string length $fname] + 5] \                >= 50} {                set path2 [string range $path2 0 [expr $lastIndex2 -1]]                set lastIndex2 [string last "/" $path2]                if {$lastIndex2 == -1} {                    break;                }            }           set path [format "%s/.../%s" $path2 $fname]        } else {            # DOS type path            set lastIndex [string last "\\" $path]            set path2 [string range $path 0 [expr $lastIndex - 1]]            set fname [string range $path [expr $lastIndex + 1] $totLen]            set lastIndex2 [string last "\\" $path2]            while {[expr [string length path2] + [string length $fname] + 5] \                >= 50} {                set path2 [string range $path2 0 [expr $lastIndex2 -1]]                set lastIndex2 [string last "\\" $path2]                if {$lastIndex2 == -1} {                    break;                }            }            set $path [format "%s\\...\\%s" $path2 $fname]        }    }    return $path}############################################################################### fspace - returns free space available on Unix hosts## This procedure returns the amount of free space avaiable on the given drive.## SYNOPSIS:# fspace dir## PARAMETERS:# <dir># a directory path.## RETURNS: the number of free space in kilobytes avaiable## ERRORS: N/A#proc fspace {dir} {    if {![file isdirectory $dir]} {        return "$dir: bad directory name"    }    # get the directory name in extension    set here [pwd]    cd $dir    set dir [pwd]    set free "unknown"    switch [windHostTypeGet] {        sun4-solaris2 -        x86-linux2 {            if {![catch {exec /bin/df -k $dir} result]} {                set free [lindex $result 10]            } else {                set free [lindex $result 10]            }        }        parisc-hpux10 {            set found 0            set ix 0            while {$found == 0} {                incr ix                if {$ix > 30} {                    break                }                if {[catch "exec /bin/df $dir" res]} {                    # go backward one step looking for actual mounting                    # point or device name alias                    set dir [file dirname $dir]                } else {                    set freeSize [lindex [exec /bin/df -k $dir | /bin/sed -e "/total/d" -e "/used/d" ] 0]                    if {[regexp {[^0-9]+} $freeSize] == 0} {                        set free $freeSize                    }                    set found 1                }            }        }        default {}    }    cd $here    return $free}################################################################################ debug - turns on debug mode## SYNOPSIS# debug## PARAMETERS: N/A## RETURNS: true if the environment var SETUP_DEBUG exists, otherwise false## ERRORS: N/A#proc debug {} {    global env    global setupVals    if {[info exists env(SETUP_DEBUG)]} {        return 1    } else {        return 0    }}################################################################################ openSetupDebugLog - open the setup log file## SYNOPSIS# openSetupDeubgLog## PARAMETERS: N/A## RETURNS: N/A## ERRORS: N/A#proc openSetupDebugLog {} {    global env setupVals    if {[info exists env(SETUP_DEBUG)] && $env(SETUP_DEBUG) != 0} {        if {[info exists env(SETUP_DBGLOGFILE)]} {            if {![info exists setupVals(DBGLOG_FD)]} {                if {[catch {open $env(SETUP_DBGLOGFILE) "w"} setupVals(DBGLOG_FD)]} {                    puts "Can't open $env(SETUP_DBGLOGFILE)"                }            }        }    }    if {[info exists env(INF_DEBUG)] &&  $env(INF_DEBUG) != 0} {        if {[info exists env(SETUP_DBGLOGFILE)]} {            if {![info exists setupVals(DBGLOG_FD)]} {                if {[catch {open $env(SETUP_DBGLOGFILE) "w"} setupVals(DBGLOG_FD)]} {                    puts "Can't open $env(SETUP_DBGLOGFILE)"                }            }        }    }}################################################################################ closeSetupDebugLog - close the setup log file## SYNOPSIS# closeSetupLog## PARAMETERS: N/A## RETURNS: N/A## ERRORS: N/A#proc closeSetupDebugLog {} {    global env    global setupVals    if {[info exists setupVals(DBGLOG_FD)]} {        catch {close $setupVals(DBGLOG_FD)}    }}############################################################################### dbgputs - wrapper for debug puts function.## Wrapper for the puts function.  Only prints out the specified string# either to the setup debug log file in env(SETUP_DBGLOGFILE) or the console,# if the environment variable SETUP_DEBUG exists and is set to a nonzero value.## SYNOPSIS# dbgputs <line>## PARAMETERS:#   line : string to output.## RETURNS: N/A## ERRORS: N/A#proc dbgputs {line} {    global env    global setupVals    if {[info exists env(SETUP_DEBUG)]} {        if {$env(SETUP_DEBUG) != 0 && [info exists setupVals(DBGLOG_FD)]} {            puts $setupVals(DBGLOG_FD) $line            flush $setupVals(DBGLOG_FD)        } else {            puts $line        }    }}############################################################################### fileContentGet - return the content of a file as a string## This procedure opens a file and return the content of the file as a# string separated by new lines## SYNOPSIS# .tS# fileContentGet <file># .tE## PARAMETERS:# .IP file# file name relative to the root of the CD## RETURNS: N/A## ERRORS: N/A#proc fileContentGet {file} {    set file [cdFileNameGet $file]    if {[file exists $file] == 0} {        puts "Error: $file does not exists."        return    }    if [catch {open $file r} infile] {        puts "Error: can't open $file"        return    }    set contents ""    foreach line  [split [read $infile] \n] {        string trimright $line        append contents [format "%s\r\n" $line]    }    close $infile    return $contents}proc licFileGet {} {    global setupVals    if {[info exists setupVals(licFile)]} {        return $setupVals(licFile)    } else {        return ""    }}proc licFileSet {licFile} {    global setupVals    set setupVals(licFile) $licFile}################################################################################ authCodeGet - returns the Authorization Code.## This routine returns the user authorization code to access WRS database## SYNOPSIS:# authCodeGet## PARAMETERS: N/A## RETURNS: the Authorization Code if it exists, else an empty string.## ERRORS: N/A#proc authCodeGet {} {    global setupVals    if {[info exists setupVals(authCode)]} {        return $setupVals(authCode)    } else {        return ""    }}################################################################################ authCodeSet - sets the Authorization Code## Sets the global variable setupVals(authCode) to the authorization code## SYNOPSIS:# authCodeSet val## PARAMETERS:# <val># Contains the authorization code## RETURNS: N/A## ERRORS: N/A#proc authCodeSet {val} {    global setupVals    set setupVals(authCode) $val}################################################################################ tornadoProductCheck - checks if product name is a Tornado object.## Returns whether the specified product is a Tornado object.  First the name# of the product is checked that it begins with the word "tornado."  If so,# it is then compared against the list of product names that are NOT tornado# objects, such as tornado-bsp.  As a final check, the product description# is checked to make sure it begins with the description "Tornado."## SYNOPSIS:# tornadoProductCheck productName productDesc## PARAMETERS:# <productName># Name of the product.## <productDesc># Description of the product.## RETURNS: 1 if product is a Tornado object, 0 otherwise.## ERRORS: N/A#proc tornadoProductCheck {productName productDesc} {    if {$productName == "tornado"} {        return 1    }            if {[regexp {^tornado(-)?(.+)?} $productName match dash type]} {                        # Edit the following list to modify the product names that are                # not Tornado objects.  For example, tornado-bsp* and                # tornado-comp* are not Tornado objects.  ^ means                # "string begins with" in tcl.                        switch -regexp $type {                        ^core.* -                        ^bsp.* -                        ^comp.* -                        ^src.* {                return 0                        }                        default {                                # make sure also that the product description begins                                # with "Tornado."                                                                if {[regexp {^Tornado.*} $productDesc match]} {                                        return 1                                } else {                    return 0                                }                        }                }    } else {        return 0    }}################################################################################ licensedProductCheck - checks if product name is a licensed product.#

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人夜色高潮福利影视| 制服丝袜中文字幕一区| 日本欧美一区二区| 亚洲成人午夜电影| 性久久久久久久久| 亚洲国产美女搞黄色| 一区二区三区高清不卡| 亚洲国产wwwccc36天堂| 亚洲福利视频导航| 日韩电影免费在线| 久国产精品韩国三级视频| 国产米奇在线777精品观看| 国产盗摄精品一区二区三区在线| 国产成人在线网站| 色天天综合久久久久综合片| 久久久不卡影院| 国产精品久久毛片av大全日韩| 国产精品久久久久久久久久免费看 | 国产精品盗摄一区二区三区| 亚洲乱码国产乱码精品精小说 | 麻豆视频观看网址久久| 另类欧美日韩国产在线| 成人午夜免费视频| 在线观看区一区二| 日韩欧美一级特黄在线播放| 国产午夜精品一区二区三区视频| 亚洲日韩欧美一区二区在线| 亚洲网友自拍偷拍| 国模套图日韩精品一区二区| 99久久久无码国产精品| 欧美日韩二区三区| 国产亚洲女人久久久久毛片| 一区二区激情视频| 精品一二三四区| 91影院在线免费观看| 欧美不卡在线视频| 亚洲欧美精品午睡沙发| 美女诱惑一区二区| av在线不卡观看免费观看| 欧美乱熟臀69xxxxxx| 欧美激情一区二区三区在线| 亚洲第一狼人社区| 成人免费观看av| 91精品国产全国免费观看| 国产精品乱子久久久久| 免费在线视频一区| 色欧美88888久久久久久影院| 欧美一级爆毛片| 国产精品一区免费视频| 日本韩国欧美一区二区三区| 国产午夜精品福利| 日本亚洲三级在线| 欧美日韩亚洲另类| 亚洲三级电影全部在线观看高清| 国内精品久久久久影院一蜜桃| 欧美日韩一区二区三区在线| 专区另类欧美日韩| av在线这里只有精品| 久久久久国色av免费看影院| 男女性色大片免费观看一区二区 | 激情都市一区二区| 欧美精品久久99| 亚洲女子a中天字幕| 成人性生交大合| 欧美成人激情免费网| 日本不卡的三区四区五区| 欧洲在线/亚洲| 一区二区三区精密机械公司| 色拍拍在线精品视频8848| 亚洲视频一区二区在线| 色综合久久中文字幕综合网 | 欧美日韩在线三级| 一区二区三区视频在线观看| 一本色道久久综合亚洲aⅴ蜜桃| 国产精品美女www爽爽爽| 久久成人av少妇免费| www久久精品| 韩国成人福利片在线播放| 欧美xingq一区二区| 久久av资源站| 国产日韩精品一区二区三区在线| 国产一区二区视频在线| 国产日韩欧美综合一区| 99视频热这里只有精品免费| 日韩一区日韩二区| 欧美性生活影院| 人人爽香蕉精品| 久久精品亚洲乱码伦伦中文| 丁香一区二区三区| 亚洲区小说区图片区qvod| 欧美丝袜第三区| 麻豆久久久久久久| 久久久久亚洲蜜桃| 99久久精品国产麻豆演员表| 亚洲一区二区精品视频| 91精品久久久久久蜜臀| 国产传媒日韩欧美成人| 亚洲精品免费一二三区| 欧美精品国产精品| 国产999精品久久久久久绿帽| 国产精品午夜电影| 欧美日韩黄视频| 欧美性一二三区| 蜜臀精品久久久久久蜜臀| 久久久久久黄色| 欧美艳星brazzers| 国产乱码精品一区二区三区忘忧草| 国产精品污污网站在线观看| 欧美亚洲国产一区二区三区va| 极品少妇一区二区三区精品视频| 国产精品入口麻豆九色| 69精品人人人人| 粉嫩av一区二区三区粉嫩| 亚洲成av人**亚洲成av**| 国产亚洲欧美日韩在线一区| 欧洲精品中文字幕| 国产成人精品www牛牛影视| 亚洲欧美激情一区二区| 久久久久久久免费视频了| 91福利国产精品| 国产不卡视频一区二区三区| 日韩精品一区第一页| 亚洲乱码国产乱码精品精的特点| 日韩一级片网站| 欧美综合欧美视频| 成人91在线观看| 极品美女销魂一区二区三区| 亚洲成av人片一区二区梦乃| 综合久久久久久久| 久久一留热品黄| 日韩一区二区三区在线视频| 在线观看成人免费视频| 色综合中文字幕| 成人v精品蜜桃久久一区| 国产一区二区在线观看免费| 青娱乐精品在线视频| 丝袜诱惑亚洲看片| 一个色综合网站| 亚洲精品国久久99热| 国产欧美综合色| 久久综合精品国产一区二区三区 | 久久99深爱久久99精品| 日韩精品午夜视频| 国产精品一色哟哟哟| 激情文学综合插| 免费成人在线播放| 欧美aaaaa成人免费观看视频| 水蜜桃久久夜色精品一区的特点 | 精品一区二区三区免费视频| 青青草原综合久久大伊人精品优势| 亚洲精品国产无套在线观| 亚洲黄色小说网站| 一区二区三区国产精华| 亚洲一二三专区| 亚洲午夜精品网| 视频在线观看91| 麻豆91在线看| 国产盗摄精品一区二区三区在线 | 亚洲图片欧美综合| 亚洲成人av免费| 日韩福利电影在线观看| 日韩av电影免费观看高清完整版 | 欧美日韩aaaaa| 91麻豆精品国产91久久久久久久久 | 久久女同互慰一区二区三区| 欧美精品一区二区三区蜜臀| 久久久综合精品| 亚洲精品综合在线| 亚洲国产精品影院| 另类综合日韩欧美亚洲| 久久精品国产亚洲5555| 国产suv精品一区二区883| 91免费版pro下载短视频| 欧美日韩免费视频| 日韩精品一区二区三区视频在线观看 | 在线观看日韩高清av| 91国产视频在线观看| 91精品在线观看入口| 欧美韩日一区二区三区四区| 亚洲午夜日本在线观看| 麻豆久久一区二区| 91在线视频播放地址| 67194成人在线观看| 日本一区二区三区国色天香| 亚洲午夜久久久久中文字幕久| 久久精品久久精品| 91麻豆高清视频| 欧美一级高清片| 亚洲男人的天堂一区二区| 免费观看一级欧美片| 97久久超碰国产精品| 日韩欧美视频在线| 中文字幕在线免费不卡| 九九国产精品视频| 欧美在线色视频| 中文无字幕一区二区三区| 日韩精品三区四区| 色综合天天性综合| 久久精品免视看| 蜜桃av一区二区三区|