/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | xstrndup.c | 26 without fail, using @code{xmalloc} to obtain memory. The result is 50 char *result; local 56 result = XNEWVEC (char, len + 1); 58 result[len] = '\0'; 59 return (char *) memcpy (result, s, len);
|
H A D | strndup.c | 27 memory was available. The result is always NUL terminated. 43 char *result; local 49 result = (char *) malloc (len + 1); 50 if (!result) 53 result[len] = '\0'; 54 return (char *) memcpy (result, s, len);
|
/freebsd-10-stable/contrib/unbound/libunbound/python/doc/examples/ |
H A D | example7-1.py | 11 status, result = ctx.resolve(u"www.h����ky����rky.cz", unbound.RR_TYPE_A, unbound.RR_CLASS_IN) 12 if status == 0 and result.havedata: 14 print " raw data:", result.data 15 for k in result.data.address_list:
|
H A D | example7-2.py | 11 status, result = ctx.resolve(u"h����ky����rky.cz", unbound.RR_TYPE_MX, unbound.RR_CLASS_IN) 12 if status == 0 and result.havedata: 14 print " raw data:", result.data 15 for k in result.data.mx_list_idn:
|
H A D | example6-1.py | 7 status, result = ctx.resolve("test.record.xxx", RR_TYPE_A, RR_CLASS_IN) 8 if status == 0 and result.havedata: 9 print "Result:", result.data.address_list 22 status, result = ctx.resolve("test.record.xxx", RR_TYPE_A, RR_CLASS_IN) 23 if status == 0 and result.havedata: 24 print "Result:", result.data.as_address_list()
|
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | findconfig.c | 19 static char result[BUFSIZ]; local 25 strlcpy(result, base, sizeof(result)); 26 if (stat(result, &sbuf) == 0) { 31 snprintf(result, sizeof(result), "%s/%s", base, hostname); 32 if (stat(result, &sbuf) == 0) { 42 snprintf(result, sizeof(result), "%s/default.%s", base, cp); 43 if (stat(result, [all...] |
/freebsd-10-stable/contrib/unbound/libunbound/python/examples/ |
H A D | reverse-lookup.py | 41 status, result = ctx.resolve(unbound.reverse("74.125.43.147") + ".in-addr.arpa.", unbound.RR_TYPE_PTR, unbound.RR_CLASS_IN) 42 if status == 0 and result.havedata: 43 print("Result.data:", result.data, sorted(result.data.domain_list))
|
H A D | ns-lookup.py | 42 status, result = ctx.resolve("vutbr.cz", unbound.RR_TYPE_NS, unbound.RR_CLASS_IN) 43 if status == 0 and result.havedata: 45 print(" raw data:", result.data) 46 for k in sorted(result.data.domain_list):
|
H A D | dnssec-valid.py | 49 status, result = ctx.resolve("www.nic.cz", RR_TYPE_A, RR_CLASS_IN) 50 if status == 0 and result.havedata: 52 print("Result:", sorted(result.data.address_list)) 54 if result.secure: 56 elif result.bogus:
|
/freebsd-10-stable/sys/boot/common/ |
H A D | devopen.c | 39 int result; local 41 result = archsw.arch_getdev((void **)&dev, fname, file); 42 if (result) 43 return (result); 47 result = dev->d_dev->dv_open(f, dev); 48 if (result != 0) { 51 return (result);
|
/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | hashed_db.c | 51 DB *result = 0; local 54 db_create(&result, NULL, 0); 55 result->open(result, 63 db_create(&result, NULL, 0); 64 result->open(result, 79 &result)) != 0) { 81 result = 0; 86 result 104 int result; local 125 int result; local 144 int result; local 163 int result; local 185 int result; local 207 bool result = FALSE; local 230 bool result = FALSE; local [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Commands/ |
H A D | CommandObjectGUI.cpp | 39 CommandObjectGUI::DoExecute (Args& args, CommandReturnObject &result) argument 48 result.SetStatus (eReturnStatusSuccessFinishResult); 52 result.AppendError("the gui command takes no arguments."); 53 result.SetStatus (eReturnStatusFailed); 57 result.AppendError("lldb was not build with gui support");
|
/freebsd-10-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_key_name.c | 48 static char result[MB_LEN_MAX + 1]; local 55 len = wcstombs(result, my_wchars, sizeof(result) - 1); 60 result[len] = '\0'; 61 return result;
|
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | localtime_r.c | 43 localtime_r(const time_t *timer, struct tm *result) argument 47 return (localtime_s(result, timer) == 0)? result : NULL; 55 *result = *tm; 56 return result;
|
/freebsd-10-stable/lib/libc/net/ |
H A D | nscachedcli.c | 64 size_t result; local 73 result = 0; 78 s_result = _sendto(connection->sockfd, data + result, 79 eventlist.data < data_size - result ? 80 eventlist.data : data_size - result, MSG_NOSIGNAL, 85 result += s_result; 88 return (result < data_size ? -1 : 0); 91 } while (result < data_size); 106 size_t result; local 116 result 147 ssize_t result; local 261 int result; local 313 int result; local 384 int result; local 427 int request, result; local 461 int result; local 477 int result; local 492 int result; local 533 int request, result; local [all...] |
/freebsd-10-stable/contrib/atf/test-programs/ |
H A D | expect_test.sh | 36 atf_check -s eq:0 -e ignore "${h}" -r result expect_pass_and_pass 37 check_result result "passed" 39 atf_check -s eq:1 -e ignore "${h}" -r result \ 41 check_result result "failed: Some reason" 48 "${h}" -r result expect_pass_but_fail_check 49 check_result result "failed: 1 checks failed" 56 atf_check -s eq:0 "${h}" -r result expect_fail_and_fail_requirement 57 check_result result "expected_failure: Fail reason: The failure" 60 -e not-match:"And fail again" "${h}" -r result expect_fail_but_pass 61 check_result result "faile [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/ |
H A D | assertions.c | 30 #include <isc/result.h> 74 const char *result; local 83 result = "REQUIRE"; 86 result = "ENSURE"; 89 result = "INSIST"; 92 result = "INVARIANT"; 95 result = NULL; 97 return (result); 112 isc_result_t result; local 114 result [all...] |
/freebsd-10-stable/contrib/ntp/sntp/tests/ |
H A D | keyFile.c | 87 struct key * result = NULL; local 96 get_key(40, &result); 97 TEST_ASSERT_NOT_NULL(result); 98 TEST_ASSERT_TRUE(CompareKeysAlternative(40, 11, "MD5", "asciikeyTwo", *result)); 100 result = NULL; 101 get_key(50, &result); 102 TEST_ASSERT_NOT_NULL(result); 103 TEST_ASSERT_TRUE(CompareKeysAlternative(50, 11, "MD5", "asciikeyOne", *result)); 111 struct key * result = NULL; local 121 get_key(10, &result); 146 struct key * result = NULL; local 172 struct key * result = NULL; local [all...] |
H A D | kodDatabase.c | 35 struct kod_entry* result; local 37 TEST_ASSERT_EQUAL(1, search_entry(HOST, &result)); 38 TEST_ASSERT_EQUAL_STRING(HOST, result->hostname); 39 TEST_ASSERT_EQUAL_STRING(REASON, result->type); 58 struct kod_entry* result; local 60 TEST_ASSERT_EQUAL(1, search_entry(HOST1, &result)); 61 TEST_ASSERT_EQUAL_STRING(HOST1, result->hostname); 62 TEST_ASSERT_EQUAL_STRING(REASON1, result->type); 64 TEST_ASSERT_EQUAL(1, search_entry(HOST2, &result)); 65 TEST_ASSERT_EQUAL_STRING(HOST2, result 84 struct kod_entry* result; local 129 struct kod_entry* result; local [all...] |
/freebsd-10-stable/contrib/compiler-rt/lib/ |
H A D | ashldi3.c | 28 dwords result; local 32 result.s.low = 0; 33 result.s.high = input.s.low << (b - bits_in_word); 39 result.s.low = input.s.low << b; 40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b)); 42 return result.all;
|
H A D | ashlti3.c | 28 twords result; local 32 result.s.low = 0; 33 result.s.high = input.s.low << (b - bits_in_dword); 39 result.s.low = input.s.low << b; 40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_dword - b)); 42 return result.all;
|
H A D | lshrdi3.c | 28 udwords result; local 32 result.s.high = 0; 33 result.s.low = input.s.high >> (b - bits_in_word); 39 result.s.high = input.s.high >> b; 40 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); 42 return result.all;
|
H A D | lshrti3.c | 28 utwords result; local 32 result.s.high = 0; 33 result.s.low = input.s.high >> (b - bits_in_dword); 39 result.s.high = input.s.high >> b; 40 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b); 42 return result.all;
|
/freebsd-10-stable/lib/libutil/tests/ |
H A D | flopen_test.c | 51 const char *result = NULL; local 57 result = strerror(errno); 62 return (result); 72 const char *result = NULL; local 77 result = strerror(errno); 82 result = strerror(errno); 88 return (result); 98 const char *result = NULL; local 104 result = strerror(errno); 108 result 124 const char *result = NULL; local 155 const char *result = NULL; local 196 const char *result; local [all...] |
/freebsd-10-stable/lib/msun/src/ |
H A D | s_fmaf.c | 45 double xy, result; local 49 result = xy + z; 50 EXTRACT_WORDS(hr, lr, result); 51 /* Common case: The double precision result is fine. */ 54 result - xy == z || /* exact */ 56 return (result); 59 * If result is inexact, and exactly halfway between two float values, 66 if (result == adjusted_result)
|