Home
last modified time | relevance | path

Searched refs:bit_position (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DRandomTest.cpp156 for (int bit_position = 0; bit_position < 32; ++bit_position) { in test_gorilla() local
157 p[bit_position] = test_single_gorilla(reporter, bit_position); in test_gorilla()
/external/v8/src/
Dobjects.h8585 static inline bool get(Smi* smi, int bit_position) { in get() argument
8586 return get(smi->value(), bit_position); in get()
8589 static inline bool get(int value, int bit_position) { in get() argument
8590 return (value & (1 << bit_position)) != 0; in get()
8593 static inline Smi* set(Smi* smi, int bit_position, bool v) { in set() argument
8594 return Smi::FromInt(set(smi->value(), bit_position, v)); in set()
8597 static inline int set(int value, int bit_position, bool v) { in set() argument
8599 value |= (1 << bit_position); in set()
8601 value &= ~(1 << bit_position); in set()
/external/chromium_org/v8/src/
Dobjects.h10610 static inline bool get(Smi* smi, int bit_position) { in get() argument
10611 return get(smi->value(), bit_position); in get()
10614 static inline bool get(int value, int bit_position) { in get() argument
10615 return (value & (1 << bit_position)) != 0; in get()
10618 static inline Smi* set(Smi* smi, int bit_position, bool v) { in set() argument
10619 return Smi::FromInt(set(smi->value(), bit_position, v)); in set()
10622 static inline int set(int value, int bit_position, bool v) { in set() argument
10624 value |= (1 << bit_position); in set()
10626 value &= ~(1 << bit_position); in set()