Home
last modified time | relevance | path

Searched refs:result (Results 1 – 11 of 11) sorted by relevance

/nanopb-2.7.6/examples/network_server/
Dcommon.c20 int result; in read_callback() local
25 result = recv(fd, buf, count, MSG_WAITALL); in read_callback()
27 if (result == 0) in read_callback()
30 return result == count; in read_callback()
/nanopb-2.7.6/generator/
Dnanopb_generator.py379 result = ''
381 result = '%s\n' % leading_comment
383 result += 'typedef enum _%s { %s\n' % (self.names, trailing_comment)
401 result += '\n'.join(enum_values)
402 result += '\n}'
405 result += ' pb_packed'
407 result += ' %s;' % self.names
408 return result
413 result = '#define _%s_MIN %s\n' % (self.names, sorted_values[0][0])
414 result += '#define _%s_MAX %s\n' % (self.names, sorted_values[-1][0])
[all …]
/nanopb-2.7.6/tests/site_scons/
Dsite_init.py51 result = pipe.wait()
52 if result == 0:
55 print('\033[31m[FAIL]\033[0m Program ' + args[0] + ' returned ' + str(result))
56 return result
/nanopb-2.7.6/tests/regression/issue_395/
Dtest.proto34 Result result = 1; field
Dtest.c20 reply.result = request_result; in main()
/nanopb-2.7.6/tests/regression/GHSA-gcx3-7m76-287p/
DSConscript2 # "Out-of-memory condition on repeated field can result in invalid free()"
/nanopb-2.7.6/tests/fuzztest/
DSConscript108 result = process.wait()
112 result = process.wait()
116 if result != 0:
119 …print('\033[31m[FAIL]\033[0m Program ' + str(args) + ' returned ' + str(result) + ' with input '…
120 return result
/nanopb-2.7.6/tests/any_type/
Danytest.proto15 // This does result in unnecessarily copying the data around, so for larger
/nanopb-2.7.6/tests/generator_relative_paths/
DSConscript7 # should result in:
/nanopb-2.7.6/
Dpb_decode.c173 uint32_t result; in pb_decode_varint32_eof() local
191 result = byte; in pb_decode_varint32_eof()
197 result = byte & 0x7F; in pb_decode_varint32_eof()
209 ((result >> 31) != 0 && byte == sign_extension)); in pb_decode_varint32_eof()
218 result |= (uint32_t)(byte & 0x7F) << bitpos; in pb_decode_varint32_eof()
230 *dest = result; in pb_decode_varint32_eof()
244 uint64_t result = 0; in pb_decode_varint() local
254 result |= (uint64_t)(byte & 0x7F) << bitpos; in pb_decode_varint()
258 *dest = result; in pb_decode_varint()
/nanopb-2.7.6/tests/
DSConstruct84 result = context.TryCompile("int main() {return 0;}", '.c')
87 context.Result(result)
88 return result