Home
last modified time | relevance | path

Searched refs:value (Results 1 - 25 of 313) sorted by relevance

12345678910>>...13

/developtools/hdc/hdc_rust/src/cffi/
H A Dserial_struct.cpp34 extern "C" SerializedBuffer SerializeSessionHandShake(const RustStruct::SessionHandShake &value) in SerializeSessionHandShake() argument
37 .banner = string(value.banner), in SerializeSessionHandShake()
38 .authType = value.authType, in SerializeSessionHandShake()
39 .sessionId = value.sessionId, in SerializeSessionHandShake()
40 .connectKey = string(value.connectKey), in SerializeSessionHandShake()
41 .buf = string(value.buf), in SerializeSessionHandShake()
42 .version = string(value.version) in SerializeSessionHandShake()
50 extern "C" SerializedBuffer SerializePayloadProtect(const RustStruct::PayloadProtect &value) in SerializePayloadProtect() argument
53 .channelId = value.channelId, in SerializePayloadProtect()
54 .commandFlag = value in SerializePayloadProtect()
64 SerializeTransferConfig(const RustStruct::TransferConfig &value) SerializeTransferConfig() argument
87 SerializeFileMode(const RustStruct::FileMode &value) SerializeFileMode() argument
102 SerializeTransferPayload(const RustStruct::TransferPayload &value) SerializeTransferPayload() argument
116 SerializePayloadHead(RustStruct::PayloadHead &value) SerializePayloadHead() argument
127 SerializeUsbHead(RustStruct::USBHead &value) SerializeUsbHead() argument
138 SerializeUartHead(RustStruct::UartHead &value) SerializeUartHead() argument
149 ParseSessionHandShake(RustStruct::SessionHandShake &value, SerializedBuffer buf) ParseSessionHandShake() argument
166 ParsePayloadProtect(RustStruct::PayloadProtect &value, SerializedBuffer buf) ParsePayloadProtect() argument
181 ParseTransferConfig(RustStruct::TransferConfig &value, SerializedBuffer buf) ParseTransferConfig() argument
205 ParseFileMode(RustStruct::FileMode &value, SerializedBuffer buf) ParseFileMode() argument
221 ParseTransferPayload(RustStruct::TransferPayload &value, SerializedBuffer buf) ParseTransferPayload() argument
236 ParsePayloadHead(RustStruct::PayloadHead &value, SerializedBuffer buf) ParsePayloadHead() argument
244 ParseUsbHead(RustStruct::USBHead &value, SerializedBuffer buf) ParseUsbHead() argument
252 ParseUartHead(RustStruct::UartHead &value, SerializedBuffer buf) ParseUartHead() argument
[all...]
H A Dserial_struct_define.h69 static decltype(auto) get(const type &value) in get()
71 return value.*MemPtr; in get()
74 static decltype(auto) get(type &value) in get()
76 return value.*MemPtr; in get()
88 static decltype(auto) get(const type &value) in get()
90 return value.*MemPtr; in get()
93 static decltype(auto) get(type &value) in get()
95 return value.*MemPtr; in get()
109 static decltype(auto) get(const type &value) in get()
111 return value in get()
216 MakeZigzagValue(int32_t value) MakeZigzagValue() argument
221 MakeZigzagValue(int64_t value) MakeZigzagValue() argument
226 ReadZigzagValue(uint32_t value) ReadZigzagValue() argument
231 ReadZigzagValue(uint64_t value) ReadZigzagValue() argument
278 ReadByte(uint8_t &value, Reader &in) ReadByte() argument
283 WriteVarint(uint32_t value, Writer &out) WriteVarint() argument
343 ReadVarint(uint64_t &value, Reader &in) ReadVarint() argument
[all...]
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Dpt_json.h52 bool Add(const char *key, bool value) const;
53 bool Add(const char *key, int32_t value) const;
54 bool Add(const char *key, int64_t value) const;
55 bool Add(const char *key, uint32_t value) const;
56 bool Add(const char *key, double value) const;
57 bool Add(const char *key, const char *value) const;
58 bool Add(const char *key, const std::unique_ptr<PtJson> &value) const;
61 bool Push(bool value) const;
62 bool Push(int32_t value) const;
63 bool Push(int64_t value) cons
[all...]
/developtools/ace_js2bundle/ace-loader/src/lite/
H A Dlite-transform-style.js34 * @param {Object} value Preliminary compilation results of css files.
37 function transformStyle(value) {
38 const style = Function(`return ${value}`)();
78 const value = obj[key];
79 for (const styleValue of value) {
116 match: function(key, value) {
122 action: function(obj, key, value) {
123 obj[key] = value;
127 match: function(key, value) {
130 action: function(obj, key, value) {
[all...]
H A Dlite-transform-template.js21 * 4. compile events, the value of event Cannot be enclosed in double quotes;
84 match: function(key, value) {
87 action: function(staticStyle, key, value) {
88 staticStyle += `'${key}' : ${JSON.stringify(value)},`;
93 match: function(key, value) {
96 action: function(staticStyle, key, value) {
97 if (value === -1) {
98 value = 'infinite';
100 staticStyle += `'${key}' : ${JSON.stringify(value)},`;
105 match: function(key, value) {
[all...]
/developtools/hdc/src/common/
H A Dserial_struct_define.h66 static decltype(auto) get(const type &value) in get()
68 return value.*MemPtr; in get()
71 static decltype(auto) get(type &value) in get()
73 return value.*MemPtr; in get()
85 static decltype(auto) get(const type &value) in get()
87 return value.*MemPtr; in get()
90 static decltype(auto) get(type &value) in get()
92 return value.*MemPtr; in get()
106 static decltype(auto) get(const type &value) in get()
108 return value in get()
213 MakeZigzagValue(int32_t value) MakeZigzagValue() argument
218 MakeZigzagValue(int64_t value) MakeZigzagValue() argument
223 ReadZigzagValue(uint32_t value) ReadZigzagValue() argument
228 ReadZigzagValue(uint64_t value) ReadZigzagValue() argument
275 ReadByte(uint8_t &value, reader &in) ReadByte() argument
280 WriteVarint(uint32_t value, Writer &out) WriteVarint() argument
340 ReadVarint(uint64_t &value, reader &in) ReadVarint() argument
[all...]
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dpt_json.cpp42 cJSON *value = cJSON_ParseWithOpts(data.c_str(), nullptr, true); in Parse() local
43 if (value == nullptr) { in Parse()
46 return std::make_unique<PtJson>(value); in Parse()
65 bool PtJson::Add(const char *key, bool value) const in Add()
71 cJSON *node = cJSON_CreateBool(value); in Add()
85 bool PtJson::Add(const char *key, int32_t value) const in Add()
87 return Add(key, static_cast<double>(value)); in Add()
90 bool PtJson::Add(const char *key, int64_t value) const in Add()
92 return Add(key, static_cast<double>(value)); in Add()
95 bool PtJson::Add(const char *key, uint32_t value) cons
360 SetBool(const char *key, const bool& value) SetBool() argument
380 SetInt(const char *key, const int32_t& value) SetInt() argument
400 SetInt64(const char *key, const int64_t& value) SetInt64() argument
420 SetUInt(const char *key, const uint32_t& value) SetUInt() argument
440 SetUInt64(const char *key, const uint64_t& value) SetUInt64() argument
464 SetDouble(const char *key, const double& value) SetDouble() argument
488 SetString(const char *key, const std::string& value) SetString() argument
[all...]
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Dbyte_buffer.cpp127 bool ByteBuffer::GetInt64(int64_t& value) in GetInt64() argument
129 if (!GetInt64(0, value)) { in GetInt64()
137 bool ByteBuffer::GetInt64(int32_t index, int64_t& value) in GetInt64() argument
143 if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(int64_t)) != EOK) { in GetInt64()
160 bool ByteBuffer::GetInt32(int32_t& value) in GetInt32() argument
162 if (!GetInt32(0, value)) { in GetInt32()
170 bool ByteBuffer::GetInt32(int32_t index, int32_t& value) in GetInt32() argument
176 if (memcpy_s(&value, sizeof(value), (buffe in GetInt32()
183 GetUInt32(int32_t index, uint32_t& value) GetUInt32() argument
196 GetUInt32(uint32_t& value) GetUInt32() argument
206 GetUInt16(uint16_t& value) GetUInt16() argument
216 GetUInt16(int32_t index, uint16_t& value) GetUInt16() argument
229 GetInt16(int16_t& value) GetInt16() argument
239 GetInt16(int32_t index, int16_t& value) GetInt16() argument
252 GetUInt8(uint8_t& value) GetUInt8() argument
262 GetUInt8(int32_t index, uint8_t& value) GetUInt8() argument
275 GetInt8(int8_t& value) GetInt8() argument
285 GetInt8(int32_t index, int8_t& value) GetInt8() argument
298 PutInt64(int64_t value) PutInt64() argument
309 PutInt32(int32_t offset, int32_t value) PutInt32() argument
318 PutInt16(int32_t offset, int16_t value) PutInt16() argument
327 PutByte(int32_t offset, char value) PutByte() argument
365 PutInt32(int32_t value) PutInt32() argument
376 PutInt16(int16_t value) PutInt16() argument
387 PutUInt8(uint8_t value) PutUInt8() argument
398 PutUInt16(uint16_t value) PutUInt16() argument
409 PutUInt32(uint32_t value) PutUInt32() argument
429 PutByte(char value) PutByte() argument
[all...]
/developtools/ace_js2bundle/ace-loader/plugin/templater/
H A Dbind.js30 let value = initValue.toString().trim()
31 const hasExpFlag = isExp(value)
33 value = parseExp(value, functionFlag, isValue, out, nodeLoc)
35 return value
39 * @param {Object} value Hml text token information.
43 function parseExp(value, functionFlag, isValue, out, nodeLoc) {
44 const textArray = data.parseText(value)
51 checkCard(exp.value, out, nodeLoc)
53 transValue = card ? `{{${transCardArray(exp.value)}}}`
[all...]
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dbyte_buffer.h48 * 2. Set ByteBuffer from writer state to read state: limit is set to position value, position is set to zero
54 * then move the position to the next position of this data segment and set the limit value to capacity
64 DLL_EXPORT bool GetInt64(int64_t& value);
65 DLL_EXPORT bool GetInt64(int32_t index, int64_t& value);
66 DLL_EXPORT bool GetUInt32(uint32_t& value);
67 DLL_EXPORT bool GetUInt32(int32_t index, uint32_t& value);
68 DLL_EXPORT bool GetInt32(int32_t& value);
69 DLL_EXPORT bool GetInt32(int32_t index, int32_t& value);
70 DLL_EXPORT bool GetUInt16(uint16_t& value);
71 DLL_EXPORT bool GetUInt16(int32_t index, uint16_t& value);
[all...]
/developtools/ace_js2bundle/ace-loader/src/
H A DcardJson-plugin.js79 const value = element.match(/"((\s||\S)*)"/)[1];
81 const partStart = replaceSource.indexOf(value);
95 function toAddJson(assetReplace, key, value, compilation, sourceKey) {
104 assetReplace['template'] = value;
107 assetReplace['styles'] = value;
110 if (value) {
111 if (value.data) {
112 assetReplace['data'] = validateData(value.data, compilation, sourceKey);
114 if (value.actions) {
115 assetReplace['actions'] = processActions(value
[all...]
/developtools/smartperf_host/trace_streamer/src/base/sqlite_ext/
H A Dsqlite_ext_funcs.cpp25 ** Return a stdev value
37 ** called each value received during a calculation of stdev or variance
65 TSSqlValue value; in Long() local
66 value.longValue = v; in Long()
67 value.type = Type::TS_LONG; in Long()
68 return value; in Long()
73 TSSqlValue value; in Double() local
74 value.doubleValue = v; in Double()
75 value.type = Type::TS_DOUBLE; in Double()
76 return value; in Double()
81 TSSqlValue value; String() local
89 TSSqlValue value; Bytes() local
128 SqliteValueToTSSqlValue(sqlite3_value *value) SqliteValueToTSSqlValue() argument
225 auto value = SqliteValueToTSSqlValue(argv[i + 1]); BuildJson() local
263 auto value = SqliteValueToTSSqlValue(argv[i + 1]); RepeatedJsonStep() local
289 auto value = SqliteValueToTSSqlValue(argv[i]); RepeatedFieldStep() local
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
H A DSigningBlock.java26 private byte[] value; field in SigningBlock
31 * Init Signing Block type and value
34 * @param value signing value
36 public SigningBlock(int type, byte[] value) { in SigningBlock() argument
39 this.length = value.length; in SigningBlock()
40 this.value = value; in SigningBlock()
44 * Init Signing Block type and value
47 * @param value signin
50 SigningBlock(int type, byte[] value, int offset) SigningBlock() argument
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/entity/
H A DOptions.java272 * Get char value of key.
275 * @return value of key
278 Object value = this.get(key); in getChars()
279 if (value instanceof char[]) { in getChars()
280 return (char[]) value; in getChars()
286 * Get string value of key.
290 * @return string value of key
293 Object value = this.get(key); in getString()
294 if (!(value instanceof String)) { in getString()
297 return (String) value; in getString()
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
H A DUnsignedDecimalUtil.java27 * max unsigned int value
32 * max unsigned int value
66 * @param value long
68 public static void setUnsignedInt(ByteBuffer bf, long value) { in setUnsignedInt() argument
70 (byte) (value & 0xFF), in setUnsignedInt()
71 (byte) ((value >> BIT_SIZE) & 0xFF), in setUnsignedInt()
72 (byte) ((value >> DOUBLE_BIT_SIZE) & 0xFF), in setUnsignedInt()
73 (byte) ((value >> TRIPLE_BIT_SIZE) & 0xFF) in setUnsignedInt()
82 * @param value int
84 public static void setUnsignedShort(ByteBuffer bf, int value) { in setUnsignedShort() argument
[all...]
/developtools/hiperf/include/
H A Dreport_json_file.h38 void OutputJsonKey(FILE *output, const T &value) in OutputJsonKey() argument
40 if constexpr (std::is_same<T, std::string>::value) { in OutputJsonKey()
41 if (value.empty()) { in OutputJsonKey()
45 fprintf(output, "\"%s\":", value.c_str()); in OutputJsonKey()
46 } else if constexpr (std::is_same<T, std::string_view>::value) { in OutputJsonKey()
47 if (value.empty()) { in OutputJsonKey()
51 fprintf(output, "\"%s\":", value.data()); in OutputJsonKey()
52 } else if constexpr (std::is_same<typename std::decay<T>::type, char *>::value) { in OutputJsonKey() argument
53 if (value[0] == '\0') { in OutputJsonKey()
54 // same as value in OutputJsonKey()
63 OutputJsonValue(FILE *output, const T &value, bool first = true) OutputJsonValue() argument
80 onstexpr(std::is_same<typename std::decay<T>::type, char *>::value) OutputJsonValue() argument
92 OutputJsonPair(FILE *output, const K &key, const T &value, bool first = false) OutputJsonPair() argument
109 OutputJsonVectorList(FILE *output, const std::string &key, const std::vector<T> &value, bool first = false) OutputJsonVectorList() argument
133 OutputJsonMapList(FILE *output, const std::string &key, const std::map<K, V> &value, bool first = false) OutputJsonMapList() argument
157 OutputJsonMap(FILE *output, const std::string &key, const std::map<K, V> &value, bool first = false) OutputJsonMap() argument
[all...]
/developtools/smartperf_host/trace_streamer/src/filter/hi_sysevent_filter/
H A Dhi_sysevent_measure_filter.cpp103 std::string domainName = item.value(); in FillJsMessage()
106 std::string eventName = item.value(); in FillJsMessage()
109 jsMessage.type = item.value(); in FillJsMessage()
111 jsMessage.timeStamp = item.value(); in FillJsMessage()
114 jsMessage.timeZone = item.value(); in FillJsMessage()
116 jsMessage.pid = item.value(); in FillJsMessage()
118 jsMessage.tid = item.value(); in FillJsMessage()
120 jsMessage.uid = item.value(); in FillJsMessage()
122 jsMessage.eventId = item.value(); in FillJsMessage()
124 jsMessage.info = item.value(); in FillJsMessage()
206 auto value = jData.value[*itor]; NoArrayDataParse() local
220 auto value = jData.value[*itor][i]; ArrayDataParse() local
236 AppendStringValue(nlohmann::json &value, uint64_t hiSysEventLineId, DataIndex eventSourceIndex, DataIndex keyIndex, uint64_t timeStamp) AppendStringValue() argument
257 auto value = jData.value[i]; CommonDataParser() local
[all...]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/pt_json_test/
H A Dpt_json_test.cpp568 int64_t value = 100; in HWTEST_F() local
569 bool ret = ptJson.Add("adda", value); in HWTEST_F()
583 uint32_t value = 100; in HWTEST_F() local
584 bool ret = ptJson.Add("addb", value); in HWTEST_F()
598 double value = 100.0; in HWTEST_F() local
599 bool ret = ptJson.Add(nullptr, value); in HWTEST_F()
613 bool ret = ptJson.Add(nullptr, "value"); in HWTEST_F()
634 std::unique_ptr<AppPackingTool::PtJson> value = std::make_unique<AppPackingTool::PtJson>(); in HWTEST_F() local
635 bool ret = ptJson.Add(nullptr, value); in HWTEST_F()
638 ret = ptJson.Add("aaa", value); in HWTEST_F()
656 int64_t value = 100; HWTEST_F() local
671 uint32_t value = 100; HWTEST_F() local
701 std::unique_ptr<AppPackingTool::PtJson> value = nullptr; HWTEST_F() local
756 int64_t value = 100; HWTEST_F() local
770 uint32_t value = 100; HWTEST_F() local
784 uint64_t value = 100; HWTEST_F() local
798 double value = 100; HWTEST_F() local
826 bool * value = new bool(); HWTEST_F() local
846 bool value = true; HWTEST_F() local
861 int32_t value = 100; HWTEST_F() local
876 int32_t value = 100; HWTEST_F() local
891 uint32_t value = 100; HWTEST_F() local
906 uint32_t value = 100; HWTEST_F() local
921 double *value = new double(); HWTEST_F() local
941 double value = 100.0; HWTEST_F() local
956 std::string *value = new std::string(); HWTEST_F() local
976 std::string value = "value"; HWTEST_F() local
995 std::unique_ptr<AppPackingTool::PtJson> *value = new std::unique_ptr<AppPackingTool::PtJson>(); HWTEST_F() local
1010 std::unique_ptr<AppPackingTool::PtJson> *value = new std::unique_ptr<AppPackingTool::PtJson>(); HWTEST_F() local
1029 std::unique_ptr<AppPackingTool::PtJson> *value = new std::unique_ptr<AppPackingTool::PtJson>(); HWTEST_F() local
[all...]
/developtools/profiler/device/services/profiler_service/test/unittest/
H A Dplugin_service_stubs.h25 void SetCreateResult(bool value);
28 void SetStartResult(bool value);
31 void SetStopResult(bool value);
34 void SetDestroyResult(bool value);
37 void SetAddResult(bool value);
40 void SetRemoveResult(bool value);
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/entity/
H A DProFileSigned.java27 private final String value; field in ProFileSigned
29 ProFileSigned(String value) { in ProFileSigned() argument
30 this.value = value; in ProFileSigned()
34 return value; in getValue()
H A DSignCode.java27 private final String value; field in SignCode
29 SignCode(String value) { in SignCode() argument
30 this.value = value; in SignCode()
34 return value; in getValue()
H A DMode.java27 private final String value; field in Mode
29 Mode(String value) { in Mode() argument
30 this.value = value; in Mode()
34 return value; in getValue()
H A DInForm.java28 private final String value; field in InForm
30 InForm(String value) { in InForm() argument
31 this.value = value; in InForm()
35 return value; in getValue()
/developtools/profiler/device/base/src/
H A Dposix_semaphore.cpp23 PosixSemaphore::PosixSemaphore(unsigned int value) in PosixSemaphore() argument
25 sem_init(&sem_, 0, value); in PosixSemaphore()
61 int value = 0; in Value() local
62 sem_getvalue(&sem_, &value); in Value()
63 return value; in Value()
66 SemaphorePtr PosixSemaphoreFactory::Create(unsigned int value) in Create() argument
68 return std::make_shared<PosixSemaphore>(value); in Create()
/developtools/smartperf_host/trace_streamer/src/base/
H A Dstring_to_numerical.h29 inline std::string number(uint64_t value, int32_t base = INTEGER_RADIX_TYPE_DEC) in number() argument
33 ss << std::dec << value; in number() local
35 ss << std::hex << value; in number() local
53 T value; in StrToInt() local
55 value = static_cast<T>(std::strtoul(str.c_str(), &endPtr, base)); in StrToInt()
57 value = static_cast<T>(std::strtol(str.c_str(), &endPtr, base)); in StrToInt()
59 value = static_cast<T>(std::strtoull(str.c_str(), &endPtr, base)); in StrToInt()
61 value = static_cast<T>(std::strtoll(str.c_str(), &endPtr, base)); in StrToInt()
64 return std::make_optional(value); in StrToInt()
67 TS_LOGD("Illegal value in StrToInt()
76 double value = std::strtod(str.c_str(), &end); StrToDouble() local
[all...]

Completed in 10 milliseconds

12345678910>>...13