| /developtools/profiler/hiebpf/src/ |
| D | bpf_event_receiver.cpp | 90 void *dest = file->Reserve(tlvItemSize); in ReceiveFSTraceEvent() local 91 if (dest == nullptr) { in ReceiveFSTraceEvent() 95 if (EncodeFSTraceEvent(&cmplt_event, dest, tlvItemSize) != 0) { in ReceiveFSTraceEvent() 97 file->Discard(dest); in ReceiveFSTraceEvent() 100 file->Submit(dest); in ReceiveFSTraceEvent() 114 void *dest = file->Reserve(tlvItemSize); in ReceivePFTraceEvent() local 115 if (dest == nullptr) { in ReceivePFTraceEvent() 119 if (EncodePFTraceEvent(&cmplt_event, dest, tlvItemSize) != 0) { in ReceivePFTraceEvent() 121 file->Discard(dest); in ReceivePFTraceEvent() 124 file->Submit(dest); in ReceivePFTraceEvent() [all …]
|
| D | ringbuffer.cpp | 142 std::size_t RingBuffer::Get(char* dest, const std::size_t len) in Get() argument 144 if (dest == nullptr) { in Get() 157 if (memcpy_s(dest, len, buffer_ + head_, bufSize_ - head_) != EOK) { in Get() 160 …if (memcpy_s(dest + bufSize_ - head_, len + head_ - bufSize_, buffer_, len + head_ - bufSize_) != … in Get() 164 if (memcpy_s(dest, len, buffer_ + head_, len) != EOK) { in Get()
|
| /developtools/profiler/host/smartperf/client/client_command/ |
| D | client_control.cpp | 37 char dest[arraySize] = {0}; in SocketStart() local 40 dest[i] = buffer[i]; in SocketStart() 42 dest[i] = '\0'; in SocketStart() 43 if (strcmp(dest, "start::True") == 0) { in SocketStart() 58 char dest[arraySize] = {0}; in SocketStop() local 61 dest[i] = buffer[i]; in SocketStop() 63 dest[i] = '\0'; in SocketStop() 64 if (strcmp(dest, "stop::True") == 0) { in SocketStop()
|
| /developtools/bytrace/interfaces/kits/js/napi/ |
| D | bytrace_napi_common.cpp | 56 void GetStringParam(const napi_env& env, const napi_value& value, std::string& dest) in GetStringParam() argument 63 dest = std::string {buf}; in GetStringParam() 66 bool ParseStringParam(const napi_env& env, const napi_value& value, std::string& dest) in ParseStringParam() argument 70 GetStringParam(env, value, dest); in ParseStringParam() 76 dest = std::to_string(destI64); in ParseStringParam() 81 dest = "null"; in ParseStringParam() 85 dest = "undefined"; in ParseStringParam() 91 bool ParseInt32Param(const napi_env& env, const napi_value& value, int& dest) in ParseInt32Param() argument 96 napi_get_value_int32(env, value, &dest); in ParseInt32Param() 100 bool ParseInt64Param(const napi_env& env, const napi_value& value, int64_t& dest) in ParseInt64Param() argument [all …]
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/common/ |
| D | process_project_config.ts | 57 dest: projectConfig.buildPath 68 dest: path.resolve(projectConfig.buildPath, BUILD_SHARE_PATH), 75 dest: projectConfig.buildPath 80 dest: projectConfig.buildPath 88 dest: path.resolve(__dirname, projectConfig.cachePath)
|
| /developtools/profiler/hiebpf/include/ |
| D | ringbuffer.h | 66 char *dest = reinterpret_cast<char*>(var); in Peek() local 67 if (dest == nullptr) { in Peek() 80 int ret = memcpy_s(dest, len, buffer_ + head_, bufSize_ - head_); in Peek() 84 … ret = memcpy_s(dest + bufSize_ - head_, len + head_ - bufSize_, buffer_, len + head_ - bufSize_); in Peek() 89 if (memcpy_s(dest, len, buffer_ + head_, len) != EOK) { in Peek() 98 std::size_t Get(char* dest, const std::size_t len);
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | hiebpf_data_file_test.cpp | 117 void *dest = hiebpfDataFile.Reserve(1); variable 118 EXPECT_TRUE(dest != nullptr); 119 hiebpfDataFile.Discard(dest);
|
| /developtools/hdc/scripts/ |
| D | hdc_hash_gen.py | 97 parser.add_argument('-f', dest='hdc_file', required=True, type=str, 99 parser.add_argument('-i', dest='input_dir', required=True, type=str, 101 parser.add_argument('-o', dest='output_dir', required=True, type=str,
|
| /developtools/hdc/src/host/ |
| D | host_tcp.cpp | 142 struct sockaddr_in dest; in ConnectDaemon() local 143 uv_ip4_addr(ip, port, &dest); in ConnectDaemon() 152 uv_tcp_connect(conn, (uv_tcp_t *)&hSession->hWorkTCP, (const struct sockaddr *)&dest, Connect); in ConnectDaemon()
|
| D | client.cpp | 377 struct sockaddr_in6 dest; in ConnectServerForClient() local 378 uv_ip6_addr(ip, port, &dest); in ConnectServerForClient() 379 … uv_tcp_connect(conn, (uv_tcp_t *)&channel->hWorkTCP, (const struct sockaddr *)&dest, Connect); in ConnectServerForClient()
|
| /developtools/profiler/device/plugins/ftrace_plugin/tools/ |
| D | ftrace_proto_generator.py | 192 dest="allow_list", 198 "-e", dest="events_dir", required=True, type=str, help="event formats directory" 202 dest="output_dir",
|
| D | refresh_device_kernel_code.py | 34 "-v", dest="version", required=True, type=str, help="device kernel version"
|
| /developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/ |
| D | basic_tool.py | 45 def translate_str_unit(x: str, dest: str, prefix: str = "~") -> float: 61 return round(x*(trans_dict.get(src_unit)/trans_dict.get(dest)), 2)
|
| /developtools/integration_verification/tools/rom_ram_analyzer/standard/ |
| D | rom_analyzer.py | 102 dest: List = unit.get("dest") 103 if not dest: 125 for target in dest:
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | utilities.h | 252 size_t inline CopyFromBufferAndMove(S *&buffer, T *dest, size_t size = 0) 257 if (memcpy_s(dest, size, buffer, size) != EOK) {
|
| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/test/ |
| D | BUILD.gn | 82 # this is the dest for ohos.build
|
| /developtools/hiperf/include/ |
| D | utilities.h | 260 size_t inline CopyFromBufferAndMove(S *&buffer, T *dest, size_t size = 0) 265 if (memcpy_s(dest, size, buffer, size) != EOK) {
|
| D | perf_events.h | 521 void GetRecordFieldFromMmap(MmapFd &mmap, void *dest, size_t pos, size_t size);
|
| /developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/ |
| D | ftrace_cpp_generator.py | 836 dest="allow_list", 842 "-e", dest="events_dir", required=True, type=str, help="event formats directory" 846 dest="parser_out", 853 dest="formatter_out",
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 532 int *dest = new int; variable 534 EXPECT_EQ(CopyFromBufferAndMove(srcStr, dest, 4), 4u);
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | utilities_test.cpp | 527 int *dest = new int; variable 529 EXPECT_EQ(CopyFromBufferAndMove(srcStr, dest, 4), 4u);
|
| /developtools/hiperf/src/ |
| D | perf_events.cpp | 1250 void PerfEvents::GetRecordFieldFromMmap(MmapFd &mmap, void *dest, size_t pos, size_t size) in GetRecordFieldFromMmap() argument 1255 if (memcpy_s(dest, copySize, mmap.buf + pos, copySize) != 0) { in GetRecordFieldFromMmap() 1256 HLOGEP("memcpy_s %p to %p failed. size %zd", mmap.buf + pos, dest, copySize); in GetRecordFieldFromMmap() 1260 if (memcpy_s(static_cast<uint8_t *>(dest) + copySize, size, mmap.buf, size) != 0) { in GetRecordFieldFromMmap()
|
| /developtools/smartperf_host/trace_streamer/test/ |
| D | BUILD.gn | 189 # this is the dest for ohos.build
|
| /developtools/packing_tool/adapter/ohos/ |
| D | Compressor.java | 1190 private void copyFileSafely(String source, String dest) { in copyFileSafely() argument 1193 File destFile = new File(dest); in copyFileSafely() 2255 String dest = matcher.replaceAll(""); in infoSpecialProcess() local 2256 builder.append(dest); in infoSpecialProcess() 2311 String dest = matcher.replaceAll(""); in jsonSpecialProcess() local 2312 builder.append(dest); in jsonSpecialProcess()
|
| /developtools/smartperf_host/trace_streamer/test/unittest/htrace/native_memory/ |
| D | native_hook_parser_test.cpp | 259 bool IsEqual(T src, T dest, std::string logStr) in IsEqual() argument 261 if (src != dest) { in IsEqual() 262 std::cout << logStr << ": src = " << src << ", dest = " << dest << std::endl; in IsEqual()
|