Home
last modified time | relevance | path

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

/nanopb-2.7.6/extra/
Dpb_syshdr.h90 static void * memcpy( void *s1, const void *s2, size_t n ) in memcpy() argument
94 while ( n-- ) in memcpy()
101 static void * memset( void * s, int c, size_t n ) in memset() argument
104 while ( n-- ) in memset()
/nanopb-2.7.6/tests/site_scons/site_tools/
Dnanopb.py92 n = _detect_nanopb(env)
93 p1 = os.path.join(n, 'generator-bin', 'protoc' + env['PROGSUFFIX'])
98 p = os.path.join(n, 'generator', 'protoc')
120 n = _detect_nanopb(env)
121 p1 = os.path.join(n, 'generator', 'protoc' + env['PROGSUFFIX'])
122 p2 = os.path.join(n, 'generator-bin', 'protoc' + env['PROGSUFFIX'])
129 … return e('--plugin=protoc-gen-nanopb=' + os.path.join(n, 'generator', 'protoc-gen-nanopb.bat'))
131 return e('--plugin=protoc-gen-nanopb=' + os.path.join(n, 'generator', 'protoc-gen-nanopb'))
/nanopb-2.7.6/tests/package_name_nanopb/
DSConscript10 data = data.replace(placeholder, 'package foopkg;\n' +
11 'import "nanopb.proto";\n' +
/nanopb-2.7.6/tests/typename_mangling/
DSConscript8 dst.write("* mangle_names:{}\n".format(type))
/nanopb-2.7.6/tests/fuzztest/
DSConscript93 files = [n for n in corpus.namelist() if not n.endswith('/')]
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h332 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } argument
333 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) argument
/nanopb-2.7.6/
Dpb.h332 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } argument
333 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) argument
/nanopb-2.7.6/generator/
Dnanopb_generator.py367 for n, v in self.values:
373 return max([varint_max_size(v) for n,v in self.values])
1445 defvals = [v for n,v in enumtype.values if n.parts[-1] == field.default_value]
1448 defvals = [v for n,v in enumtype.values]
2162 unmatched = [n for n,o in Globals.separate_options if n not in Globals.matched_namemasks]
/nanopb-2.7.6/docs/
Dconcepts.md95 printf("Encoded size is %d\n", sizestream.bytes_written);
203 .pb.h: `PB_BYTES_ARRAY_T(16) data;`, where the struct contains `{pb_size_t size; pb_byte_t bytes[n]…
317 printf("%lld\n", value);
Dmigration.md483 `PB_BYTES_ARRAY_T_ALLOCSIZE(n)`. If the data pointer was begin
Dreference.md411 printf("Decode failed: %s\n", PB_GET_ERROR(stream));
/nanopb-2.7.6/tests/
DSConstruct97 context.Display("error: %s\n" % output.strip())