Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Ddef.c166 upb_def **defs = emalloc(sizeof(upb_def *) * num); in PHP_METHOD() local
172 defs[i] = (upb_def *)desc->msgdef; in PHP_METHOD()
173 validate_msgdef((const upb_msgdef *)defs[i++]); in PHP_METHOD()
176 CHECK_UPB(upb_symtab_add(self->symtab, (upb_def **)defs, num, NULL, &status), in PHP_METHOD()
186 FREE(defs); in PHP_METHOD()
Dupb.c319 bool upb_def_freeze(upb_def *const* defs, int n, upb_status *s) { in upb_def_freeze() argument
328 upb_def *def = defs[i]; in upb_def_freeze()
349 upb_msgdef *m = upb_dyncast_msgdef_mutable(defs[i]); in upb_def_freeze()
350 upb_enumdef *e = upb_dyncast_enumdef_mutable(defs[i]); in upb_def_freeze()
366 ret = upb_refcounted_freeze((upb_refcounted * const *)defs, n, s, maxdepth); in upb_def_freeze()
372 defs[i]->came_from_user = false; in upb_def_freeze()
3776 bool upb_symtab_add(upb_symtab *s, upb_def *const*defs, int n, void *ref_donor, in upb_symtab_add() argument
3792 upb_def *def = defs[i]; in upb_symtab_add()
3835 upb_def *def = defs[i]; in upb_symtab_add()
5837 upb_def **defs; member
[all …]
Dupb.h1330 static bool Freeze(Def* const* defs, int n, Status* status);
1331 static bool Freeze(const std::vector<Def*>& defs, Status* status);
1350 bool upb_def_freeze(upb_def *const *defs, int n, upb_status *s);
2463 inline bool Def::Freeze(Def* const* defs, int n, Status* status) { in Freeze() argument
2464 return upb_def_freeze(defs, n, status); in Freeze()
2466 inline bool Def::Freeze(const std::vector<Def*>& defs, Status* status) { in Freeze() argument
2467 return upb_def_freeze((Def* const*)&defs[0], defs.size(), status); in Freeze()
6069 bool Add(Def*const* defs, int n, void* ref_donor, upb_status* status);
6071 bool Add(const std::vector<Def*>& defs, void *owner, Status* status) {
6072 return Add((Def*const*)&defs[0], defs.size(), owner, status);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Ddefs.c1622 xfree(self->defs); in Builder_free()
1639 self->defs = NULL; in Builder_alloc()
1739 REALLOC_N(self->defs, upb_def*, RARRAY_LEN(self->pending_list)); in Builder_finalize_to_pool()
1744 self->defs[i] = (upb_def*)ruby_to_Descriptor(def_rb)->msgdef; in Builder_finalize_to_pool()
1745 validate_msgdef((const upb_msgdef*)self->defs[i]); in Builder_finalize_to_pool()
1747 self->defs[i] = (upb_def*)ruby_to_EnumDescriptor(def_rb)->enumdef; in Builder_finalize_to_pool()
1748 validate_enumdef((const upb_enumdef*)self->defs[i]); in Builder_finalize_to_pool()
1752 CHECK_UPB(upb_symtab_add(pool->symtab, (upb_def**)self->defs, in Builder_finalize_to_pool()
1758 add_def_obj(self->defs[i], def_rb); in Builder_finalize_to_pool()
Dupb.c373 bool _upb_def_validate(upb_def *const*defs, size_t n, upb_status *s) { in _upb_def_validate() argument
379 upb_def *def = defs[i]; in _upb_def_validate()
400 upb_def *def = defs[i]; in _upb_def_validate()
417 upb_def *def = defs[i]; in _upb_def_validate()
424 bool upb_def_freeze(upb_def *const* defs, size_t n, upb_status *s) { in upb_def_freeze() argument
429 if (!_upb_def_validate(defs, n, s)) { in upb_def_freeze()
435 return upb_refcounted_freeze((upb_refcounted *const*)defs, n, s, maxdepth); in upb_def_freeze()
1945 upb_inttable_uninit(&f->defs); in freefiledef()
1970 if (!upb_inttable_init(&f->defs, UPB_CTYPE_CONSTPTR)) { in upb_filedef_new()
1982 upb_inttable_uninit(&f->defs); in upb_filedef_new()
[all …]
Dupb.h1737 static bool Freeze(Def* const* defs, size_t n, Status* status);
1738 static bool Freeze(const std::vector<Def*>& defs, Status* status);
1759 bool upb_def_freeze(upb_def *const *defs, size_t n, upb_status *s);
1762 bool _upb_def_validate(upb_def *const*defs, size_t n, upb_status *s);
3064 inline bool Def::Freeze(Def* const* defs, size_t n, Status* status) {
3065 return upb_def_freeze(defs, n, status);
3067 inline bool Def::Freeze(const std::vector<Def*>& defs, Status* status) {
3068 return upb_def_freeze((Def* const*)&defs[0], defs.size(), status);
3854 upb_inttable defs;
6504 bool Add(Def*const* defs, size_t n, void* ref_donor, Status* status);
[all …]
Dprotobuf.h154 upb_def** defs; // used only while finalizing member
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1682 int[] defs = new int[ifds.length]; in getTagDefinitionsForTagId() local
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
1695 return Arrays.copyOfRange(defs, 0, counter); in getTagDefinitionsForTagId()
1706 int[] defs = getTagDefinitionsForTagId(tagId); in getTagDefinitionForTag() local
1707 if (defs == null) { in getTagDefinitionForTag()
1712 for (int i : defs) { in getTagDefinitionForTag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/m4/
Dacx_pthread.m4253 # -Wl,-z,defs forces link-time symbol resolution, so that the
259 CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS"
/frameworks/base/tools/aapt/
DResource.cpp1855 … const Vector<SymbolDefinition>& defs = densityVaryingResources[k]; in buildResources() local
1856 const size_t defCount = std::min(size_t(5), defs.size()); in buildResources()
1858 const SymbolDefinition& def = defs[d]; in buildResources()
1863 if (defCount < defs.size()) { in buildResources()
1864 … SourcePos().error("and %d more ...", (int) (defs.size() - defCount)); in buildResources()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/docs/
Dthird_party.md139 * [RSpec matchers and Cucumber step defs for testing Protocol Buffers](https://github.com/connamara…
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am670 ruby/ext/google/protobuf_c/defs.c \