Home
last modified time | relevance | path

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

123456

/AliOS-Things-master/components/mbedtls/programs/ssl/
A Dssl_client2.c384 } opt; variable
692 if( opt.nbio < 0 || opt.nbio > 2 ) in main()
698 if( opt.event < 0 || opt.event > 2 ) in main()
782 if( opt.reconnect < 0 || opt.reconnect > 2 ) in main()
800 if( opt.tickets < 0 || opt.tickets > 2 ) in main()
965 if( opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min ) in main()
986 if( opt.recsplit < 0 || opt.recsplit > 1 ) in main()
1002 if( opt.event == 1 && opt.nbio != 1 ) in main()
1316 opt.server_addr = opt.server_name; in main()
1320 opt.server_addr, opt.server_port ); in main()
[all …]
A Dssl_server2.c505 } opt; variable
1410 if( opt.nbio < 0 || opt.nbio > 2 ) in main()
1416 if( opt.event < 0 || opt.event > 2 ) in main()
1432 if( opt.buffer_size < opt.response_size ) in main()
1433 opt.buffer_size = opt.response_size; in main()
1687 if( opt.tickets < 0 || opt.tickets > 1 ) in main()
1711 if( opt.cookies < -1 || opt.cookies > 1) in main()
1717 if( opt.anti_replay < 0 || opt.anti_replay > 1) in main()
1733 if( opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min ) in main()
1762 if( opt.event == 1 && opt.nbio != 1 ) in main()
[all …]
A Dssl_mail_client.c175 } opt; variable
452 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main()
458 if( opt.authentication < 0 || opt.authentication > 1 ) in main()
464 if( opt.mode < 0 || opt.mode > 1 ) in main()
468 opt.user_name = q; in main()
470 opt.user_pwd = q; in main()
474 opt.mail_to = q; in main()
476 opt.ca_file = q; in main()
478 opt.crt_file = q; in main()
480 opt.key_file = q; in main()
[all …]
/AliOS-Things-master/components/mbedtls/programs/x509/
A Dcert_write.c196 } opt; variable
386 if( opt.version < 1 || opt.version > 3 ) in main()
391 opt.version--; in main()
396 if( opt.selfsign < 0 || opt.selfsign > 1 ) in main()
405 if( opt.is_ca < 0 || opt.is_ca > 1 ) in main()
414 if( opt.max_pathlen < -1 || opt.max_pathlen > 127 ) in main()
521 if( !opt.selfsign && strlen( opt.issuer_crt ) ) in main()
555 if( !opt.selfsign && strlen( opt.request_file ) ) in main()
591 if( !opt.selfsign && !strlen( opt.request_file ) ) in main()
636 if( opt.selfsign ) in main()
[all …]
A Dcert_req.c128 } opt; variable
194 opt.md_alg = DFL_MD_ALG; in main()
205 opt.filename = q; in main()
207 opt.password = q; in main()
209 opt.output_file = q; in main()
212 opt.debug_level = atoi( q ); in main()
213 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main()
218 opt.subject_name = q; in main()
328 if( opt.key_usage ) in main()
331 if( opt.ns_cert_type ) in main()
[all …]
A Dcert_app.c129 } opt; variable
235 opt.filename = q; in main()
237 opt.ca_file = q; in main()
239 opt.crl_file = q; in main()
241 opt.ca_path = q; in main()
243 opt.server_name = q; in main()
245 opt.server_port = q; in main()
249 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main()
255 if( opt.permissive < 0 || opt.permissive > 1 ) in main()
268 if( strlen( opt.ca_path ) ) in main()
[all …]
A Dcrl_app.c82 } opt; variable
105 opt.filename = DFL_FILENAME; in main()
115 opt.filename = q; in main()
126 ret = mbedtls_x509_crl_parse_file( &crl, opt.filename ); in main()
/AliOS-Things-master/components/mbedtls/programs/test/
A Dudp_proxy.c168 } opt; variable
195 memset( opt.delay_cli, 0, sizeof( opt.delay_cli ) ); in get_options()
196 memset( opt.delay_srv, 0, sizeof( opt.delay_srv ) ); in get_options()
216 if( opt.duplicate < 0 || opt.duplicate > 20 ) in get_options()
222 if( opt.delay < 0 || opt.delay > 20 || opt.delay == 1 ) in get_options()
228 if( opt.delay_ccs < 0 || opt.delay_ccs > 1 ) in get_options()
271 if( opt.drop < 0 || opt.drop > 20 || opt.drop == 1 ) in get_options()
286 if( opt.mtu < 0 || opt.mtu > MAX_MSG_SIZE ) in get_options()
292 if( opt.bad_ad < 0 || opt.bad_ad > 1 ) in get_options()
770 opt.server_addr, opt.server_port ); in main()
[all …]
/AliOS-Things-master/components/linkkit/dev_model/
A Ddm_opt.c10 int dm_opt_set(dm_opt_t opt, void *data) in dm_opt_set() argument
18 switch (opt) { in dm_opt_set()
22 int opt = *(int *)(data); in dm_opt_set() local
28 int opt = *(int *)(data); in dm_opt_set() local
34 int opt = *(int *)(data); in dm_opt_set() local
42 int opt = *(int *)(data); in dm_opt_set() local
48 int opt = *(int *)(data); in dm_opt_set() local
55 int opt = *(int *)(data); in dm_opt_set() local
61 int opt = *(int *)(data); in dm_opt_set() local
75 int dm_opt_get(dm_opt_t opt, void *data) in dm_opt_get() argument
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/
A Doptions.awk261 opt = $2
310 requires[opt] = requires[opt] " " val
312 iffs[opt] = iffs[opt] " " val
316 sets[opt] = sets[opt] " " val
351 opt = $2
551 for (opt in option) if (opt != "") {
560 for (opt in tree) if (opt != "") {
575 split(requires[opt] iffs[opt] enabledby[opt], r)
577 for (i in list) tree[opt] = tree[opt] " " i
590 for (opt in option) if (opt != "") {
[all …]
/AliOS-Things-master/components/py_engine/engine/shared/netutils/
A Ddhcpserver.c148 if (opt[i] == cmd) { in opt_find()
149 return &opt[i]; in opt_find()
151 i += 2 + opt[i + 1]; in opt_find()
157 uint8_t *o = *opt; in opt_write_n()
161 *opt = o + n; in opt_write_n()
165 uint8_t *o = *opt; in opt_write_u8()
169 *opt = o; in opt_write_u8()
173 uint8_t *o = *opt; in opt_write_u32()
180 *opt = o; in opt_write_u32()
208 switch (opt[2]) { in dhcp_server_process()
[all …]
/AliOS-Things-master/components/mbedtls/programs/pkey/
A Dkey_app_writer.c123 } opt; variable
237 opt.mode = DFL_MODE; in main()
238 opt.filename = DFL_FILENAME; in main()
253 opt.mode = MODE_PRIVATE; in main()
255 opt.mode = MODE_PUBLIC; in main()
281 opt.filename = q; in main()
283 opt.output_file = q; in main()
288 if( opt.mode == MODE_NONE && opt.output_mode != OUTPUT_MODE_NONE ) in main()
294 if( opt.mode == MODE_PUBLIC && opt.output_mode == OUTPUT_MODE_PRIVATE ) in main()
300 if( opt.mode == MODE_PRIVATE ) in main()
[all …]
A Dgen_key.c163 } opt; variable
174 if( opt.format == FORMAT_PEM ) in write_private_key()
246 opt.type = DFL_TYPE; in main()
272 opt.format = FORMAT_PEM; in main()
274 opt.format = FORMAT_DER; in main()
280 opt.rsa_keysize = atoi( q ); in main()
294 opt.filename = q; in main()
298 if( opt.use_dev_random < 0 || opt.use_dev_random > 1 ) in main()
310 if( opt.use_dev_random ) in main()
347 if( opt.type == MBEDTLS_PK_RSA ) in main()
[all …]
A Dkey_app.c99 } opt; variable
129 opt.mode = DFL_MODE; in main()
146 opt.mode = MODE_PUBLIC; in main()
151 opt.filename = q; in main()
153 opt.password = q; in main()
155 opt.password_file = q; in main()
160 if( opt.mode == MODE_PRIVATE ) in main()
162 if( strlen( opt.password ) && strlen( opt.password_file ) ) in main()
189 opt.password = buf; in main()
198 ret = mbedtls_pk_parse_keyfile( &pk, opt.filename, opt.password ); in main()
[all …]
/AliOS-Things-master/components/freetype/src/tools/docmaker/
A Ddocmaker.py64 for opt in opts:
65 if opt[0] in ( "-h", "--help" ):
69 if opt[0] in ( "-t", "--title" ):
70 project_title = opt[1]
72 if opt[0] in ( "-o", "--output" ):
73 utils.output_dir = opt[1]
75 if opt[0] in ( "-p", "--prefix" ):
76 project_prefix = opt[1]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngcp.c738 png_byte i = option_index(dp, opt, strlen(opt)); in get_option()
818 options[opt].values[entry+1U].value <= dp->value[opt] /* range end */; in opt_list_end()
872 dp->stack[sp].opt = opt; in push_opt()
874 dp->stack[sp].best_val = dp->value[opt] = options[opt].values[entry].value; in push_opt()
915 png_byte entry, opt; in next_opt() local
921 opt = dp->stack[sp].opt; in next_opt()
937 dp->value[opt]++; in next_opt()
1120 dp->value[opt] = options[opt].values[++entry].value; in next_opt()
1136 int opt = dp->stack[sp].opt; in compare_option() local
1235 const char *entry_name = options[opt].values[dp->entry[opt]-1].name; in getallopts_()
[all …]
/AliOS-Things-master/kernel/rhino/
A Dk_event.c160 kstat_t krhino_event_get(kevent_t *event, uint32_t flags, uint8_t opt, in krhino_event_get() argument
171 if ((opt != RHINO_AND) && (opt != RHINO_OR) && (opt != RHINO_AND_CLEAR) && in krhino_event_get()
172 (opt != RHINO_OR_CLEAR)) { in krhino_event_get()
189 if (opt & RHINO_FLAGS_AND_MASK) { in krhino_event_get()
206 if (opt & RHINO_FLAGS_CLEAR_MASK) { in krhino_event_get()
229 g_active_task[cur_cpu_num]->pend_option = opt; in krhino_event_get()
249 static kstat_t event_set(kevent_t *event, uint32_t flags, uint8_t opt) in event_set() argument
271 if (opt & RHINO_FLAGS_AND_MASK) { in event_set()
325 kstat_t krhino_event_set(kevent_t *event, uint32_t flags, uint8_t opt) in krhino_event_set() argument
329 if ((opt != RHINO_AND) && (opt != RHINO_OR)) { in krhino_event_set()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dppm2tiff.c314 processCompressOptions(char* opt) in processCompressOptions() argument
316 if (streq(opt, "none")) in processCompressOptions()
318 else if (streq(opt, "packbits")) in processCompressOptions()
320 else if (strneq(opt, "jpeg", 4)) { in processCompressOptions()
321 char* cp = strchr(opt, ':'); in processCompressOptions()
335 } else if (strneq(opt, "g3", 2)) { in processCompressOptions()
336 processG3Options(opt); in processCompressOptions()
338 } else if (streq(opt, "g4")) { in processCompressOptions()
340 } else if (strneq(opt, "lzw", 3)) { in processCompressOptions()
341 char* cp = strchr(opt, ':'); in processCompressOptions()
[all …]
A Dtiffdither.c177 processCompressOptions(char* opt) in processCompressOptions() argument
179 if (streq(opt, "none")) in processCompressOptions()
181 else if (streq(opt, "packbits")) in processCompressOptions()
183 else if (strneq(opt, "g3", 2)) { in processCompressOptions()
184 processG3Options(opt); in processCompressOptions()
186 } else if (streq(opt, "g4")) in processCompressOptions()
188 else if (strneq(opt, "lzw", 3)) { in processCompressOptions()
189 char* cp = strchr(opt, ':'); in processCompressOptions()
193 } else if (strneq(opt, "zip", 3)) { in processCompressOptions()
194 char* cp = strchr(opt, ':'); in processCompressOptions()
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmakemanifest.py74 def freeze(path, script=None, opt=0): argument
102 freeze_internal(KIND_AUTO, path, script, opt)
113 def freeze_as_mpy(path, script=None, opt=0): argument
118 freeze_internal(KIND_AS_MPY, path, script, opt)
121 def freeze_mpy(path, script=None, opt=0): argument
126 freeze_internal(KIND_MPY, path, script, opt)
199 def freeze_internal(kind, path, script, opt): argument
206 manifest_list.append((KIND_AS_STR, path, script, opt))
220 freeze_internal(kind, path, s, opt)
235 manifest_list.append((kind, path, script, opt))
[all …]
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_event.c56 aos_status_t aos_event_get(aos_event_t *event, uint32_t value, uint32_t opt, in aos_event_get() argument
64 ret = krhino_event_get((kevent_t *)*event, value, opt, actl_value, RHINO_WAIT_FOREVER); in aos_event_get()
66 ret = krhino_event_get((kevent_t *)*event, value, opt, actl_value, MS2TICK(timeout)); in aos_event_get()
72 aos_status_t aos_event_set(aos_event_t *event, uint32_t flags, uint32_t opt) in aos_event_set() argument
78 ret = krhino_event_set((kevent_t *)*event, flags, opt); in aos_event_set()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Dmakevms.com56 $ open/write lopt lib.opt
60 $ open/write xopt x11.opt
83 "LINK rpng2-x,readpng2,lib.opt/opt,x11.opt/opt" -
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dlcp.c352 option_t *opt; in printendpoint()
1151 p[0] == opt) { \ in lcp_nakci()
1162 p[0] == opt) { \ in lcp_nakci()
1175 p[0] == opt) { \ in lcp_nakci()
1186 p[0] == opt) { \ in lcp_nakci()
1197 p[0] == opt) { \ in lcp_nakci()
1209 p[0] == opt) { \ in lcp_nakci()
1221 p[0] == opt && \ in lcp_nakci()
1608 p[0] == opt) { \ in lcp_rejci()
1617 p[0] == opt) { \ in lcp_rejci()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dqjs.c335 char opt = *arg; in main() local
336 if (opt) in main()
338 if (opt == 'h' || opt == '?' || !strcmp(longopt, "help")) { in main()
342 if (opt == 'e' || !strcmp(longopt, "eval")) { in main()
354 if (opt == 'I' || !strcmp(longopt, "include")) { in main()
366 if (opt == 'i' || !strcmp(longopt, "interactive")) { in main()
370 if (opt == 'm' || !strcmp(longopt, "module")) { in main()
378 if (opt == 'd' || !strcmp(longopt, "dump")) { in main()
382 if (opt == 'T' || !strcmp(longopt, "trace")) { in main()
404 if (opt == 'q' || !strcmp(longopt, "quit")) { in main()
[all …]
/AliOS-Things-master/components/mbedtls/programs/util/
A Dpem2der.c87 } opt; variable
220 opt.filename = DFL_FILENAME; in main()
221 opt.output_file = DFL_OUTPUT_FILENAME; in main()
232 opt.filename = q; in main()
234 opt.output_file = q; in main()
245 ret = load_file( opt.filename, &pem_buffer, &pem_size ); in main()
281 ret = write_file( opt.output_file, der_buffer, der_size ); in main()

Completed in 51 milliseconds

123456