Home
last modified time | relevance | path

Searched refs:ctz (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/frag/
Dsubgroup-globals-extract.msl22.frag17 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/frag/
Dsubgroup-globals-extract.msl22.frag17 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
/third_party/littlefs/
Dlfs.c417 static void lfs_ctz_fromle32(struct lfs_ctz *ctz) { in lfs_ctz_fromle32() argument
418 ctz->head = lfs_fromle32(ctz->head); in lfs_ctz_fromle32()
419 ctz->size = lfs_fromle32(ctz->size); in lfs_ctz_fromle32()
423 static void lfs_ctz_tole32(struct lfs_ctz *ctz) { in lfs_ctz_tole32() argument
424 ctz->head = lfs_tole32(ctz->head); in lfs_ctz_tole32()
425 ctz->size = lfs_tole32(ctz->size); in lfs_ctz_tole32()
1276 struct lfs_ctz ctz; in lfs_dir_getinfo() local
1278 LFS_MKTAG(LFS_TYPE_STRUCT, id, sizeof(ctz)), &ctz); in lfs_dir_getinfo()
1282 lfs_ctz_fromle32(&ctz); in lfs_dir_getinfo()
1285 info->size = ctz.size; in lfs_dir_getinfo()
[all …]
DDESIGN.md628 The name comes from heavy use of the [CTZ instruction][wikipedia-ctz], which
630 that block contains ctz(_n_)+1 pointers.
689 ![lim,n->inf((1/n)sum,i,0->n(ctz(i)+1)) = sum,i,0->inf(1/2^i) = 2][ctz-formula1]
697 ![B = (w/8)ceil(log2(2^w / (B-2w/8)))][ctz-formula2]
722 ![N = sum,i,0->n(B-(w/8)(ctz(i)+1))][ctz-formula3]
737 ![sum,i,0->n(ctz(i)+1) = 2n-popcount(n)][ctz-formula4]
741 1. ctz(![x]) = the number of trailing bits that are 0 in ![x]
753 ![N = Bn - (w/8)(2n-popcount(n))][ctz-formula5]
762 ![n = floor((N-(w/8)popcount(N/(B-2w/8))) / (B-2w/8))][ctz-formula6]
768 ![off = N - (B-2w/8)n - (w/8)popcount(n)][ctz-formula7]
[all …]
Dlfs.h361 } ctz; member
/third_party/skia/tests/sksl/intrinsics/
DFindLSB.metal18 …_out.sk_FragColor.x = half((_skTemp0 = (_uniforms.a), select(ctz(_skTemp0), int(-1), _skTemp0 == i…
19 …_out.sk_FragColor.y = half((_skTemp1 = (_uniforms.b), select(ctz(_skTemp1), uint(-1), _skTemp1 == …
/third_party/littlefs/tests/
Dtest_evil.toml149 struct lfs_ctz ctz;
152 LFS_MKTAG(LFS_TYPE_STRUCT, 1, sizeof(struct lfs_ctz)), &ctz)
154 lfs_ctz_fromle32(&ctz);
157 cfg.read(&cfg, ctz.head, 0, bbuffer, LFS_BLOCK_SIZE) => 0;
161 cfg.erase(&cfg, ctz.head) => 0;
162 cfg.prog(&cfg, ctz.head, 0, bbuffer, LFS_BLOCK_SIZE) => 0;
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/comp/
Dsubgroups.nocompat.invalid.vk.msl22.ios.comp65 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
Dsubgroups.nocompat.invalid.vk.msl21.fixed-subgroup.comp70 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
Dsubgroups.nocompat.invalid.vk.msl23.ios.simd.comp65 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
Dsubgroups.nocompat.invalid.vk.msl21.comp70 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
Dbitfield.comp12 return select(ctz(x), T(-1), x == T(0));
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/frag/
Dsubgroups.nocompat.invalid.vk.msl22.frag68 …return select(ctz(ballot.x), select(32 + ctz(ballot.y), select(64 + ctz(ballot.z), select(96 + ctz
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/intel/
Dshader-integer-functions2.asm.comp17 _4.a = ctz(_4.a);
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/intel/
Dshader-integer-functions2.asm.comp17 _4.a = ctz(_4.a);
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/asm/comp/
Dbitscan.asm.comp18 return select(ctz(x), T(-1), x == T(0));
/third_party/openGLES/extensions/INTEL/
DINTEL_shader_integer_functions2.txt211 32). This corresponds to the ctz() function in OpenCL.
216 RESOLVED: NO. OpenCL has 64-bit versions of clz() and ctz(), but OpenGL
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1312 TimeZone ctz = TimeZone.getTimeZone(correctName); in TestOddTimeZoneNames() local
1319 String cdn = ctz.getDisplayName(); in TestOddTimeZoneNames()
1320 long cro = ctz.getRawOffset(); in TestOddTimeZoneNames()
1321 long cds = ctz.getDSTSavings(); in TestOddTimeZoneNames()
1322 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneTest.java1340 TimeZone ctz = TimeZone.getTimeZone(correctName); in TestOddTimeZoneNames() local
1347 String cdn = ctz.getDisplayName(); in TestOddTimeZoneNames()
1348 long cro = ctz.getRawOffset(); in TestOddTimeZoneNames()
1349 long cds = ctz.getDSTSavings(); in TestOddTimeZoneNames()
1350 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dfunctions.vert50 return select(ctz(x), T(-1), x == T(0));
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dfunctions.vert50 return select(ctz(x), T(-1), x == T(0));
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dext_inst.opencl_test.cpp207 CASE1(Ctz, ctz),
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dext_inst.opencl_test.cpp211 CASE1(Ctz, ctz),
/third_party/skia/third_party/externals/spirv-tools/test/
Dext_inst.opencl_test.cpp211 CASE1(Ctz, ctz),
/third_party/vk-gl-cts/build/external/spirv-tools/spirv-tools/
Dopencl.std.insts.inc126 {"ctz", 152, 0, nullptr, {SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_NONE}},

12