Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 25 of 31) sorted by relevance

12

/reactos/sdk/lib/3rdparty/adns/client/
H A Dadh-query.c174 ttl= answer->expires < now ? 0 : answer->expires - now; in print_ttl()
177 ttl= answer->expires; in print_ttl()
186 return answer->owner ? answer->owner : qun->owner; in owner_show()
191 print_ttl(qun,answer); in print_owner_ttl()
221 print_owner_ttl(qun,answer); in print_status()
223 print_withspace(answer->cname ? answer->cname : "$"); in print_status()
259 st= answer->status; in query_done()
260 nrrs= answer->nrrs; in query_done()
277 realowner= answer->cname ? answer->cname : owner_show(qun,answer); in query_done()
287 print_ttl(qun,answer); in query_done()
[all …]
H A Dfanftest.c57 adns_answer *answer; in main() local
78 errno= adns_wait(adns, &query, &answer, NULL); in main()
81 printf("%s\n", answer->status == adns_s_ok ? *answer->rrs.str : "dunno"); in main()
H A Dadnslogres.c174 adns_answer *answer; in proclog() local
195 err= adns_wait_poll(adns, &head->query, &answer, NULL); in proclog()
198 err= adns_wait(adns, &head->query, &answer, NULL); in proclog()
200 err= adns_check(adns, &head->query, &answer, NULL); in proclog()
208 answer->status == adns_s_ok ? *answer->rrs.str : NULL); in proclog()
211 free(answer); in proclog()
H A Dadh-main.c228 adns_answer *answer; in main() local
242 r= adns_check(ads,&qu,&answer,&qun_v); in main()
246 query_done(qun_v,answer); in main()
H A Dadnshost.h111 void query_done(struct query_node *qun, adns_answer *answer);
/reactos/sdk/lib/3rdparty/adns/src/
H A Dquery.c47 qu->answer= malloc(sizeof(*qu->answer)); if (!qu->answer) { free(qu); return 0; } in query_alloc()
81 qu->answer->cname= qu->answer->owner= 0; in query_alloc()
84 qu->answer->nrrs= 0; in query_alloc()
194 ans= qu->answer; in save_owner()
413 qu->answer->nrrs= 0; in adns__reset_preserved()
453 free(qu->answer); in adns_cancel()
471 ans= qu->answer; in makefinal_query()
476 qu->answer= ans; in makefinal_query()
495 qu->answer->cname= 0; in makefinal_query()
510 ans= qu->answer; in adns__query_done()
[all …]
H A Dreply.c194 qu->answer->cname, in adns__procdgram()
210 qu->answer->cname= adns__alloc_preserved(qu,(size_t) l); in adns__procdgram()
211 if (!qu->answer->cname) { adns__query_fail(qu,adns_s_nomemory); return; } in adns__procdgram()
216 memcpy(qu->answer->cname,qu->vb.buf, (size_t) l); in adns__procdgram()
302 qu->answer->rrs.untyped= adns__alloc_interim(qu,(size_t) qu->typei->rrsz*wantedrrs); in adns__procdgram()
303 if (!qu->answer->rrs.untyped) { adns__query_fail(qu,adns_s_nomemory); return; } in adns__procdgram()
307 rrsdata= qu->answer->rrs.bytes; in adns__procdgram()
335 qu->answer->nrrs= nrrs; in adns__procdgram()
H A Dinternal.h201 adns_answer *answer; member
681 adns_answer **answer,
H A Devent.c672 adns_answer **answer, in adns__internal_check() argument
689 *answer= qu->answer; in adns__internal_check()
H A Dtypes.c443 adns_answer *cans= child->answer; in icb_hostaddr()
689 adns_answer *cans= child->answer; in icb_ptr()
/reactos/base/applications/cmdutils/reg/
H A Dcopy.c50 WCHAR answer[MAX_PATH]; in ask_overwrite_value() local
67 ReadConsoleW(GetStdHandle(STD_INPUT_HANDLE), answer, ARRAY_SIZE(answer), &count, NULL); in ask_overwrite_value()
69 *answer = towupper(*answer); in ask_overwrite_value()
71 if (*answer == *Ybuffer) in ask_overwrite_value()
73 if (*answer == *Nbuffer) in ask_overwrite_value()
75 if (*answer == *Abuffer) in ask_overwrite_value()
H A Dreg.c133 WCHAR answer[MAX_PATH]; in ask_confirm() local
148 ReadConsoleW(GetStdHandle(STD_INPUT_HANDLE), answer, ARRAY_SIZE(answer), &count, NULL); in ask_confirm()
149 answer[0] = towupper(answer[0]); in ask_confirm()
150 if (answer[0] == Ybuffer[0]) in ask_confirm()
152 if (answer[0] == Nbuffer[0]) in ask_confirm()
/reactos/base/applications/cmdutils/xcopy/
H A Dxcopy.c480 char answer[10]; in XCOPY_DoCopy() local
491 ReadFile (GetStdHandle(STD_INPUT_HANDLE), answer, sizeof(answer), in XCOPY_DoCopy()
495 if (toupper(answer[0]) == noChar[0]) in XCOPY_DoCopy()
505 char answer[10]; in XCOPY_DoCopy() local
518 ReadFile (GetStdHandle(STD_INPUT_HANDLE), answer, sizeof(answer), in XCOPY_DoCopy()
522 if (toupper(answer[0]) == allChar[0]) in XCOPY_DoCopy()
1035 char answer[10] = ""; in XCOPY_ProcessDestParm() local
1043 while (answer[0] != fileChar[0] && answer[0] != dirChar[0]) { in XCOPY_ProcessDestParm()
1046 ReadFile(GetStdHandle(STD_INPUT_HANDLE), answer, sizeof(answer), &count, NULL); in XCOPY_ProcessDestParm()
1049 answer[0] = toupper(answer[0]); in XCOPY_ProcessDestParm()
[all …]
/reactos/modules/rostests/apitests/shell32/
H A DSHChangeNotify.cpp198 LPCSTR answer; member
215 LPCSTR answer = NULL; in DoStepCheck() local
238 answer = c_answers[iStep].answer; in DoStepCheck()
259 answer = c_answers[iStep].answer; in DoStepCheck()
277 answer = c_answers[iStep].answer; in DoStepCheck()
283 answer = "000000000000000000000000"; in DoStepCheck()
295 ok(lstrcmpA(checks, answer) == 0, in DoStepCheck()
296 "Line %d: '%s' vs '%s' at Stage %d, Step %d\n", lineno, checks, answer, iStage, iStep); in DoStepCheck()
/reactos/modules/rostests/winetests/user32/
H A Dlistbox.c146 struct listbox_stat answer; in check() local
154 listbox_query (hLB, &answer); in check()
155 listbox_ok (test, init, answer); in check()
160 listbox_query (hLB, &answer); in check()
165 listbox_query (hLB, &answer); in check()
172 listbox_query (hLB, &answer); in check()
173 listbox_ok (test, sel, answer); in check()
424 struct listbox_stat answer; in test_LB_SELITEMRANGE() local
432 listbox_query(hLB, &answer); in test_LB_SELITEMRANGE()
437 listbox_query(hLB, &answer); in test_LB_SELITEMRANGE()
[all …]
/reactos/modules/rostests/winetests/comctl32/
H A Dlistbox.c221 struct listbox_stat answer; in run_test() local
228 listbox_query (hLB, &answer); in run_test()
234 listbox_query(hLB, &answer); in run_test()
239 listbox_query(hLB, &answer); in run_test()
247 listbox_query(hLB, &answer); in run_test()
546 struct listbox_stat answer; in test_LB_SELITEMRANGE() local
553 listbox_query(hLB, &answer); in test_LB_SELITEMRANGE()
558 listbox_query(hLB, &answer); in test_LB_SELITEMRANGE()
562 listbox_query(hLB, &answer); in test_LB_SELITEMRANGE()
567 listbox_query(hLB, &answer); in test_LB_SELITEMRANGE()
[all …]
H A Dtoolbar.c1972 static const char answer[] = "STR"; in test_getstring() local
1989 r = SendMessageA(hToolbar, TB_ADDSTRINGA, 0, (LPARAM)answer); in test_getstring()
1992 expect(lstrlenA(answer), r); in test_getstring()
1994 expect(lstrlenA(answer), r); in test_getstring()
1996 expect(lstrlenA(answer), r); in test_getstring()
1997 expect(0, lstrcmpA(answer, str)); in test_getstring()
1999 expect(lstrlenA(answer), r); in test_getstring()
/reactos/dll/win32/dnsapi/
H A Dquery.c662 adns_answer *answer; in Query_Main() local
813 adns_error = adns_synchronous(astate, CurrentName, adns_r_addr, quflags, &answer); in Query_Main()
826 if (answer && answer->rrs.addr) in Query_Main()
845 (*QueryResultSet)->Data.A.IpAddress = answer->rrs.addr->addr.inet.sin_addr.s_addr; in Query_Main()
854 if (NULL == answer || adns_s_prohibitedcname != answer->status || NULL == answer->cname) in Query_Main()
868 CurrentName = (LPSTR)xstrsaveA(answer->cname); in Query_Main()
/reactos/drivers/network/tcpip/lwip/src/include/lwip/apps/
H A Dmdns.h136 typedef void (*search_result_fn_t)(struct mdns_answer *answer, const char *varpart, int varlen, int…
/reactos/drivers/network/tcpip/lwip/src/apps/mdns/
H A Dmdns.c470 mdns_read_answer(struct mdns_packet *pkt, struct mdns_answer *answer, u16_t *num_left) in mdns_read_answer() argument
488 memset(answer, 0, sizeof(struct mdns_answer)); in mdns_read_answer()
489 res = mdns_read_rr_info(pkt, &answer->info); in mdns_read_answer()
495 answer->cache_flush = answer->info.klass & 0x8000; in mdns_read_answer()
496 answer->info.klass &= 0x7FFF; in mdns_read_answer()
503 answer->ttl = lwip_ntohl(ttl); in mdns_read_answer()
510 answer->rd_length = lwip_ntohs(field16); in mdns_read_answer()
512 answer->rd_offset = pkt->parse_offset; in mdns_read_answer()
513 pkt->parse_offset += answer->rd_length; in mdns_read_answer()
/reactos/sdk/lib/3rdparty/adns/
H A Dchangelog115 * answer->owner may be null on error. Documented, and adnshost copes.
214 * Ignore CNAME(s) in answer after RR(s) (and test).
H A DGPL-vs-LGPL6 `stronger' GPL. This file is intended to answer most of these
/reactos/dll/win32/comdlg32/
H A Dfiledlg.c3337 int answer; in FILEDLG95_OnOpen() local
3340 answer = MessageBoxW(hwnd, lpstrOverwrite, fodInfos->title, in FILEDLG95_OnOpen()
3342 if (answer == IDNO || answer == IDCANCEL) in FILEDLG95_OnOpen()
3355 int answer; in FILEDLG95_OnOpen() local
3358 answer = MessageBoxW(hwnd, lpstrCreate, fodInfos->title, in FILEDLG95_OnOpen()
3360 if (answer == IDNO || answer == IDCANCEL) in FILEDLG95_OnOpen()
/reactos/media/doc/
H A Dnews186 frame ? The answer is that for shamlees operation of OS , a interrupt
/reactos/sdk/lib/3rdparty/stlport/doc/
H A DFAQ123 A2.0 STLport is a C++ library. So the answer is 'yes, you do'.
138 A2.2 The short answer is 'No'.

12