Searched refs:bytesAsInt (Results 1 – 2 of 2) sorted by relevance
110 deInt32* const bytesAsInt = reinterpret_cast<deInt32*>(&bytes.front()); in getBytes() local114 case OPATOMIC_IADD: bytesAsInt[0] += inputInts[ndx]; break; in getBytes()115 case OPATOMIC_ISUB: bytesAsInt[0] -= inputInts[ndx]; break; in getBytes()116 case OPATOMIC_IINC: bytesAsInt[0]++; break; in getBytes()117 case OPATOMIC_IDEC: bytesAsInt[0]--; break; in getBytes()118 case OPATOMIC_LOAD: bytesAsInt[ndx] = inputInts[ndx]; break; in getBytes()119 case OPATOMIC_STORE: bytesAsInt[ndx] = inputInts[ndx]; break; in getBytes()120 case OPATOMIC_COMPEX: bytesAsInt[ndx] = (inputInts[ndx] % 2) == 0 ? -1 : 1; break; in getBytes()131 deInt32* const bytesAsInt = reinterpret_cast<deInt32*>(&bytes.front()); in getBytes() local133 bytesAsInt[ndx] = inputInts[ndx] % 2; in getBytes()
178 private void assertInvalid(int... bytesAsInt) throws Exception { in assertInvalid() argument179 byte[] bytes = new byte[bytesAsInt.length]; in assertInvalid()180 for (int i = 0; i < bytesAsInt.length; i++) { in assertInvalid()181 bytes[i] = (byte) bytesAsInt[i]; in assertInvalid()