Lines Matching +full:path +full:- +full:map

1 //===-- TraceIntelPTGDBRemotePackets.cpp ------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 bool fromJSON(const json::Value &value, JSONUINT64 &uint64, Path path) { in fromJSON() argument
37 if (!val->getAsInteger(/*radix=*/0, uint64.value)) in fromJSON()
39 path.report("invalid string number"); in fromJSON()
41 path.report("invalid number or string number"); in fromJSON()
46 Path path) { in fromJSON() argument
47 ObjectMapper o(value, path); in fromJSON()
48 if (!(o && fromJSON(value, (TraceStartRequest &)packet, path) && in fromJSON()
49 o.map("enableTsc", packet.enable_tsc) && in fromJSON()
50 o.map("psbPeriod", packet.psb_period) && in fromJSON()
51 o.map("iptTraceSize", packet.ipt_trace_size))) in fromJSON()
55 if (!o.map("processBufferSizeLimit", packet.process_buffer_size_limit) || in fromJSON()
56 !o.map("perCpuTracing", packet.per_cpu_tracing) || in fromJSON()
57 !o.map("disableCgroupTracing", packet.disable_cgroup_filtering)) in fromJSON()
77 uint64_t rem_flag = (((uint64_t)1 << time_shift) - 1); in ToNanos()
83 uint64_t time = nanos - time_zero.value; in ToTSC()
98 json::Path path) { in fromJSON() argument
99 ObjectMapper o(value, path); in fromJSON()
101 if (!(o && o.map("timeMult", time_mult) && o.map("timeShift", time_shift) && in fromJSON()
102 o.map("timeZero", packet.time_zero))) in fromJSON()
110 json::Path path) { in fromJSON() argument
111 ObjectMapper o(value, path); in fromJSON()
112 return o && fromJSON(value, (TraceGetStateResponse &)packet, path) && in fromJSON()
113 o.map("tscPerfZeroConversion", packet.tsc_perf_zero_conversion) && in fromJSON()
114 o.map("usingCgroupFiltering", packet.using_cgroup_filtering); in fromJSON()