/external/fio/lib/ |
H A D | zipf.c | 16 static void zipf_update(struct zipf_state *zs) argument 26 to_gen = min(zs->nranges, ZIPF_MAX_GEN); 29 zs->zetan += pow(1.0 / (double) (i + 1), zs->theta); 32 static void shared_rand_init(struct zipf_state *zs, unsigned long nranges, argument 35 memset(zs, 0, sizeof(*zs)); 36 zs->nranges = nranges; 38 init_rand_seed(&zs->rand, seed); 39 zs 42 zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed) argument 53 zipf_next(struct zipf_state *zs) argument 75 pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed) argument 82 pareto_next(struct zipf_state *zs) argument [all...] |
H A D | zipf.h | 17 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed); 18 unsigned long long zipf_next(struct zipf_state *zs); 20 void pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed); 21 unsigned long long pareto_next(struct zipf_state *zs);
|
/external/zlib/src/contrib/iostream2/ |
H A D | zstream.h | 115 inline int read(izstream& zs, T* x, Items items) { argument 116 return ::gzread(zs.fp(), x, items*sizeof(T)); 123 inline izstream& operator>(izstream& zs, T& x) { argument 124 ::gzread(zs.fp(), &x, sizeof(T)); 125 return zs; 129 inline zstringlen::zstringlen(izstream& zs) { argument 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 138 inline izstream& operator>(izstream& zs, char* x) { argument 139 zstringlen len(zs); 145 read_string(izstream& zs) argument 264 write(ozstream& zs, const T* x, Items items) argument 272 operator <(ozstream& zs, const T& x) argument 277 zstringlen(ozstream& zs, const char* x) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_feedback.c | 115 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; local 117 _mesa_update_hitflag( ctx, v0->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 118 _mesa_update_hitflag( ctx, v1->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 119 _mesa_update_hitflag( ctx, v2->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 127 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; local 128 _mesa_update_hitflag( ctx, v0->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 129 _mesa_update_hitflag( ctx, v1->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 136 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; local 137 _mesa_update_hitflag( ctx, v->attrib[FRAG_ATTRIB_WPOS][2] * zs );
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_feedback.c | 115 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; local 117 _mesa_update_hitflag( ctx, v0->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 118 _mesa_update_hitflag( ctx, v1->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 119 _mesa_update_hitflag( ctx, v2->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 127 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; local 128 _mesa_update_hitflag( ctx, v0->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 129 _mesa_update_hitflag( ctx, v1->attrib[FRAG_ATTRIB_WPOS][2] * zs ); 136 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; local 137 _mesa_update_hitflag( ctx, v->attrib[FRAG_ATTRIB_WPOS][2] * zs );
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | ECAlgorithms.java | 64 static void implMontgomeryTrick(ECFieldElement[] zs, int off, int len) argument 74 c[0] = zs[off]; 79 c[i] = c[i - 1].multiply(zs[off + i]); 87 ECFieldElement tmp = zs[j]; 88 zs[j] = c[i].multiply(u); 92 zs[off] = u;
|
H A D | ECPoint.java | 46 protected ECFieldElement[] zs; field in class:ECPoint 57 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) argument 62 this.zs = zs; 159 return (index < 0 || index >= zs.length) ? null : zs[index]; 164 int zsLen = zs.length; 167 return zs; 170 System.arraycopy(zs, 0, copy, 0, zsLen); 199 || zs[ 498 Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument 1162 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument [all...] |
H A D | ECCurve.java | 173 ECFieldElement[] zs = new ECFieldElement[points.length]; 181 zs[count] = p.getZCoord(0); 191 ECAlgorithms.implMontgomeryTrick(zs, 0, count); 196 points[index] = points[index].normalize(zs[j]); 398 new ECFieldElement[]{ fromBigInteger(p.zs[0].toBigInteger()) },
|
/external/fio/t/ |
H A D | genzipf.c | 179 struct zipf_state zs; local 191 zipf_init(&zs, nranges, dist_val, 1); 193 pareto_init(&zs, nranges, dist_val, 1); 212 offset = zipf_next(&zs); 214 offset = pareto_next(&zs);
|
/external/bzip2/ |
H A D | bzlib.c | 260 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ 264 if (zchh != zs->state_in_ch && \ 265 zs->state_in_len == 1) { \ 266 UChar ch = (UChar)(zs->state_in_ch); \ 267 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 268 zs->inUse[zs->state_in_ch] = True; \ 269 zs->block[zs->nblock] = (UChar)ch; \ 270 zs [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format.csv | 127 PIPE_FORMAT_S8_UINT , plain, 1, 1, up8 , , , , _x__, zs 128 PIPE_FORMAT_Z16_UNORM , plain, 1, 1, un16, , , , x___, zs 129 PIPE_FORMAT_Z32_UNORM , plain, 1, 1, un32, , , , x___, zs 130 PIPE_FORMAT_Z32_FLOAT , plain, 1, 1, f32 , , , , x___, zs 131 PIPE_FORMAT_Z24_UNORM_S8_UINT , plain, 1, 1, un24, up8 , , , xy__, zs 132 PIPE_FORMAT_S8_UINT_Z24_UNORM , plain, 1, 1, up8 , un24, , , yx__, zs 133 PIPE_FORMAT_X24S8_UINT , plain, 1, 1, x24 , up8 , , , _y__, zs 134 PIPE_FORMAT_S8X24_UINT , plain, 1, 1, up8 , x24 , , , _x__, zs 135 PIPE_FORMAT_Z24X8_UNORM , plain, 1, 1, un24, x8 , , , x___, zs 136 PIPE_FORMAT_X8Z24_UNORM , plain, 1, 1, x8 , un24, , , y___, zs [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format.csv | 127 PIPE_FORMAT_S8_UINT , plain, 1, 1, up8 , , , , _x__, zs 128 PIPE_FORMAT_Z16_UNORM , plain, 1, 1, un16, , , , x___, zs 129 PIPE_FORMAT_Z32_UNORM , plain, 1, 1, un32, , , , x___, zs 130 PIPE_FORMAT_Z32_FLOAT , plain, 1, 1, f32 , , , , x___, zs 131 PIPE_FORMAT_Z24_UNORM_S8_UINT , plain, 1, 1, un24, up8 , , , xy__, zs 132 PIPE_FORMAT_S8_UINT_Z24_UNORM , plain, 1, 1, up8 , un24, , , yx__, zs 133 PIPE_FORMAT_X24S8_UINT , plain, 1, 1, x24 , up8 , , , _y__, zs 134 PIPE_FORMAT_S8X24_UINT , plain, 1, 1, up8 , x24 , , , _x__, zs 135 PIPE_FORMAT_Z24X8_UNORM , plain, 1, 1, un24, x8 , , , x___, zs 136 PIPE_FORMAT_X8Z24_UNORM , plain, 1, 1, x8 , un24, , , y___, zs [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_tex_tile_cache.c | 232 boolean zs = util_format_is_depth_or_stencil(tc->format); local 295 if (!zs && util_format_is_pure_uint(tc->format)) { 304 } else if (!zs && util_format_is_pure_sint(tc->format)) {
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_tile_cache.c | 232 boolean zs = util_format_is_depth_or_stencil(tc->format); local 295 if (!zs && util_format_is_pure_uint(tc->format)) { 304 } else if (!zs && util_format_is_pure_sint(tc->format)) {
|
/external/chromium_org/mojo/examples/sample_app/ |
H A D | spinning_cube.cc | 251 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs; local 267 zs = z * sin_angle; 271 rotation.m[0][1] = (one_minus_cos * xy) - zs; 275 rotation.m[1][0] = (one_minus_cos * xy) + zs;
|
/external/chromium_org/ppapi/examples/compositor/ |
H A D | spinning_cube.cc | 235 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs; local 251 zs = z * sin_angle; 255 rotation.m[0][1] = (one_minus_cos * xy) - zs; 259 rotation.m[1][0] = (one_minus_cos * xy) + zs;
|
/external/chromium_org/ppapi/examples/gles2_spinning_cube/ |
H A D | spinning_cube.cc | 251 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs; local 267 zs = z * sin_angle; 271 rotation.m[0][1] = (one_minus_cos * xy) - zs; 275 rotation.m[1][0] = (one_minus_cos * xy) + zs;
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | prog_noise.c | 333 float zs = z + s; local 336 int k = FASTFLOOR(zs); 490 float zs = z + s; local 494 int k = FASTFLOOR(zs);
|
/external/mesa3d/src/mesa/program/ |
H A D | prog_noise.c | 333 float zs = z + s; local 336 int k = FASTFLOOR(zs); 490 float zs = z + s; local 494 int k = FASTFLOOR(zs);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | dtoa.cpp | 617 uint32_t si, z, zs; local 645 zs = (si >> 16) * q + (ys >> 16); 646 carry = zs >> 16; 649 z = (*bx >> 16) - (zs & 0xffff) - borrow; 677 zs = (si >> 16) + (ys >> 16); 678 carry = zs >> 16; 681 z = (*bx >> 16) - (zs & 0xffff) - borrow;
|
/external/opencv/cv/src/ |
H A D | cvfundam.cpp | 1342 const float* zs = 0; local 1353 zs = ys + s_plane_stride; 1369 float x = *xs * w, y = *ys * w, z = *zs * w; 1370 xs += s_stride; ys += s_stride; zs += s_stride; 1388 const double* zs = 0; local 1399 zs = ys + s_plane_stride; 1415 double x = *xs * w, y = *ys * w, z = *zs * w; 1416 xs += s_stride; ys += s_stride; zs += s_stride;
|
/external/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 517 constexpr int zs[2][2][2][2] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; 518 static_assert(zs[0][0][0][0] == 1, ""); 519 static_assert(zs[1][1][1][1] == 16, ""); 520 static_assert(zs[0][0][0][2] == 3, ""); // expected-error {{constant expression}} expected-note {{read of dereferenced one-past-the-end pointer}} 521 static_assert((&zs[0][0][0][2])[-1] == 2, ""); 522 static_assert(**(**(zs + 1) + 1) == 11, ""); 523 static_assert(*(&(&(*(*&(&zs[2] - 1)[0] + 2 - 2))[2])[-1][-1] + 1) == 11, ""); // expected-error {{constant expression}} expected-note {{cannot refer to element -1 of array of 2 elements in a constant expression}} 524 static_assert(*(&(&(*(*&(&zs[2] - 1)[0] + 2 - 2))[2])[-1][2] - 2) == 11, ""); 525 constexpr int err_zs_1_2_0_0 = zs[1][2][0][0]; // expected-error {{constant expression}} expected-note {{cannot access array element of pointer past the end}} 530 static_assert(fail(*(&(&(*(*&(&zs[ [all...] |
/external/valgrind/main/VEX/switchback/ |
H A D | test_bzip2.c | 4611 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ 4615 if (zchh != zs->state_in_ch && \ 4616 zs->state_in_len == 1) { \ 4617 UChar ch = (UChar)(zs->state_in_ch); \ 4618 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 4619 zs->inUse[zs->state_in_ch] = True; \ 4620 zs->block[zs->nblock] = (UChar)ch; \ 4621 zs [all...] |
/external/valgrind/main/exp-sgcheck/tests/ |
H A D | hackedbz2.c | 4635 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ 4639 if (zchh != zs->state_in_ch && \ 4640 zs->state_in_len == 1) { \ 4641 UChar ch = (UChar)(zs->state_in_ch); \ 4642 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 4643 zs->inUse[zs->state_in_ch] = True; \ 4644 zs->block[zs->nblock] = (UChar)ch; \ 4645 zs [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | origin5-bz2.c | 4626 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ 4630 if (zchh != zs->state_in_ch && \ 4631 zs->state_in_len == 1) { \ 4632 UChar ch = (UChar)(zs->state_in_ch); \ 4633 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 4634 zs->inUse[zs->state_in_ch] = True; \ 4635 zs->block[zs->nblock] = (UChar)ch; \ 4636 zs [all...] |