Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Ddata_buf.cpp128 byte *DataBuf::Data(size_t offset) in Data()
130 return const_cast<byte *>(CData(offset)); in Data()
133 const byte *DataBuf::CData(size_t offset) const in CData()
147 uint16_t GetUShort(const byte *buf, ByteOrder byteOrder) in GetUShort()
150 return static_cast<byte>(buf[1]) << DATA_BUF_BYTE_SIZE | static_cast<byte>(buf[0]); in GetUShort()
152 return static_cast<byte>(buf[0]) << DATA_BUF_BYTE_SIZE | static_cast<byte>(buf[1]); in GetUShort()
155 void US2Data(byte *buf, uint16_t value, ByteOrder byteOrder) in US2Data()
158 buf[0] = static_cast<byte>(value & LOWER_BYTE_MASK); in US2Data()
162 buf[1] = static_cast<byte>(value & LOWER_BYTE_MASK); in US2Data()
166 size_t UL2Data(byte *buf, uint32_t l, ByteOrder byteOrder) in UL2Data()
[all …]
H A Djpeg_exif_metadata_accessor.cpp35 using uint_8 = byte;
36 constexpr byte JPEG_MARKER_APP0 = 0xe0;
37 constexpr byte JPEG_MARKER_APP1 = 0xe1;
38 constexpr byte JPEG_MARKER_SOI = 0xd8;
39 constexpr byte JPEG_MARKER_EOI = 0xd9;
40 constexpr byte JPEG_MARKER_RST1 = 0xd0;
41 constexpr byte JPEG_MARKER_SOS = 0xda;
143 byte *dataBlob = nullptr; in WriteBlob()
173 bool HasLength(byte marker) in HasLength()
263 byte marker = static_cast<byte>(ret); in GetInsertPosAndMarkerAPP1()
[all …]
H A Dmetadata_accessor_factory.cpp39 const byte jpegHeader[] = { 0xff, 0xd8, 0xff };
40 const byte pngHeader[] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A };
41 const byte webpHeader[] = { 0x57, 0x45, 0x42, 0x50 };
42 const byte riffHeader[] = { 0x52, 0x49, 0x46, 0x46 };
43 const byte heifHeader[] = { 0x66, 0x74, 0x79, 0x70 };
44 const byte DNG_LITTLE_ENDIAN_HEADER[] = { 0x49, 0x49, 0x2A, 0x00 };
45 const byte DNG_BIG_ENDIAN_HEADER[] = { 0x4D, 0x4D, 0x00, 0x2A };
125 byte buff[IMAGE_HEADER_SIZE] = {0}; in GetImageType()
126 auto byteSize = static_cast<uint32_t>(sizeof(byte)); in GetImageType()
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-shell-cmd-oom.md29 | -m&nbsp;[mem&nbsp;byte] | 设置低内存阈值。 | 0MB&nbsp;~&nbsp;1MB,0MB表示不做低内存阈值检查。 …
59 oom low memory threshold: 0x80000(byte)
60 oom reclaim memory threshold: 0x500000(byte)
70 total physical memory: 0x1bcf000(byte), used: 0x1b50000(byte) ,free: 0x7f000(byte), low memory thre…
71 [oom] candidate victim process init pid: 1, actual phy mem byte:82602
72 [oom] candidate victim process shell pid: 3, actual phy mem byte:14950e
73 [oom] candidate victim process testsuits app pid: 4, actual phy mem byte:1334598
74 [oom] candidate victim process UserProcess12 pid: 12, actual phy mem byte:25951558
127byte),&nbsp;used:&nbsp;0x1b50000(byte),&nbsp;free:&nbsp;0x7f000(byte),&nbsp;low&nbsp;memory&nbsp;t…
128 …id:&nbsp;1,&nbsp;actual&nbsp;phy&nbsp;mem&nbsp;byte:&nbsp;82602 | 打印当前各个进程的内存使用情况,init进程实际占用物理内存82…
[all …]
H A Dkernel-small-debug-user.md187 ==PID:4== Total heap: 0x320 byte(s), Peak: 0x320 byte(s)
196 [TID:18 Leak:0x320 byte(s)] Allocated from:
200 [TID:18 Leak:0x320 byte(s)] Allocated from:
212 [TID:18 Leak:0x320 byte(s)] Allocated from:
216 [TID:18 Leak:0x320 byte(s)] Allocated from:
251 ==PID:4== Total heap: 0x320 byte(s), Peak: 0x320 byte(s)
260 [TID:18 Leak:0x320 byte(s)] Allocated from:
339 ==PID:4== Total heap: 0x640 byte(s), Peak: 0x640 byte(s)
415 ==PID:4== Total heap: 0x640 byte(s), Peak: 0x640 byte(s)
432 ==PID:4== Total heap: 0x640 byte(s), Peak: 0x640 byte(s)
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/audio/
H A Dinterface_i_audio_callback_v10.md20 …oCallbackType](_hdi_audio_v11.md#audiocallbacktype) type, [out] byte reserved, [out] byte cookie) …
21 …di_audio_v11.md#audioextparamkey) key, [in] byte condition, [in] byte value, [out] byte reserved, …
30 …lback ([in] enum AudioExtParamKey key, [in] byte condition, [in] byte value, [out] byte reserved, …
61 IAudioCallback::RenderCallback ([in] enum AudioCallbackType type, [out] byte reserved, [out] byte c…
H A Dinterface_i_audio_callback_v20.md20 …oCallbackType](_hdi_audio_v20.md#audiocallbacktype) type, [out] byte reserved, [out] byte cookie) …
21 …tparamkey) key, [in] String condition, [in] String value, [out] byte reserved, [in] byte cookie) |…
30 …oExtParamKey key, [in] String condition, [in] String value, [out] byte reserved, [in] byte cookie )
61 IAudioCallback::RenderCallback ([in] enum AudioCallbackType type, [out] byte reserved, [out] byte c…
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dmod.rs65 pub(crate) fn from_u8(byte: u8) -> Self { in from_u8()
66 match byte { in from_u8()
96 pub(crate) fn from_u8(byte: u8) -> Self { in from_u8()
97 match byte { in from_u8()
118 t: Some((byte & 0x40) != 0), in prefix_midbit_value()
124 h: Some((byte & 0x20) != 0), in prefix_midbit_value()
150 match byte { in from_u8()
177 t: Some((byte & 0x40) != 0), in prefix_midbit_value()
181 n: Some((byte & 0x20) != 0), in prefix_midbit_value()
182 t: Some((byte & 0x10) != 0), in prefix_midbit_value()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dmetadata_stream_test.cpp389 byte *buf = new byte[stream1.GetSize()];
421 byte *buf = new byte[sourceStream.GetSize()];
716 byte buffer[1];
833 byte *buf = new byte[size]();
853 byte *buf = new byte[size]();
874 byte *buf = new byte[size]();
894 byte *buf = new byte[size]();
915 byte *buf = new byte[size]();
1392 byte *buf = new byte[13];
1407 byte *buf = new byte[2000];
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/
H A Ddata_buf.h27 using byte = uint8_t; variable
40 using Blob = std::vector<byte>;
49 using ByteVector = std::vector<byte>;
69 DataBuf(const byte *pData, size_t size);
172 byte *Data(size_t offset = 0);
179 const byte *CData(size_t offset = 0) const;
200 uint32_t GetULong(const byte *buf, ByteOrder byteOrder);
209 size_t UL2Data(byte *buf, uint32_t l, ByteOrder byteOrder);
217 uint16_t GetUShort(const byte *buf, ByteOrder byteOrder);
226 void US2Data(byte *buf, uint16_t value, ByteOrder byteOrder);
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-shell-cmd-oom.md29 | -m [mem byte] | Sets the low memory threshold (in MB). | 0 to 1<br>The value **0** …
58 oom low memory threshold: 0x80000(byte)
59 oom reclaim memory threshold: 0x500000(byte)
69 total physical memory: 0x1bcf000(byte), used: 0x1b50000(byte) ,free: 0x7f000(byte), low memory thre…
70 [oom] candidate victim process init pid: 1, actual phy mem byte:82602
71 [oom] candidate victim process shell pid: 3, actual phy mem byte:14950e
72 [oom] candidate victim process testsuits app pid: 4, actual phy mem byte:1334598
73 [oom] candidate victim process UserProcess12 pid: 12, actual phy mem byte:25951558
126 …>total physical memory: 0x1bcf000(byte), used: 0x1b50000(byte), free: 0x7f000(byte), low memory th…
127 | [oom] candidate victim process init pid: 1, actual phy mem byte: 82602 | The memory occupied by t…
[all …]
/ohos5.0/foundation/ability/ability_base/test/unittest/base/
H A Dbyte_wrapper_test.cpp45 byte value = 0x00;
58 byte value = 0x00;
70 byte value = 0x00;
72 byte result = by.Unbox(by.Box(value));
83 byte value = 0x00;
85 byte result = by.Unbox(by.Parse("0x00"));
96 byte value = 0x01;
98 byte result = by.Unbox(by.Parse("0x01"));
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/utils/
H A Dmms_quoted_printable.cpp36 for (auto byte : input) { in Encode() local
37 if ((byte >= asciiMin && byte < equalChar) || (byte > equalChar && byte <= assciiMax)) { in Encode()
38 codeString += byte; in Encode()
41 codeString += hex[((byte >> 0x04) & 0x0F)]; in Encode()
42 codeString += hex[(byte & 0x0F)]; in Encode()
/ohos5.0/drivers/interface/nnrt/v2_0/
H A DNnrtTypes.idl61 enum Format : byte {
73 enum DataType : byte {
97 enum QuantType: byte {
154 enum ResizeMethod : byte {
167 enum NearestMode : byte {
175 enum ActivationType : byte {
199 enum ReduceMode : byte {
210 enum EltwiseMode : byte {
217 enum PadMode : byte {
223 enum RoundMode : byte {
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/foo/nnrt/v2_0/
H A DNnrtTypes.idl61 enum Format : byte {
73 enum DataType : byte {
97 enum QuantType: byte {
154 enum ResizeMethod : byte {
167 enum NearestMode : byte {
175 enum ActivationType : byte {
199 enum ReduceMode : byte {
210 enum EltwiseMode : byte {
217 enum PadMode : byte {
223 enum RoundMode : byte {
[all …]
/ohos5.0/base/security/dlp_permission_service/frameworks/common/src/
H A Dhex_string.cpp31 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() argument
33 if (byte == nullptr || hexStr == nullptr) { in ByteToHexString()
45 …hexStr[i * BYTE_TO_HEX_OPER_LENGTH] = HexToChar((byte[i] & 0xF0) >> 4); // 4: shift right for fil… in ByteToHexString()
46 … hexStr[i * BYTE_TO_HEX_OPER_LENGTH + 1] = HexToChar(byte[i] & 0x0F); // get low four bits in ByteToHexString()
67 int32_t HexStringToByte(const char *hexStr, uint32_t hexStrLen, uint8_t *byte, uint32_t byteLen) in HexStringToByte() argument
69 if (byte == nullptr || hexStr == nullptr || hexStrLen == 0) { in HexStringToByte()
83 byte[i] = high << 4; // 4: Set the high nibble in HexStringToByte()
84 byte[i] |= low; // Set the low nibble in HexStringToByte()
/ohos5.0/drivers/interface/nnrt/v1_0/
H A DNnrtTypes.idl60 enum Format : byte {
72 enum DataType : byte {
96 enum QuantType: byte {
153 enum ResizeMethod : byte {
166 enum NearestMode : byte {
174 enum ActivationType : byte {
198 enum ReduceMode : byte {
209 enum EltwiseMode : byte {
216 enum PadMode : byte {
222 enum RoundMode : byte {
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/foo/nnrt/v1_0/
H A DNnrtTypes.idl60 enum Format : byte {
72 enum DataType : byte {
96 enum QuantType: byte {
153 enum ResizeMethod : byte {
166 enum NearestMode : byte {
174 enum ActivationType : byte {
198 enum ReduceMode : byte {
209 enum EltwiseMode : byte {
216 enum PadMode : byte {
222 enum RoundMode : byte {
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A D_nnrt_types_8idl_v10.md36 | [Format](_n_n_rt_v10.md#format) : byte { FORMAT_NONE = -1 , FORMAT_NCHW = 0 , FORMAT_NHWC = 1 } |…
37 | [DataType](_n_n_rt_v10.md#datatype) : byte {<br/>DATA_TYPE_UNKNOWN = 0 , DATA_TYPE_BOOL = 30 , DA…
38 | [QuantType](_n_n_rt_v10.md#quanttype) : byte { QUANT_TYPE_NONE , QUANT_TYPE_ALL } | 量化类型。需要配合[Nod…
40 | [ResizeMethod](_n_n_rt_v10.md#resizemethod) : byte { RESIZE_METHOD_UNKNOWN = -1 , RESIZE_METHOD_L…
41 | [CoordinateTransformMode](_n_n_rt_v10.md#coordinatetransformmode) : byte { COORDINATE_TRANSFORM_M…
42 | [NearestMode](_n_n_rt_v10.md#nearestmode) : byte {<br/>NEAREST_MODE_NORMAL = 0 , NEAREST_MODE_ROU…
44 | [ReduceMode](_n_n_rt_v10.md#reducemode) : byte {<br/>REDUCE_MODE_MEAN = 0 , REDUCE_MODE_MAX = 1 ,…
45 | [EltwiseMode](_n_n_rt_v10.md#eltwisemode) : byte { ELTWISE_MODE_PROD = 0 , ELTWISE_MODE_SUM = 1 ,…
46 | [PadMode](_n_n_rt_v10.md#padmode) : byte { PAD_MODE_PAD = 0 , PAD_MODE_SAME = 1 , PAD_MODE_VALID …
47 | [RoundMode](_n_n_rt_v10.md#roundmode) : byte { ROUND_MODE_FLOOR = 0 , ROUND_MODE_CEIL = 1 } | 小数取…
[all …]
H A D_nnrt_types_8idl_v20.md36 | [Format](_n_n_rt_v20.md#format) : byte { FORMAT_NONE = -1 , FORMAT_NCHW = 0 , FORMAT_NHWC = 1 } |…
37 | [DataType](_n_n_rt_v20.md#datatype) : byte {<br/>DATA_TYPE_UNKNOWN = 0 , DATA_TYPE_BOOL = 30 , DA…
38 | [QuantType](_n_n_rt_v20.md#quanttype) : byte { QUANT_TYPE_NONE , QUANT_TYPE_ALL } | 量化类型。需要配合[Nod…
40 | [ResizeMethod](_n_n_rt_v20.md#resizemethod) : byte { RESIZE_METHOD_UNKNOWN = -1 , RESIZE_METHOD_L…
41 | [CoordinateTransformMode](_n_n_rt_v20.md#coordinatetransformmode) : byte { COORDINATE_TRANSFORM_M…
42 | [NearestMode](_n_n_rt_v20.md#nearestmode) : byte {<br/>NEAREST_MODE_NORMAL = 0 , NEAREST_MODE_ROU…
44 | [ReduceMode](_n_n_rt_v20.md#reducemode) : byte {<br/>REDUCE_MODE_MEAN = 0 , REDUCE_MODE_MAX = 1 ,…
45 | [EltwiseMode](_n_n_rt_v20.md#eltwisemode) : byte { ELTWISE_MODE_PROD = 0 , ELTWISE_MODE_SUM = 1 ,…
46 | [PadMode](_n_n_rt_v20.md#padmode) : byte { PAD_MODE_PAD = 0 , PAD_MODE_SAME = 1 , PAD_MODE_VALID …
47 | [RoundMode](_n_n_rt_v20.md#roundmode) : byte { ROUND_MODE_FLOOR = 0 , ROUND_MODE_CEIL = 1 } | 小数取…
[all …]
/ohos5.0/base/security/device_auth/common_lib/impl/src/
H A Dstring_util.c34 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() argument
36 if (byte == NULL || hexStr == NULL) { in ByteToHexString()
45 …hexStr[i * BYTE_TO_HEX_OPER_LENGTH] = HexToChar((byte[i] & 0xF0) >> 4); /* 4: shift right for fill… in ByteToHexString()
46 hexStr[i * BYTE_TO_HEX_OPER_LENGTH + 1] = HexToChar(byte[i] & 0x0F); /* get low four bits */ in ByteToHexString()
66 int32_t HexStringToByte(const char *hexStr, uint8_t *byte, uint32_t byteLen) in HexStringToByte() argument
68 if (byte == NULL || hexStr == NULL) { in HexStringToByte()
83 byte[i] = high << 4; /* 4: Set the high nibble */ in HexStringToByte()
84 byte[i] |= low; /* Set the low nibble */ in HexStringToByte()
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Dbyte_wrapper.cpp22 ErrCode Byte::GetValue(byte &value) /* [out] */ in GetValue()
41 sptr<IByte> Byte::Box(byte value) /* [in] */ in Box()
47 byte Byte::Unbox(IByte *object) /* [in] */ in Unbox()
49 byte value; in Unbox()
58 byte value = (byte)std::stoi(str, &idx); in Parse()
/ohos5.0/foundation/ability/idl_tool/test/sa_test/cmd_dump_ast/foo/
H A DIFoo.idl22 byte byte_test_func([in] byte inParam, [out] byte outParam, [inout] byte inoutParam);
33 …Map<byte, byte> map_byte_test_func([in] Map<byte, byte> inParam, [out] Map<byte, byte> outParam, […
55byte[] array_byte_test_func([in] byte[] inParam, [out] byte[] outParam, [inout] byte[] inoutParam);
/ohos5.0/foundation/ability/idl_tool/test/sa_test/cmd_dump_ast/target/
H A Doutput.txt13 byte byte_test_func(
14 [in] byte inParam,
15 [out] byte outParam,
16 [in, out] byte inoutParam);
68 Map<byte, byte> map_byte_test_func(
69 [in] Map<byte, byte> inParam,
70 [out] Map<byte, byte> outParam,
71 [in, out] Map<byte, byte> inoutParam);
178 byte[] array_byte_test_func(
179 [in] byte[] inParam,
[all …]
/ohos5.0/foundation/ability/idl_tool/test/sa_test/cmd_dump_metadata/foo/
H A DIFoo.idl22 byte byte_test_func([in] byte inParam, [out] byte outParam, [inout] byte inoutParam);
33 …Map<byte, byte> map_byte_test_func([in] Map<byte, byte> inParam, [out] Map<byte, byte> outParam, […
55byte[] array_byte_test_func([in] byte[] inParam, [out] byte[] outParam, [inout] byte[] inoutParam);

12345678910>>...21