Searched refs:norm (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_glob.py | 9 def norm(self, *parts): member in GlobTests 13 filename = self.norm(*parts) 29 os.symlink(self.norm('broken'), self.norm('sym1')) 30 os.symlink(self.norm('broken'), self.norm('sym2')) 50 eq(self.glob('a'), [self.norm('a')]) 51 eq(self.glob('a', 'D'), [self.norm('a', 'D')]) 52 eq(self.glob('aab'), [self.norm('aab')]) 67 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])) 68 eq(self.glob('*a'), map(self.norm, ['a', 'aaa'])) 69 eq(self.glob('aa?'), map(self.norm, ['aaa', 'aab'])) [all …]
|
D | test_pep277.py | 78 name = os.path.join(test_support.TESTFN, self.norm(name)) 88 def norm(self, s): member in UnicodeFileTests
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | vec.h | 135 float norm = vec3Norm(v); in vec3Normalize() local 136 ASSERT(norm > 0); in vec3Normalize() 138 if (norm > 0) { in vec3Normalize() 139 float invNorm = 1.0f / norm; in vec3Normalize()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | tabnanny.py | 175 self.norm = tuple(count), b 181 count, trailing = self.norm 199 count, trailing = self.norm 208 return self.norm == other.norm
|
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/ |
D | sphere_fit_calibration.c | 177 const float norm = vecNorm(x_corr, THREE_AXIS_DIM); in sphereFitResidAndJacobianFunc() local 180 residual[i] = norm - data->expected_norm; in sphereFitResidAndJacobianFunc() 184 if (norm < MIN_VALID_DATA_NORM) { in sphereFitResidAndJacobianFunc() 187 const float scale = 1.f / norm; in sphereFitResidAndJacobianFunc()
|