Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 25 of 150) sorted by relevance

123456

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/
H A Dstringify.hpp21 void stringify(Writer& writer, NullValue) { in stringify() argument
22 writer.Null(); in stringify()
26 void stringify(Writer& writer, bool v) { in stringify() argument
27 writer.Bool(v); in stringify()
31 void stringify(Writer& writer, uint64_t v) { in stringify() argument
32 writer.Uint64(v); in stringify()
36 void stringify(Writer& writer, int64_t v) { in stringify() argument
37 writer.Int64(v); in stringify()
41 void stringify(Writer& writer, double v) { in stringify() argument
42 writer.Double(v); in stringify()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Dgroup_by_layout.cpp18 rapidjson::Writer<rapidjson::StringBuffer> writer(s); in layoutKey() local
20 writer.StartArray(); in layoutKey()
21 writer.Uint(static_cast<uint32_t>(layer.type)); in layoutKey()
22 writer.String(layer.baseImpl->source); in layoutKey()
23 writer.String(layer.baseImpl->sourceLayer); in layoutKey()
24 writer.Double(layer.baseImpl->minZoom); in layoutKey()
25 writer.Double(layer.baseImpl->maxZoom); in layoutKey()
26 writer.Uint(static_cast<uint32_t>(layer.baseImpl->visibility)); in layoutKey()
27 stringify(writer, layer.baseImpl->filter); in layoutKey()
28 layer.baseImpl->stringifyLayout(writer); in layoutKey()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/base/test/
H A Dmpp_bit_test.c59 void proc_bit_ops(MppWriteCtx *writer, BitOps *ops) in proc_bit_ops() argument
63 mpp_writer_put_raw_bits(writer, ops->val, ops->len); in proc_bit_ops()
66 mpp_writer_put_bits(writer, ops->val, ops->len); in proc_bit_ops()
69 mpp_writer_put_ue(writer, ops->val); in proc_bit_ops()
72 mpp_writer_put_ue(writer, ops->val); in proc_bit_ops()
75 mpp_writer_trailing(writer); in proc_bit_ops()
88 MppWriteCtx writer; in main() local
102 mpp_writer_init(&writer, data, size); in main()
105 proc_bit_ops(&writer, &bit_ops[i]); in main()
107 len_byte = writer.byte_cnt; in main()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/
H A Dparsing.py34 def __init__(self, writer, paths, options): argument
55 parse_paths (writer, self, paths)
80 self.compile(writer)
85 idle = self.crop (writer, options.crop_after)
101 self.proc_tree = ProcessTree(writer, self.kernel, self.ps_stats,
108 self.kernel_tree = ProcessTree(writer, self.kernel, None, 0,
128 def compile(self, writer): argument
174 def crop(self, writer, crop_after): argument
201 writer.info("selected proc '%s' from list (start %d)"
205 writer.warn("no selected crop proc '%s' in list" % crop_after)
[all …]
H A Dsamples.py93 def __init__(self, writer, process_map, sample_count, sample_period, start_time, end_time): argument
99 writer.info ("%d samples, avg. sample length %f" % (self.sample_count, self.sample_period))
100 writer.info ("process list size: %d" % len (self.process_map.values()))
103 def __init__(self, writer, pid, cmd, ppid, start_time): argument
104 self.writer = writer
125 def split(self, writer, pid, cmd, ppid, start_time): argument
126 split = Process (writer, pid, cmd, ppid, start_time)
163 … self.writer.warn("Missing CONFIG_PROC_EVENTS: no parent for pid '%i' ('%s') with ppid '%i'" \
H A Dbatch.py20 def render(writer, trace, app_options, filename): argument
34 writer.error ("Unknown format '%s'." % fmt)
45 writer.status ("bootchart written to '%s'" % filename)
H A Dprocess_tree.py40 def __init__(self, writer, kernel, psstats, sample_period, argument
43 self.writer = writer
68 writer.status("merged %i logger processes" % removed)
75writer.status("pruned %i process, %i exploders, %i threads, and %i runs" % (p_processes, p_explode…
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dparser_test.py18 writer = main._mk_writer(options) variable
30 trace = parsing.Trace(writer, args, options)
31 state = parsing.parse_file(writer, trace, self.mk_fname('header'))
36 trace = parsing.Trace(writer, args, options)
37 state = parsing.parse_file(writer, trace, self.mk_fname('proc_diskstats.log'))
41 trace = parsing.Trace(writer, args, options)
42 state = parsing.parse_file(writer, trace, self.mk_fname('proc_ps.log'))
63 trace = parsing.Trace(writer, args, options)
64 state_with_headers = parsing.parse_file(writer, trace, self.mk_fname('header'))
66 …samples = parsing.parse_file(writer, state_with_headers, self.mk_fname('proc_diskstats.log')).disk…
[all …]
H A Dprocess_tree_test.py22 writer = main._mk_writer(options)
23 trace = parsing.Trace(writer, args, options)
25 parsing.parse_file(writer, trace, self.mk_fname('proc_ps.log'))
26 trace.compile(writer)
27 self.processtree = process_tree.ProcessTree(writer, None, trace.ps_stats, \
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dring-buffer-design.rst28 - the task that writes into the ring buffer (same as writer)
30 writer
81 but a writer may interrupt another writer, but it must finish writing
82 before the previous writer may continue. This is very important to the
94 This is very much like a writer being preempted by an interrupt and
99 cannot preempt/interrupt a writer, but it may read/consume from the
100 buffer at the same time as a writer is writing, but the reader must be
102 and can be preempted by a writer.
104 A writer can preempt a reader, but a reader cannot preempt a writer.
106 as a writer.
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/asyncrpc/
H A Dclient.py19 self.writer = None
50 self.writer.write(s.encode("utf-8"))
51 await self.writer.drain()
54 if self.reader is None or self.writer is None:
55 (self.reader, self.writer) = await self._connect_sock()
61 if self.writer is not None:
62 self.writer.close()
63 self.writer = None
104 self.writer.write(c.encode("utf-8"))
105 await self.writer.drain()
H A Dserv.py27 def __init__(self, reader, writer, proto_name, logger): argument
29 self.writer = writer
40 self.addr = self.writer.get_extra_info('peername')
75 await self.writer.drain()
79 self.writer.close()
92 self.writer.write(c.encode('utf-8'))
187 def accept_client(self, reader, writer): argument
190 async def handle_client(self, reader, writer): argument
193 client = self.accept_client(reader, writer)
199 writer.close()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/expression/
H A Dvalue.cpp37 void writeJSON(rapidjson::Writer<rapidjson::StringBuffer>& writer, const Value& value) { in writeJSON() argument
39 [&] (const NullValue&) { writer.Null(); }, in writeJSON()
40 [&] (bool b) { writer.Bool(b); }, in writeJSON()
43 f == std::floor(f) ? writer.Int(f) : writer.Double(f); in writeJSON()
45 [&] (const std::string& s) { writer.String(s); }, in writeJSON()
46 [&] (const Color& c) { writer.String(c.stringify()); }, in writeJSON()
53 writer.StartArray(); in writeJSON()
55 writeJSON(writer, item); in writeJSON()
57 writer.EndArray(); in writeJSON()
60 writer.StartObject(); in writeJSON()
[all …]
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dseqlock.rst8 Sequence counters are a reader-writer consistency mechanism with
9 lockless readers (read-only retry loops), and no writer starvation. They
30 interrupted writer. If that reader belongs to a real-time scheduling
34 as the writer can invalidate a pointer that the reader is following.
53 requirements of writer serialization and non-preemptibility, use
97 sequence counters associate the lock used for writer serialization at
165 embedded spinlock for writer serialization and non-preemptibility.
195 1. Normal Sequence readers which never block a writer but they must
196 retry if a writer is in progress by detecting change in the sequence
206 2. Locking readers which will wait if a writer or another locking reader
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu-rwsem.h18 struct rcuwait writer; member
42 .writer = __RCUWAIT_INITIALIZER(name.writer), \
131 rcuwait_wake_up(&sem->writer); in percpu_up_read()
/OK3568_Linux_fs/buildroot/package/python-ws4py/
H A D0001-Adjust-ws4py-for-Python-3.7-syntax.patch24 yield from self.proto.writer.drain()
25 self.proto.writer.close()
33 self.proto.writer.write(data)
34 yield from self.proto.writer.drain()
/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Dregression4.c60 pthread_t reader, writer; in regression4_test() local
68 pthread_create(&writer, NULL, writer_fn, NULL)) { in regression4_test()
73 if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) { in regression4_test()
/OK3568_Linux_fs/kernel/scripts/
H A Djobserver-exec27 reader, writer = [int(x) for x in fds.split(",", 1)] variable
44 os.write(writer, jobs)
64 os.write(writer, jobs)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/server/
H A Dprocess.py138 self.command_channel_reply.writer.close()
139 self.event_writer.writer.close()
175 writer = ConnectionWriter(ui_fds[0])
176 self.event_handle = bb.event.register_UIHhandler(writer, True)
177 self.event_writer = writer
185 writer = ConnectionWriter(ui_fds[2])
186 self.command_channel_reply = writer
547 writer = ConnectionWriter(readypipeinfd)
553 writer.send("r")
554 writer.close()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Ddecompress_unlzma.c277 struct writer { struct
292 static inline size_t INIT get_pos(struct writer *wr) in get_pos() argument
298 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte()
316 static inline int INIT write_byte(struct writer *wr, uint8_t byte) in write_byte()
330 static inline int INIT copy_byte(struct writer *wr, uint32_t offs) in copy_byte()
335 static inline int INIT copy_bytes(struct writer *wr, in copy_bytes()
347 static inline int INIT process_bit0(struct writer *wr, struct rc *rc, in process_bit0()
391 static inline int INIT process_bit1(struct writer *wr, struct rc *rc, in process_bit1()
553 struct writer wr; in unlzma()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Ddata-convert-bt.c60 struct bt_ctf_writer *writer; member
88 struct ctf_writer writer; member
698 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create()
797 struct ctf_writer *cw = &c->writer; in process_sample_event()
874 struct ctf_writer *cw = &c->writer; \
1367 struct bt_ctf_writer *writer = cw->writer; in ctf_writer__setup_env() local
1371 if (bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in ctf_writer__setup_env()
1496 bt_ctf_writer_put(cw->writer); in ctf_writer__cleanup()
1505 struct bt_ctf_writer *writer; in ctf_writer__init() local
1512 writer = bt_ctf_writer_create(path); in ctf_writer__init()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/
H A Dproperties.hpp201 void stringify(Writer& writer) const { in stringify()
202 writer.StartObject(); in stringify()
203 util::ignore({ (conversion::stringify<Ps>(writer, this->template get<Ps>()), 0)... }); in stringify()
204 writer.EndObject(); in stringify()
/OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/selinux/android-tools/android-tools/core-debian/
H A Dadd-missing-headers.patch11 --- a/fs_mgr/liblp/writer.cpp
12 +++ b/fs_mgr/liblp/writer.cpp
/OK3568_Linux_fs/yocto/poky/bitbake/lib/hashserv/
H A Dserver.py168 def __init__(self, reader, writer, db, request_stats, backfill_queue, upstream, read_only): argument
169 super().__init__(reader, writer, 'OEHASHEQUIV', logger)
340 self.writer.write('ok\n'.encode('utf-8'))
363 self.writer.write(msg)
368 await self.writer.drain()
526 def accept_client(self, reader, writer): argument
527 …return ServerClient(reader, writer, self.db, self.request_stats, self.backfill_queue, self.upstrea…
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dpercpu-rwsem.c36 rcuwait_init(&sem->writer); in __percpu_init_rwsem()
93 rcuwait_wake_up(&sem->writer); in __percpu_down_read_trylock()
254 rcuwait_wait_event(&sem->writer, readers_active_check(sem), TASK_UNINTERRUPTIBLE); in percpu_down_write()

123456