Home
last modified time | relevance | path

Searched refs:funcs (Results 1 – 25 of 144) sorted by relevance

123456

/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c208 alltypes.req_int32.funcs.encode = &write_varint; in main()
211 alltypes.req_int64.funcs.encode = &write_varint; in main()
214 alltypes.req_uint32.funcs.encode = &write_varint; in main()
217 alltypes.req_uint32.funcs.encode = &write_varint; in main()
220 alltypes.req_uint64.funcs.encode = &write_varint; in main()
223 alltypes.req_sint32.funcs.encode = &write_svarint; in main()
226 alltypes.req_sint64.funcs.encode = &write_svarint; in main()
229 alltypes.req_bool.funcs.encode = &write_varint; in main()
232 alltypes.req_fixed32.funcs.encode = &write_fixed32; in main()
235 alltypes.req_sfixed32.funcs.encode = &write_fixed32; in main()
[all …]
Ddecode_alltypes_callback.c224 alltypes.req_int32.funcs.decode = &read_varint; in check_alltypes()
227 alltypes.req_int64.funcs.decode = &read_varint; in check_alltypes()
230 alltypes.req_uint32.funcs.decode = &read_varint; in check_alltypes()
233 alltypes.req_uint32.funcs.decode = &read_varint; in check_alltypes()
236 alltypes.req_uint64.funcs.decode = &read_varint; in check_alltypes()
239 alltypes.req_sint32.funcs.decode = &read_svarint; in check_alltypes()
242 alltypes.req_sint64.funcs.decode = &read_svarint; in check_alltypes()
245 alltypes.req_bool.funcs.decode = &read_varint; in check_alltypes()
248 alltypes.req_fixed32.funcs.decode = &read_fixed32; in check_alltypes()
251 alltypes.req_sfixed32.funcs.decode = &read_fixed32; in check_alltypes()
[all …]
/external/pdfium/third_party/freetype/src/type1/
Dt1parse.h79 #define T1_Add_Table( p, i, o, l ) (p)->funcs.add( (p), i, o, l )
83 if ( (p)->funcs.done ) \
84 (p)->funcs.done( p ); \
89 if ( (p)->funcs.release ) \
90 (p)->funcs.release( p ); \
94 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root )
95 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root )
97 #define T1_ToInt( p ) (p)->root.funcs.to_int( &(p)->root )
98 #define T1_ToFixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t )
101 (p)->root.funcs.to_coord_array( &(p)->root, m, c )
[all …]
Dt1objs.c82 PSH_Globals_Funcs funcs; in T1_Size_Done() local
85 funcs = T1_Size_Get_Globals_Funcs( size ); in T1_Size_Done()
86 if ( funcs ) in T1_Size_Done()
87 funcs->destroy( (PSH_Globals)size->root.internal ); in T1_Size_Done()
99 PSH_Globals_Funcs funcs = T1_Size_Get_Globals_Funcs( size ); in T1_Size_Init() local
102 if ( funcs ) in T1_Size_Init()
108 error = funcs->create( size->root.face->memory, in T1_Size_Init()
123 PSH_Globals_Funcs funcs = T1_Size_Get_Globals_Funcs( size ); in T1_Size_Request() local
128 if ( funcs ) in T1_Size_Request()
129 funcs->set_scale( (PSH_Globals)size->root.internal, in T1_Size_Request()
[all …]
/external/pdfium/third_party/freetype/src/cid/
Dcidparse.h96 (p)->root.funcs.skip_spaces( &(p)->root )
98 (p)->root.funcs.skip_PS_token( &(p)->root )
100 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root )
101 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t )
104 (p)->root.funcs.to_coord_array( &(p)->root, m, c )
106 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t )
108 (p)->root.funcs.to_token( &(p)->root, t )
110 (p)->root.funcs.to_token_array( &(p)->root, t, m, c )
113 (p)->root.funcs.load_field( &(p)->root, f, o, 0, 0 )
115 (p)->root.funcs.load_field_table( &(p)->root, f, o, 0, 0 )
Dcidobjs.c75 T1_Hints_Funcs funcs; in cid_slot_init() local
78 funcs = pshinter->get_t1_funcs( module ); in cid_slot_init()
79 slot->internal->glyph_hints = (void*)funcs; in cid_slot_init()
118 PSH_Globals_Funcs funcs; in cid_size_done() local
121 funcs = cid_size_get_globals_funcs( size ); in cid_size_done()
122 if ( funcs ) in cid_size_done()
123 funcs->destroy( (PSH_Globals)cidsize->internal ); in cid_size_done()
135 PSH_Globals_Funcs funcs = cid_size_get_globals_funcs( size ); in cid_size_init() local
138 if ( funcs ) in cid_size_init()
146 error = funcs->create( cidsize->face->memory, priv, &globals ); in cid_size_init()
[all …]
/external/libdrm/radeon/
Dradeon_bo.c52 bo = bom->funcs->bo_open(bom, handle, size, alignment, domains, flags); in radeon_bo_open()
60 boi->bom->funcs->bo_ref(boi); in radeon_bo_ref()
70 return boi->bom->funcs->bo_unref(boi); in radeon_bo_unref()
76 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map()
82 return boi->bom->funcs->bo_unmap(boi); in radeon_bo_unmap()
88 if (!boi->bom->funcs->bo_wait) in radeon_bo_wait()
90 return boi->bom->funcs->bo_wait(boi); in radeon_bo_wait()
96 return boi->bom->funcs->bo_is_busy(boi, domain); in radeon_bo_is_busy()
104 return boi->bom->funcs->bo_set_tiling(boi, tiling_flags, pitch); in radeon_bo_set_tiling()
112 return boi->bom->funcs->bo_get_tiling(boi, tiling_flags, pitch); in radeon_bo_get_tiling()
[all …]
Dradeon_cs.c12 struct radeon_cs_int *csi = csm->funcs->cs_create(csm, ndw); in radeon_cs_create()
23 return csi->csm->funcs->cs_write_reloc(csi, in radeon_cs_write_reloc()
35 return csi->csm->funcs->cs_begin(csi, ndw, file, func, line); in radeon_cs_begin()
43 return csi->csm->funcs->cs_end(csi, file, func, line); in radeon_cs_end()
49 return csi->csm->funcs->cs_emit(csi); in radeon_cs_emit()
55 return csi->csm->funcs->cs_destroy(csi); in radeon_cs_destroy()
61 return csi->csm->funcs->cs_erase(csi); in radeon_cs_erase()
67 return csi->csm->funcs->cs_need_flush(csi); in radeon_cs_need_flush()
73 csi->csm->funcs->cs_print(csi, file); in radeon_cs_print()
/external/nanopb-c/tests/callbacks/
Dencode_callbacks.c71 testmessage.stringvalue.funcs.encode = &encode_string; in main()
72 testmessage.int32value.funcs.encode = &encode_int32; in main()
73 testmessage.fixed32value.funcs.encode = &encode_fixed32; in main()
74 testmessage.fixed64value.funcs.encode = &encode_fixed64; in main()
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main()
78 testmessage.submsg.int32value.funcs.encode = &encode_int32; in main()
79 testmessage.submsg.fixed32value.funcs.encode = &encode_fixed32; in main()
80 testmessage.submsg.fixed64value.funcs.encode = &encode_fixed64; in main()
82 testmessage.repeatedstring.funcs.encode = &encode_repeatedstring; in main()
Ddecode_callbacks.c73 testmessage.submsg.stringvalue.funcs.decode = &print_string; in main()
75 testmessage.submsg.int32value.funcs.decode = &print_int32; in main()
77 testmessage.submsg.fixed32value.funcs.decode = &print_fixed32; in main()
79 testmessage.submsg.fixed64value.funcs.decode = &print_fixed64; in main()
82 testmessage.stringvalue.funcs.decode = &print_string; in main()
84 testmessage.int32value.funcs.decode = &print_int32; in main()
86 testmessage.fixed32value.funcs.decode = &print_fixed32; in main()
88 testmessage.fixed64value.funcs.decode = &print_fixed64; in main()
90 testmessage.repeatedstring.funcs.decode = &print_string; in main()
/external/libdrm/freedreno/
Dfreedreno_ringbuffer.c44 ring = pipe->funcs->ringbuffer_new(pipe, size); in fd_ringbuffer_new()
50 ring->start = ring->funcs->hostptr(ring); in fd_ringbuffer_new()
60 ring->funcs->destroy(ring); in fd_ringbuffer_del()
79 if (ring->funcs->reset) in fd_ringbuffer_reset()
80 ring->funcs->reset(ring); in fd_ringbuffer_reset()
86 return ring->funcs->flush(ring, ring->last_start); in fd_ringbuffer_flush()
97 ring->funcs->emit_reloc(ring, reloc); in fd_ringbuffer_reloc()
106 ring->funcs->emit_reloc_ring(ring, target, end); in fd_ringbuffer_emit_reloc_ring()
145 return ring->funcs->flush(ring, marker->cur); in fd_ringmarker_flush()
Dfreedreno_pipe.c46 pipe = dev->funcs->pipe_new(dev, id); in fd_pipe_new()
64 pipe->funcs->destroy(pipe); in fd_pipe_del()
70 return pipe->funcs->get_param(pipe, param, value); in fd_pipe_get_param()
75 return pipe->funcs->wait(pipe, timestamp); in fd_pipe_wait()
/external/boringssl/src/crypto/
Dex_data.c136 CRYPTO_EX_DATA_FUNCS *funcs; in CRYPTO_get_ex_new_index() local
139 funcs = OPENSSL_malloc(sizeof(CRYPTO_EX_DATA_FUNCS)); in CRYPTO_get_ex_new_index()
140 if (funcs == NULL) { in CRYPTO_get_ex_new_index()
145 funcs->argl = argl; in CRYPTO_get_ex_new_index()
146 funcs->argp = argp; in CRYPTO_get_ex_new_index()
147 funcs->new_func = new_func; in CRYPTO_get_ex_new_index()
148 funcs->dup_func = dup_func; in CRYPTO_get_ex_new_index()
149 funcs->free_func = free_func; in CRYPTO_get_ex_new_index()
158 !sk_CRYPTO_EX_DATA_FUNCS_push(ex_data_class->meth, funcs)) { in CRYPTO_get_ex_new_index()
160 OPENSSL_free(funcs); in CRYPTO_get_ex_new_index()
/external/selinux/libsemanage/src/
Dhandle.c367 assert(sh != NULL && sh->funcs != NULL in hidden_def()
368 && sh->funcs->disconnect != NULL); in hidden_def()
372 if (sh->funcs->disconnect(sh) < 0) { in hidden_def()
386 if (sh->funcs != NULL && sh->funcs->destroy != NULL) in semanage_handle_destroy()
387 sh->funcs->destroy(sh); in semanage_handle_destroy()
398 assert(sh != NULL && sh->funcs != NULL in hidden_def()
399 && sh->funcs->begin_trans != NULL); in hidden_def()
408 if (sh->funcs->begin_trans(sh) < 0) { in hidden_def()
420 assert(sh != NULL && sh->funcs != NULL && sh->funcs->commit != NULL); in hidden_def()
426 retval = sh->funcs->commit(sh); in hidden_def()
Dmodules.c110 if (sh->funcs->install == NULL) { in semanage_module_install_hll()
123 return sh->funcs->install(sh, module_data, data_len, name, ext_lang); in semanage_module_install_hll()
129 if (sh->funcs->install_file == NULL) { in semanage_module_install_file()
142 return sh->funcs->install_file(sh, module_name); in semanage_module_install_file()
184 if (sh->funcs->remove == NULL) { in semanage_module_remove()
196 return sh->funcs->remove(sh, module_name); in semanage_module_remove()
202 if (sh->funcs->list == NULL) { in semanage_module_list()
209 return sh->funcs->list(sh, modinfo, num_modules); in semanage_module_list()
788 if (sh->funcs->get_enabled == NULL) { in hidden_def()
797 return sh->funcs->get_enabled(sh, modkey, enabled); in hidden_def()
[all …]
/external/mesa3d/src/mapi/mapi/
Dtable.h58 mapi_func *funcs = (mapi_func *) tbl; in table_set_func() local
59 funcs[slot] = func; in table_set_func()
68 const mapi_func *funcs = (const mapi_func *) tbl; in table_get_func() local
69 return funcs[slot]; in table_get_func()
/external/pdfium/third_party/freetype/src/cff/
Dcffobjs.c86 PSH_Globals_Funcs funcs; in cff_size_done() local
89 funcs = cff_size_get_globals_funcs( size ); in cff_size_done()
90 if ( funcs ) in cff_size_done()
95 funcs->destroy( internal->topfont ); in cff_size_done()
98 funcs->destroy( internal->subfonts[i - 1] ); in cff_size_done()
161 PSH_Globals_Funcs funcs = cff_size_get_globals_funcs( size ); in cff_size_init() local
164 if ( funcs ) in cff_size_init()
180 error = funcs->create( cffsize->face->memory, &priv, in cff_size_init()
191 error = funcs->create( cffsize->face->memory, &priv, in cff_size_init()
214 PSH_Globals_Funcs funcs; in cff_size_select() local
[all …]
/external/freetype/src/cff/
Dcffobjs.c86 PSH_Globals_Funcs funcs; in cff_size_done() local
89 funcs = cff_size_get_globals_funcs( size ); in cff_size_done()
90 if ( funcs ) in cff_size_done()
95 funcs->destroy( internal->topfont ); in cff_size_done()
98 funcs->destroy( internal->subfonts[i - 1] ); in cff_size_done()
161 PSH_Globals_Funcs funcs = cff_size_get_globals_funcs( size ); in cff_size_init() local
164 if ( funcs ) in cff_size_init()
180 error = funcs->create( cffsize->face->memory, &priv, in cff_size_init()
191 error = funcs->create( cffsize->face->memory, &priv, in cff_size_init()
214 PSH_Globals_Funcs funcs; in cff_size_select() local
[all …]
/external/boringssl/src/crypto/asn1/
Dtasn_new.c94 const ASN1_AUX *aux = it->funcs; in asn1_item_ex_combine_new()
112 ef = it->funcs; in asn1_item_ex_combine_new()
121 cf = it->funcs; in asn1_item_ex_combine_new()
237 ef = it->funcs; in asn1_item_clear()
333 if (it->funcs) in ASN1_primitive_new()
335 const ASN1_PRIMITIVE_FUNCS *pf = it->funcs; in ASN1_primitive_new()
382 if (it && it->funcs) in asn1_primitive_clear()
384 const ASN1_PRIMITIVE_FUNCS *pf = it->funcs; in asn1_primitive_clear()
/external/deqp/modules/egl/
DteglColorClearCase.cpp187 ApiFunctions funcs; in executeForContexts() local
189 m_eglTestCtx.initGLFunctions(&funcs.gl, glu::ApiType::es(2,0)); in executeForContexts()
200 renderClear(api, funcs, clear); in executeForContexts()
201 finish(api, funcs); in executeForContexts()
220 renderClear(api, funcs, clear); in executeForContexts()
224 finish(api, funcs); in executeForContexts()
236 readPixels(api, funcs, frame); in executeForContexts()
280 …, EGLSurface surface, EGLContext context, EGLint api, const ApiFunctions& funcs, const std::vector… in ColorClearThread() argument
286 , m_funcs (funcs) in ColorClearThread()
345 ApiFunctions funcs; in executeForContexts() local
[all …]
/external/pdfium/third_party/freetype/src/pshinter/
Dpshrec.c1145 t1_hints_funcs_init( T1_Hints_FuncsRec* funcs ) in t1_hints_funcs_init() argument
1147 FT_MEM_ZERO( (char*)funcs, sizeof ( *funcs ) ); in t1_hints_funcs_init()
1149 funcs->open = (T1_Hints_OpenFunc) t1_hints_open; in t1_hints_funcs_init()
1150 funcs->close = (T1_Hints_CloseFunc) ps_hints_close; in t1_hints_funcs_init()
1151 funcs->stem = (T1_Hints_SetStemFunc) t1_hints_stem; in t1_hints_funcs_init()
1152 funcs->stem3 = (T1_Hints_SetStem3Func)ps_hints_t1stem3; in t1_hints_funcs_init()
1153 funcs->reset = (T1_Hints_ResetFunc) ps_hints_t1reset; in t1_hints_funcs_init()
1154 funcs->apply = (T1_Hints_ApplyFunc) ps_hints_apply; in t1_hints_funcs_init()
1211 t2_hints_funcs_init( T2_Hints_FuncsRec* funcs ) in t2_hints_funcs_init() argument
1213 FT_MEM_ZERO( funcs, sizeof ( *funcs ) ); in t2_hints_funcs_init()
[all …]
/external/freetype/src/pshinter/
Dpshrec.c1141 t1_hints_funcs_init( T1_Hints_FuncsRec* funcs ) in t1_hints_funcs_init() argument
1143 FT_MEM_ZERO( (char*)funcs, sizeof ( *funcs ) ); in t1_hints_funcs_init()
1145 funcs->open = (T1_Hints_OpenFunc) t1_hints_open; in t1_hints_funcs_init()
1146 funcs->close = (T1_Hints_CloseFunc) ps_hints_close; in t1_hints_funcs_init()
1147 funcs->stem = (T1_Hints_SetStemFunc) t1_hints_stem; in t1_hints_funcs_init()
1148 funcs->stem3 = (T1_Hints_SetStem3Func)ps_hints_t1stem3; in t1_hints_funcs_init()
1149 funcs->reset = (T1_Hints_ResetFunc) ps_hints_t1reset; in t1_hints_funcs_init()
1150 funcs->apply = (T1_Hints_ApplyFunc) ps_hints_apply; in t1_hints_funcs_init()
1207 t2_hints_funcs_init( T2_Hints_FuncsRec* funcs ) in t2_hints_funcs_init() argument
1209 FT_MEM_ZERO( funcs, sizeof ( *funcs ) ); in t2_hints_funcs_init()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_device.c45 static struct fd_device_funcs funcs = { variable
62 dev->funcs = &funcs; in msm_device_new()
/external/libdrm/freedreno/kgsl/
Dkgsl_device.c45 static struct fd_device_funcs funcs = { variable
62 dev->funcs = &funcs; in kgsl_device_new()
/external/mesa3d/src/mapi/glapi/gen/
Dremap_helper.py149 funcs = []
153 funcs.append(f)
154 if not funcs:
157 for f in funcs:

123456