OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:force_length
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/tools/usb_gadget/
hid_descriptors.py
18
def _PackItem(tag, typ, value=0,
force_length
=0):
28
force_length
: Force packing to a specific width.
33
if value == 0 and
force_length
<= 0:
35
elif value <= 0xff and
force_length
<= 1:
37
elif value <= 0xffff and
force_length
<= 2:
39
elif value <= 0xffffffff and
force_length
<= 4:
59
def EncodeItem(value=0,
force_length
=0):
60
return _PackItem(tag, typ, value,
force_length
)
89
return _PackItem(tag, hid_constants.Scope.MAIN, value,
force_length
=1)
hid_echo_gadget.py
29
hid_descriptors.LogicalMinimum(0,
force_length
=1),
30
hid_descriptors.LogicalMaximum(255,
force_length
=2),
keyboard_gadget.py
35
hid_descriptors.LogicalMinimum(0,
force_length
=1),
58
hid_descriptors.LogicalMinimum(0,
force_length
=1),
61
hid_descriptors.UsageMinimum(0,
force_length
=1),
mouse_gadget.py
38
hid_descriptors.LogicalMinimum(0,
force_length
=1),
hid_gadget_test.py
21
hid_descriptors.LogicalMinimum(0,
force_length
=1),
22
hid_descriptors.LogicalMaximum(255,
force_length
=2),
Completed in 116 milliseconds