Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:powerOf2
(Results
1 - 2
of
2
) sorted by relevance
/third_party/glslang/glslang/Include/
H
A
D
Common.h
261
template <class T> bool IsPow2(T
powerOf2
)
in IsPow2()
argument
263
if (
powerOf2
<= 0)
in IsPow2()
266
return (
powerOf2
& (
powerOf2
- 1)) == 0;
in IsPow2()
269
// Round number up to a multiple of the given
powerOf2
, which is not
271
template <class T> void RoundToPow2(T& number, int
powerOf2
)
in RoundToPow2()
argument
273
assert(IsPow2(
powerOf2
));
in RoundToPow2()
274
number = (number +
powerOf2
- 1) & ~(
powerOf2
- 1);
in RoundToPow2()
277
template <class T> bool IsMultipleOfPow2(T number, int
powerOf2
)
in IsMultipleOfPow2()
argument
[all...]
/third_party/vk-gl-cts/framework/delibs/debase/
H
A
D
deInt32.h
731
DE_INLINE int deIntIsPow2(int
powerOf2
)
in deIntIsPow2()
argument
733
if (
powerOf2
<= 0)
in deIntIsPow2()
735
return (
powerOf2
& (
powerOf2
- (int)1)) == (int)0;
in deIntIsPow2()
738
DE_INLINE int deIntRoundToPow2(int number, int
powerOf2
)
in deIntRoundToPow2()
argument
740
DE_ASSERT(deIntIsPow2(
powerOf2
));
in deIntRoundToPow2()
741
return (number + (int)
powerOf2
- (int)1) & (int)(~(
powerOf2
- 1));
in deIntRoundToPow2()
Completed in 3 milliseconds