/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
groveelectromagnet.cxx | 53 magnet->off(); 58 // Turn magnet on and off every 5 seconds 67 magnet->off(); 68 cout << "Turning magnet " << ((magnetState) ? "on" : "off") << endl; 74 magnet->off();
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
groveelectromagnet.js | 32 electromagnet_obj.off(); 36 // Turn magnet on and off every 5 seconds 43 electromagnet_obj.off(); 44 console.log("Turning magnet " + ((magnetState) ? "on" : "off")); 47 // When exiting: clear interval, turn off magnet, run memory cleanup, and print message 51 electromagnet_obj.off();
|
/libcore/ojluni/src/main/java/java/util/zip/ |
CheckedOutputStream.java | 68 * @param off the start offset of the data 72 public void write(byte[] b, int off, int len) throws IOException { 73 out.write(b, off, len); 74 cksum.update(b, off, len);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/ |
dysymtab-3.d | 11 ( )+table of content: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 12 ( )+module table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 13 ( )+external reference table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 14 ( )+indirect symbol table: off: 0x00000170 num: 4( )+\(endoff: 0x00000180\) 15 ( )+external relocation table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 16 ( )+local relocation table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\)
|
/external/autotest/server/site_tests/platform_ServoPowerStateController/ |
platform_ServoPowerStateController.py | 12 """Test servo can power on and off DUT in recovery and non-recovery mode.""" 24 # Power off, then power on DUT from internal storage. 26 self.host.servo.switch_usbkey('off') 31 """Confirm DUT is powered on, claim test failure if DUT is off. 36 @raise TestFail: If DUT is off or DUT boot from wrong source. 52 """Confirm DUT is off and does not turn back on after 30 seconds. 62 ' after it is turned off.')) 67 logging.info('Power off DUT') 69 self.assert_dut_off('power_state:off did not turn DUT off.' [all...] |
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_allocation.cpp | 442 for (int off = 0; off < s; off ++) { 443 for (int count = 1; count <= s - off; count ++) { 444 passed &= helperCopy1D<float>(rs, s, off, count, true, RS_TYPE_FLOAT_32); 445 passed &= helperCopy1D<char>(rs, s, off, count, true, RS_TYPE_SIGNED_8); 446 passed &= helperCopy1D<short>(rs, s, off, count, true, RS_TYPE_SIGNED_16); 447 passed &= helperCopy1D<int>(rs, s, off, count, true, RS_TYPE_SIGNED_32); 448 passed &= helperCopy1D<double>(rs, s, off, count, true, RS_TYPE_FLOAT_64); 452 for (int off = 0; off < s; off ++) [all...] |
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 316 const unsigned int off = 0xffffffff; 319 on, off, on, off, on, off, on, off, 320 off, on, off, on, off, on, off, on, 321 on, off, on, off, on, off, on, off [all...] |
/bionic/libc/kernel/uapi/linux/tc_ematch/ |
tc_em_nbyte.h | 25 __u16 off; member in struct:tcf_em_nbyte
|
/development/ndk/platforms/android-21/include/linux/tc_ematch/ |
tc_em_nbyte.h | 25 __u16 off; member in struct:tcf_em_nbyte
|
/external/apache-http/src/org/apache/http/util/ |
CharArrayBuffer.java | 69 public void append(final char[] b, int off, int len) { 73 if ((off < 0) || (off > b.length) || (len < 0) || 74 ((off + len) < 0) || ((off + len) > b.length)) { 84 System.arraycopy(b, off, this.buffer, this.len, len); 101 public void append(final CharArrayBuffer b, int off, int len) { 105 append(b.buffer, off, len); 124 public void append(final byte[] b, int off, int len) { 128 if ((off < 0) || (off > b.length) || (len < 0) | 154 append(b.buffer(), off, len); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Signer.java | 24 public void update(byte[] in, int off, int len);
|
/external/dagger2/examples/simple/src/main/java/coffee/ |
ElectricHeater.java | 11 @Override public void off() { method in class:ElectricHeater
|
/external/elfutils/tests/ |
dwarf-ranges.c | 43 for (ptrdiff_t off = 0; 44 (off = dwarf_ranges (cudie, off, &base, &start, &end)); ) 45 if (off == -1)
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestWriter.java | 49 public void write(char[] cbuf, int off, int len) throws IOException { 50 super.write(cbuf, off, len); 55 public void write(String str, int off, int len) throws IOException { 56 super.write(str, off, len);
|
/external/iproute2/include/linux/tc_ematch/ |
tc_em_nbyte.h | 8 __u16 off; member in struct:tcf_em_nbyte
|
/external/kernel-headers/original/uapi/linux/tc_ematch/ |
tc_em_nbyte.h | 8 __u16 off; member in struct:tcf_em_nbyte
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
DoubleArrayBuffer.java | 62 public final DoubleBuffer get (double[] dest, int off, int len) { 64 if (off < 0 || len < 0 || (long)off + (long)len > length) { 70 System.arraycopy(backingArray, offset + position, dest, off, len);
|
FloatArrayBuffer.java | 62 public final FloatBuffer get (float[] dest, int off, int len) { 64 if (off < 0 || len < 0 || (long)off + (long)len > length) { 70 System.arraycopy(backingArray, offset + position, dest, off, len);
|
IntArrayBuffer.java | 61 public final IntBuffer get (int[] dest, int off, int len) { 63 if (off < 0 || len < 0 || (long)len + (long)off > length) { 69 System.arraycopy(backingArray, offset + position, dest, off, len);
|
LongArrayBuffer.java | 61 public final LongBuffer get (long[] dest, int off, int len) { 63 if (off < 0 || len < 0 || (long)len + (long)off > length) { 69 System.arraycopy(backingArray, offset + position, dest, off, len);
|
ShortArrayBuffer.java | 62 public final ShortBuffer get (short[] dest, int off, int len) { 64 if (off < 0 || len < 0 || (long)off + (long)len > length) { 70 System.arraycopy(backingArray, offset + position, dest, off, len);
|
/external/libvpx/libvpx/vpx_dsp/ |
bitreader_buffer.c | 18 const size_t off = rb->bit_offset; local 19 const size_t p = off >> 3; 20 const int q = 7 - (int)(off & 0x7); 23 rb->bit_offset = off + 1;
|
bitwriter_buffer.c | 22 const int off = (int)wb->bit_offset; local 23 const int p = off / CHAR_BIT; 24 const int q = CHAR_BIT - 1 - off % CHAR_BIT; 31 wb->bit_offset = off + 1;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/check/ |
CRC64.java | 37 public void update(byte[] buf, int off, int len) { 38 int end = off + len; 40 while (off < end) 41 crc = crcTable[(buf[off++] ^ (int)crc) & 0xFF] ^ (crc >>> 8);
|
None.java | 18 public void update(byte[] buf, int off, int len) {}
|