Searched refs:sDst (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/ValidationKit/testboxscript/
H A Dtestboxupgrade.py182 sDst = os.path.join(g_ksValidationKitDir, sMember[len('testboxscript/'):]);
186 if os.path.exists(sDst):
187 testboxcommons.log2('Info: Installing "%s"' % (sDst,));
188 sDstRm = '%s-delete-me-%s' % (sDst, uuid.uuid4(),);
190 os.rename(sDst, sDstRm);
192 testboxcommons.log('Error: failed to rename (old) "%s" to "%s": %s' % (sDst, sDstRm, oXcpt));
194 shutil.copy(sDst, sDstRm);
196 testboxcommons.log('Error: failed to copy (old) "%s" to "%s": %s' % (sDst, sDstRm, oXcpt));
199 os.unlink(sDst);
201 testboxcommons.log('Error: failed to unlink (old) "%s": %s' % (sDst, oXcp
[all...]
/vbox/src/VBox/ValidationKit/tests/unittests/
H A DtdUnitTest1.py497 def _hardenedCopyFile(self, sSrc, sDst, iMode):
501 reporter.log('_hardenedCopyFile: %s -> %s (mode: %o)' % (sSrc, sDst, iMode,));
503 shutil.copyfile(sSrc, sDst);
504 os.chmod(sDst, iMode);
506 fRc = self._sudoExecuteSync(['/bin/cp', sSrc, sDst]);
508 raise Exception('Failed to copy "%s" to "%s".' % (sSrc, sDst,));
509 fRc = self._sudoExecuteSync(['/bin/chmod', '%o' % (iMode,), sDst]);
511 raise Exception('Failed to chmod "%s".' % (sDst,));
566 sDst = os.path.join(sDstDir, os.path.basename(sFullPath));
567 self._hardenedCopyFile(sFullPath, sDst, 075
[all...]
/vbox/src/VBox/ValidationKit/tests/additions/
H A DtdAddGuestCtrl.py191 def __init__(self, sSrc = "", sDst = "", sUser = "", sPassword = "", aFlags = None):
195 self.sDst = sDst;
202 def __init__(self, sSrc = "", sDst = "", sUser = "", sPassword = "", aFlags = None):
206 self.sDst = sDst;
652 def gctrlCopyFileFrom(self, oGuestSession, sSrc, sDst, aFlags):
658 reporter.log2('Copying guest file "%s" to host "%s"' % (sSrc, sDst));
659 curProgress = oGuestSession.copyFrom(sSrc, sDst, aFlags);
668 reporter.logXcpt('Copy from waiting exception for sSrc="%s", sDst
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dpixel.c873 GLshort *sDst = (GLshort *) dst; local
913 sDst[i] = (GLshort) tmpRow[i];
951 sDst[i] = FLOAT_TO_SHORT(tmpRow[i]);
955 sDst[i] = FLOAT_TO_SHORT(tmpRow[i]);
1014 sDst[i] = FLOAT_TO_SHORT(tmpRow[i*4+index]);
1061 sDst[i*2+0] = FLOAT_TO_SHORT(tmpRow[i*4+0]);
1062 sDst[i*2+1] = FLOAT_TO_SHORT(tmpRow[i*4+3]);
1137 sDst[i*3+r] = FLOAT_TO_SHORT(tmpRow[i*4+0]);
1138 sDst[i*3+1] = FLOAT_TO_SHORT(tmpRow[i*4+1]);
1139 sDst[
[all...]

Completed in 52 milliseconds