Home
last modified time | relevance | path

Searched refs:array_decl (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/libdav1d/src/
H A Dfg_apply.h38 # define array_decl(type, name, sz) type name sz macro
40 # define array_decl(type, name, sz) void *name macro
49 array_decl(uint8_t, scaling, [3][SCALING_SIZE]),
50 array_decl(entry, grain_lut, [3][GRAIN_HEIGHT+1][GRAIN_WIDTH]));
54 array_decl(const uint8_t, scaling, [3][SCALING_SIZE]),
55 array_decl(const entry, grain_lut, [3][GRAIN_HEIGHT+1][GRAIN_WIDTH]),
/aosp_15_r20/external/nanopb-c/generator/
H A Dnanopb_generator.py296 self.array_decl = ""
329 self.array_decl = '[%d]' % self.max_count
393 self.array_decl += '[%d]' % self.max_size
405 self.array_decl += '[%d]' % self.max_size
433 result += ' %s (*%s)%s;' % (self.ctype, self.name, self.array_decl)
448 result += ' %s %s%s;' % (self.ctype, self.name, self.array_decl)
552 array_decl = ''
557 array_decl = '[%d]' % self.max_size
564 array_decl = '[%d]' % self.max_size
567 … return 'extern const %s %s_default%s;' % (ctype, self.struct_name + self.name, array_decl)
[all …]