Home
last modified time | relevance | path

Searched refs:tvp (Results 1 – 25 of 30) sorted by relevance

12

/external/opencv3/3rdparty/libjasper/
Djas_tvp.c95 jas_tvparser_t *tvp; in jas_tvparser_create() local
96 if (!(tvp = jas_malloc(sizeof(jas_tvparser_t)))) { in jas_tvparser_create()
99 if (!(tvp->buf = jas_strdup(s))) { in jas_tvparser_create()
100 jas_tvparser_destroy(tvp); in jas_tvparser_create()
103 tvp->pos = tvp->buf; in jas_tvparser_create()
104 tvp->tag = 0; in jas_tvparser_create()
105 tvp->val = 0; in jas_tvparser_create()
106 return tvp; in jas_tvparser_create()
109 void jas_tvparser_destroy(jas_tvparser_t *tvp) in jas_tvparser_destroy() argument
111 if (tvp->buf) { in jas_tvparser_destroy()
[all …]
Djpc_enc.c346 jas_tvparser_t *tvp; in cp_create() local
366 tvp = 0; in cp_create()
440 if (!(tvp = jas_tvparser_create(optstr ? optstr : ""))) { in cp_create()
444 while (!(ret = jas_tvparser_next(tvp))) { in cp_create()
446 jas_tvparser_gettag(tvp)))->id) { in cp_create()
448 cp->debug = atoi(jas_tvparser_getval(tvp)); in cp_create()
451 cp->imgareatlx = atoi(jas_tvparser_getval(tvp)); in cp_create()
454 cp->imgareatly = atoi(jas_tvparser_getval(tvp)); in cp_create()
457 cp->tilegrdoffx = atoi(jas_tvparser_getval(tvp)); in cp_create()
460 cp->tilegrdoffy = atoi(jas_tvparser_getval(tvp)); in cp_create()
[all …]
Djpc_dec.c305 jas_tvparser_t *tvp; in jpc_dec_parseopts() local
311 if (!(tvp = jas_tvparser_create(optstr ? optstr : ""))) { in jpc_dec_parseopts()
315 while (!jas_tvparser_next(tvp)) { in jpc_dec_parseopts()
317 jas_tvparser_gettag(tvp)))->id) { in jpc_dec_parseopts()
319 opts->maxlyrs = atoi(jas_tvparser_getval(tvp)); in jpc_dec_parseopts()
322 opts->debug = atoi(jas_tvparser_getval(tvp)); in jpc_dec_parseopts()
325 opts->maxpkts = atoi(jas_tvparser_getval(tvp)); in jpc_dec_parseopts()
329 jas_tvparser_gettag(tvp)); in jpc_dec_parseopts()
334 jas_tvparser_destroy(tvp); in jpc_dec_parseopts()
/external/libevent/include/event2/
Dutil.h379 #define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp)) argument
380 #define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp)) argument
382 #define evutil_timeradd(tvp, uvp, vvp) \ argument
384 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
385 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
391 #define evutil_timersub(tvp, uvp, vvp) \ argument
393 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
394 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
403 #define evutil_timerclear(tvp) timerclear(tvp) argument
405 #define evutil_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0 argument
[all …]
/external/tcpdump/
Dutil.c193 register const struct timeval *tvp) in ts_print() argument
206 s = (tvp->tv_sec + thiszone) % 86400; in ts_print()
207 ND_PRINT((ndo, "%s ", ts_format(ndo, s, tvp->tv_usec))); in ts_print()
215 (unsigned)tvp->tv_sec, in ts_print()
216 (unsigned)tvp->tv_usec)); in ts_print()
223 b_usec = tvp->tv_usec; in ts_print()
224 b_sec = tvp->tv_sec; in ts_print()
227 d_usec = tvp->tv_usec - b_usec; in ts_print()
228 d_sec = tvp->tv_sec - b_sec; in ts_print()
238 b_sec = tvp->tv_sec; in ts_print()
[all …]
/external/c-ares/
Dahost.c70 struct timeval *tvp, tv; in main() local
150 tvp = ares_timeout(channel, NULL, &tv); in main()
151 select(nfds, &read_fds, &write_fds, NULL, tvp); in main()
Dacountry.c204 struct timeval *tvp, tv; in wait_ares() local
213 tvp = ares_timeout(channel, NULL, &tv); in wait_ares()
214 select(nfds, &read_fds, &write_fds, NULL, tvp); in wait_ares()
Dadig.c205 struct timeval *tvp, tv; in main() local
391 tvp = ares_timeout(channel, NULL, &tv); in main()
392 count = select(nfds, &read_fds, &write_fds, NULL, tvp); in main()
/external/libmicrohttpd/src/examples/
Dpost_example.c704 struct timeval *tvp; in main() local
740 tvp = &tv; in main()
743 tvp = NULL; in main()
744 select (max + 1, &rs, &ws, &es, tvp); in main()
/external/libmicrohttpd/doc/examples/
Dsessions.c721 struct timeval *tvp; in main() local
757 tvp = &tv; in main()
760 tvp = NULL; in main()
761 if (-1 == select (max + 1, &rs, &ws, &es, tvp)) in main()
/external/chromium-trace/catapult/tracing/tracing_build/
Dupdate_gypi.py117 tvp = tracing_project.TracingProject()
119 os.path.join(tvp.tracing_root_path, 'trace_viewer.gypi'), GypiFile)
/external/ppp/pppd/
Dmain.c1408 timeleft(tvp) in timeleft() argument
1409 struct timeval *tvp; in timeleft()
1415 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
1416 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec;
1417 if (tvp->tv_usec < 0) {
1418 tvp->tv_usec += 1000000;
1419 tvp->tv_sec -= 1;
1421 if (tvp->tv_sec < 0)
1422 tvp->tv_sec = tvp->tv_usec = 0;
1424 return tvp;
/external/curl/lib/
Dasyn-ares.c367 struct timeval *tvp, tv, store; in Curl_resolver_wait_resolv() local
377 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv); in Curl_resolver_wait_resolv()
382 if(!tvp->tv_sec) in Curl_resolver_wait_resolv()
383 timeout_ms = (int)(tvp->tv_usec/1000); in Curl_resolver_wait_resolv()
Dopenldap.c232 struct timeval tv = {0, 1}, *tvp; in ldap_connecting() local
258 tvp = &tv; in ldap_connecting()
280 if(tvp) in ldap_connecting()
284 rc = ldap_result(li->ld, li->msgid, LDAP_MSG_ONE, tvp, &msg); in ldap_connecting()
/external/clang/test/CodeGenCXX/
Ddebug-info-alias.cpp35 tv<int> *tvp; variable
/external/libxml2/
DtestSAX.c80 my_gettimeofday(struct timeval *tvp, void *tzp) in my_gettimeofday() argument
85 if (tvp) { in my_gettimeofday()
86 tvp->tv_sec = timebuffer.time; in my_gettimeofday()
87 tvp->tv_usec = timebuffer.millitm * 1000L; in my_gettimeofday()
Dxmllint.c416 my_gettimeofday(struct timeval *tvp, void *tzp) in my_gettimeofday() argument
421 if (tvp) { in my_gettimeofday()
422 tvp->tv_sec = timebuffer.time; in my_gettimeofday()
423 tvp->tv_usec = timebuffer.millitm * 1000L; in my_gettimeofday()
/external/mksh/src/
Dsh.h280 #define timerclear(tvp) \ argument
282 (tvp)->tv_sec = (tvp)->tv_usec = 0; \
286 #define timeradd(tvp, uvp, vvp) \ argument
288 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
289 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
297 #define timersub(tvp, uvp, vvp) \ argument
299 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
300 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
Dfuncs.c937 struct tbl *tvp; in c_typeset_vardump() local
948 for (tvp = vp; tvp; tvp = tvp->u.array) in c_typeset_vardump()
949 if (tvp->flag & ISSET) { in c_typeset_vardump()
/external/elfutils/src/
Dstrip.c112 const char *fname, mode_t mode, struct timespec tvp[2]);
116 struct timespec tvp[2]) __attribute__ ((unused));
410 mode_t mode, struct timespec tvp[2]) in handle_elf()
2197 if (tvp != NULL) in handle_elf()
2199 if (futimens (fd, tvp) != 0) in handle_elf()
2233 struct timespec tvp[2]) in handle_ar()
2269 if (tvp != NULL) in handle_ar()
2271 if (unlikely (futimens (fd, tvp) != 0)) in handle_ar()
/external/libmicrohttpd/src/microhttpd/
Ddaemon.c903 struct timeval *tvp; in MHD_handle_connection() local
924 tvp = NULL; in MHD_handle_connection()
933 tvp = &tv; in MHD_handle_connection()
941 tvp = &tv; in MHD_handle_connection()
974 tvp = &tv; in MHD_handle_connection()
997 num_ready = MHD_SYS_select_ (max + 1, &rs, &ws, NULL, tvp); in MHD_handle_connection()
1049 tvp = &tv; in MHD_handle_connection()
1071 (NULL == tvp) ? -1 : tv.tv_sec * 1000) < 0) in MHD_handle_connection()
/external/valgrind/
Ddarwin9.supp112 futimes(tvp[1])
/external/fio/
Dio_u.c1790 struct timespec *tvp = NULL; in io_u_queued_complete() local
1797 tvp = &ts; in io_u_queued_complete()
1801 ret = td_io_getevents(td, min_evts, td->o.iodepth_batch_complete, tvp); in io_u_queued_complete()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1189 #define __sanitizer_syscall_pre_select(n, inp, outp, exp, tvp) \ argument
1191 (long)(exp), (long)(tvp))
1192 #define __sanitizer_syscall_post_select(res, n, inp, outp, exp, tvp) \ argument
1194 (long)(outp), (long)(exp), (long)(tvp))
2671 long tvp);
2673 long exp, long tvp);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1915 __sanitizer___kernel_fd_set *exp, void *tvp) {}
1919 __sanitizer___kernel_fd_set *exp, void *tvp) {
1924 if (tvp) POST_WRITE(tvp, timeval_sz);

12