Home
last modified time | relevance | path

Searched refs:bit_value (Results 1 – 9 of 9) sorted by relevance

/external/autotest/client/common_lib/
Dsmogcheck_pca9555.py109 def _computeLEDmask(self, bit_value, failure, warning): argument
122 if bit_value < 0 or bit_value > 15:
125 bit_mask = bit_value
153 def setLEDs(self, bit_value, failure, warning): argument
191 'warning=%r', bit_value, failure, warning)
195 bit_mask = self._computeLEDmask(bit_value, failure, warning)
238 bit_value = -1
248 bit_value = byte_read & 0xf # Get lower 4-bit value
250 bit_value, failure, warning)
255 return (ret, bit_value, failure, warning)
Dsmogcheck_ttci.py165 def TTCI_Set_LEDs(self, bit_value, failure, warning): argument
170 return self.pca_obj.setLEDs(bit_value, failure, warning)
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtBit_Block.py201 bit_value="3"
212 log.I("set parameter %s to %s, failed expected"%(self.bit_name[1],bit_value))
213 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False)
214 assert err == None, log.E("setParameter %s %s : %s" % (self.bit_name[1],bit_value, err))
215 …rror not detected when setting the bit %s to out of bound value %s" % (self.bit_name[1],bit_value))
244 bit_value="1"
256 log.I("set parameter %s to %s, failed expected"%(bit_undefined_name,bit_value))
257 out,err = self.pfw.sendCmd("setParameter",bit_undefined_name,bit_value, expectSuccess=False)
258 assert err == None, log.E("setParameter %s %s : %s" % (bit_undefined_name,bit_value, err))
259 …or not detected when setting the bit %s to out of bound value %s" % (bit_undefined_name,bit_value))
/external/OpenCL-CTS/test_conformance/subgroups/
Dtest_subgroup_ballot.cpp208 int bit_value = 0; in chk() local
217 ? bit_value = 1 in chk()
218 : bit_value = 0; in chk()
221 ? bit_value = 1 in chk()
222 : bit_value = 0; in chk()
225 ? bit_value = 1 in chk()
226 : bit_value = 0; in chk()
229 ? bit_value = 1 in chk()
230 : bit_value = 0; in chk()
234 bit_value ? expected_result = { 1, 0, 0, 1 } in chk()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dmqc.c386 OPJ_BYTE bit_value = 0; in opj_mqc_bypass_flush_enc() local
393 mqc->c += (OPJ_UINT32)(bit_value << mqc->ct); in opj_mqc_bypass_flush_enc()
394 bit_value = (OPJ_BYTE)(1U - bit_value); in opj_mqc_bypass_flush_enc()
/external/icing/icing/file/
Dfile-backed-bitmap.cc199 bool bit_value) { in Set() argument
209 if (!bit_value) { in Set()
220 Word new_word = bit_value ? (old_word | word_mask) : old_word & ~word_mask; in Set()
Dfile-backed-bitmap.h101 libtextclassifier3::Status Set(int bit_index, bool bit_value);
/external/autotest/client/site_tests/hardware_TPMttci/
Dhardware_TPMttci.py145 ret, bit_value, failure, warning = self.ttci_obj.TTCI_Get_LED_Status()
150 bit_value, failure, warning)
/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc419 int bit_value = i >> (tot_num_packets - j - 1) & 1; in ComputeMetricsForCode() local
420 if (bit_value == 1) { in ComputeMetricsForCode()