Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dencode_decode.c51 #define DEREF(msg, ofs, type) *(type*)(((uint8_t *)msg) + ofs) argument
54 static const void* newhandlerdata(upb_handlers* h, uint32_t ofs) { in newhandlerdata() argument
56 *hd_ofs = ofs; in newhandlerdata()
62 size_t ofs; member
67 static const void *newsubmsghandlerdata(upb_handlers* h, uint32_t ofs, in newsubmsghandlerdata() argument
70 hd->ofs = ofs; in newsubmsghandlerdata()
77 size_t ofs; // union data slot member
84 uint32_t ofs, in newoneofhandlerdata() argument
88 hd->ofs = ofs; in newoneofhandlerdata()
110 const size_t *ofs = hd; in startseq_handler() local
[all …]
Dupb.h3954 size_t ofs);
4076 const char *buf, size_t ofs);
4685 size_t ofs) {
4687 h->objofs_ = ofs;
5642 inline void BufferHandle::SetBuffer(const char* buf, size_t ofs) {
5643 upb_bufhandle_setbuf(this, buf, ofs);
6358 static bool Set(Handlers *h, const FieldDef *f, size_t ofs, int32_t hasbit);
6383 inline bool Shim::Set(Handlers* h, const FieldDef* f, size_t ofs,
6385 return upb_shim_set(h, f, ofs, hasbit);
7795 uint32_t ofs; /* PC offset of method. */
[all …]
Dupb.c7343 static void setofs(uint32_t *instruction, int32_t ofs) { in setofs() argument
7345 *instruction = getop(*instruction) | ofs << 8; in setofs()
7347 *instruction = (*instruction & ~0xff00) | ((ofs & 0xff) << 8); in setofs()
7349 assert(getofs(*instruction) == ofs); /* Would fail in cases of overflow. */ in setofs()
7365 int ofs = getofs(*codep); in label() local
7367 codep = ofs ? codep + ofs : NULL; in label()
7402 int ofs = pcofs(c); in put32() local
7409 c->pc = g->bytecode + ofs; in put32()
7466 put32(c, op | (method->code_base.ofs - (pcofs(c) + 1)) << 8); in putop()
7650 uint64_t ofs; in repack() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
DConformanceJavaLite.java9 int ofs = 0; in readFromStdin() local
11 int read = System.in.read(buf, ofs, len); in readFromStdin()
15 ofs += read; in readFromStdin()
DConformanceJava.java12 int ofs = 0; in readFromStdin() local
14 int read = System.in.read(buf, ofs, len); in readFromStdin()
18 ofs += read; in readFromStdin()
Dconformance_cpp.cc65 size_t ofs = 0; in CheckedRead() local
67 ssize_t bytes_read = read(fd, (char*)buf + ofs, len); in CheckedRead()
76 ofs += bytes_read; in CheckedRead()
Dconformance_test_runner.cc204 size_t ofs = 0; in TryRead() local
206 ssize_t bytes_read = read(fd, (char*)buf + ofs, len); in TryRead()
220 ofs += bytes_read; in TryRead()
/frameworks/rs/rsov/compiler/spirit/
Dfile_utils.h57 std::ofstream ofs(filename, std::ios::out); in writeFile()
59 ofs.write(reinterpret_cast<const char *>(data.data()), in writeFile()
/frameworks/av/media/libnblog/
DReportPerformance.cpp276 std::ofstream ofs; in writeToFile() local
277 ofs.open(outlierName.str(), append ? std::ios::app : std::ios::trunc); in writeToFile()
278 if (!ofs.is_open()) { in writeToFile()
285 ofs << outlier.first << ", " << outlier.second << "\n"; in writeToFile()
287 ofs.close(); in writeToFile()
/frameworks/rs/rsov/driver/
DrsovScript.cpp72 std::ofstream ofs(filename, std::ios::binary); in writeBytes() local
73 ofs.write(bytes, size); in writeBytes()
74 ofs.close(); in writeBytes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c6670 static void setofs(uint32_t *instruction, int32_t ofs) { in setofs() argument
6672 *instruction = getop(*instruction) | ofs << 8; in setofs()
6674 *instruction = (*instruction & ~0xff00) | ((ofs & 0xff) << 8); in setofs()
6676 assert(getofs(*instruction) == ofs); /* Would fail in cases of overflow. */ in setofs()
6692 int ofs = getofs(*codep); in label() local
6694 codep = ofs ? codep + ofs : NULL; in label()
6729 int ofs = pcofs(c); in put32() local
6735 c->pc = g->bytecode + ofs; in put32()
6792 put32(c, op | (method->code_base.ofs - (pcofs(c) + 1)) << 8); in putop()
6976 uint64_t ofs; in repack() local
[all …]
Dupb.h3258 size_t ofs);
3380 const char *buf, size_t ofs);
3989 size_t ofs) { in upb_bufhandle_setbuf() argument
3991 h->objofs_ = ofs; in upb_bufhandle_setbuf()
4946 inline void BufferHandle::SetBuffer(const char* buf, size_t ofs) {
4947 upb_bufhandle_setbuf(this, buf, ofs);
5923 static bool Set(Handlers *h, const FieldDef *f, size_t ofs, int32_t hasbit);
5948 inline bool Shim::Set(Handlers* h, const FieldDef* f, size_t ofs,
5950 return upb_shim_set(h, f, ofs, hasbit);
7492 uint32_t ofs; /* PC offset of method. */
[all …]