Home
last modified time | relevance | path

Searched refs:byte_str (Results 1 – 11 of 11) sorted by relevance

/external/epid-sdk/epid/common/math/src/
Dbignum.c99 Ipp8u const* byte_str = (Ipp8u const*)bn_str; in ReadBigNum() local
121 if (0 != byte_str[i]) { in ReadBigNum()
164 ConstIppOctStr byte_str = (ConstIppOctStr)octstr_ptr; in OctStr2Bnu() local
175 *bnu++ = (byte_str[octstr_len - 4] << (8 * 3)) + in OctStr2Bnu()
176 (byte_str[octstr_len - 3] << (8 * 2)) + in OctStr2Bnu()
177 (byte_str[octstr_len - 2] << (8 * 1)) + byte_str[octstr_len - 1]; in OctStr2Bnu()
Decgroup.c285 ConstIppOctStr byte_str = (ConstIppOctStr)p_str; in eccontains() local
304 if (0 != byte_str[i]) { in eccontains()
338 result = SetFfElementOctString(byte_str, ipp_half_strlen, fp_x, fp); in eccontains()
344 result = SetFfElementOctString(byte_str + ipp_half_strlen, ipp_half_strlen, in eccontains()
415 IppOctStr byte_str = (IppOctStr)p_str; in WriteEcPoint() local
466 sts = ippsGFpGetElementOctString(fp_x->ipp_ff_elem, byte_str, in WriteEcPoint()
479 byte_str + ipp_half_strlen, in WriteEcPoint()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pyx.pxi39 byte_str = _decode(<bytes>res_str[:str_len])
40 if byte_str.endswith(':' + str(port)):
41 byte_str = byte_str[:(0 - len(str(port)) - 1)]
42 byte_str = byte_str.lstrip('[')
43 byte_str = byte_str.rstrip(']')
44 byte_str = '{}'.format(byte_str)
45 return byte_str, port
/external/autotest/client/cros/
Ddhcp_packet.py630 def __init__(self, byte_str=None): argument
651 if byte_str is None:
653 if len(byte_str) < OPTIONS_START_OFFSET + 1:
657 self._fields[field] = field.unpack(byte_str[field.offset :
662 while offset < len(byte_str) and ord(byte_str[offset]) != OPTION_END:
663 data_type = ord(byte_str[offset])
667 data_length = ord(byte_str[offset])
669 data = byte_str[offset: offset + data_length]
Ddhcp_unittest.py39 def bin2hex(byte_str, justification=20): argument
44 chars = ["x" + (hex(ord(c))[2:].zfill(2)) for c in byte_str]
54 discovery_packet = dhcp_packet.DhcpPacket(byte_str=binary_discovery_packet)
132 packet = dhcp_packet.DhcpPacket(byte_str=data)
Ddhcp_test_server.py241 packet = dhcp_packet.DhcpPacket(byte_str=data)
/external/vulkan-validation-layers/layers/
Dshader_validation.h200 char byte_str[3] = {}; in Sha1ToVkUuid() local
202 byte_str[0] = padded_sha1_str[2 * i + 0]; in Sha1ToVkUuid()
203 byte_str[1] = padded_sha1_str[2 * i + 1]; in Sha1ToVkUuid()
204 uuid[i] = static_cast<uint8_t>(strtol(byte_str, NULL, 16)); in Sha1ToVkUuid()
/external/protobuf/python/google/protobuf/
Dreflection.py71 def ParseMessage(descriptor, byte_str): argument
83 new_msg.ParseFromString(byte_str)
/external/pdfium/fpdfsdk/
Dfpdftext.cpp191 ByteString byte_str = str.UTF16LE_Encode(); in FPDFText_GetText() local
192 size_t byte_str_len = byte_str.GetLength(); in FPDFText_GetText()
196 memcpy(result, byte_str.GetBuffer(byte_str_len), byte_str_len); in FPDFText_GetText()
/external/protobuf/python/google/protobuf/internal/
Ddecoder.py467 def _ConvertToUnicode(byte_str): argument
469 return local_unicode(byte_str, 'utf-8')
/external/pdfium/fxjs/
Dcjs_field.cpp451 ByteString byte_str = ByteString::FromUnicode(pRuntime->ToWideString(vp)); in set_border_style() local
453 AddDelay_String(FP_BORDERSTYLE, byte_str); in set_border_style()
456 m_nFormControlIndex, byte_str); in set_border_style()