Home
last modified time | relevance | path

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

/nanopb-3.4.0/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-3.4.0/tests/site_scons/site_tools/
Dnanopb.py93 n = _detect_nanopb(env)
94 p1 = os.path.join(n, 'generator-bin', 'protoc' + env['PROGSUFFIX'])
99 p = os.path.join(n, 'generator', 'protoc')
121 n = _detect_nanopb(env)
122 p1 = os.path.join(n, 'generator', 'protoc' + env['PROGSUFFIX'])
123 p2 = os.path.join(n, 'generator-bin', 'protoc' + env['PROGSUFFIX'])
130 … return e('--plugin=protoc-gen-nanopb=' + os.path.join(n, 'generator', 'protoc-gen-nanopb.bat'))
132 return e('--plugin=protoc-gen-nanopb=' + os.path.join(n, 'generator', 'protoc-gen-nanopb'))
/nanopb-3.4.0/tests/package_name_nanopb/
DSConscript10 data = data.replace(placeholder, 'package foopkg;\n' +
11 'import "nanopb.proto";\n' +
/nanopb-3.4.0/tests/typename_mangling/
DSConscript8 dst.write("* mangle_names:{}\n".format(type))
/nanopb-3.4.0/tests/fuzztest/
DSConscript93 files = [n for n in corpus.namelist() if not n.endswith('/')]
/nanopb-3.4.0/
Dpb.h368 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } argument
369 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) argument
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h368 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } argument
369 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) argument
/nanopb-3.4.0/generator/
Dnanopb_generator.py416 for n, v in self.values:
422 return max([varint_max_size(v) for n,v in self.values])
1582 defvals = [v for n,v in enumtype.values if n.parts[-1] == field.default_value]
1585 defvals = [v for n,v in enumtype.values]
2427 unmatched = [n for n,o in Globals.separate_options if n not in Globals.matched_namemasks]
/nanopb-3.4.0/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]…
323 printf("%lld\n", value);
Dmigration.md540 `PB_BYTES_ARRAY_T_ALLOCSIZE(n)`. If the data pointer was begin
Dreference.md424 printf("Decode failed: %s\n", PB_GET_ERROR(stream));
/nanopb-3.4.0/tests/
DSConstruct97 context.Display("error: %s\n" % output.strip())