/freebsd-10-stable/contrib/ntp/lib/isc/nothreads/include/isc/ |
H A D | thread.h | 24 #include <isc/result.h>
|
/freebsd-10-stable/contrib/ntp/lib/isc/tests/ |
H A D | symtab_test.c | 50 isc_result_t result; local 58 result = isc_test_begin(NULL, ISC_TRUE); 59 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS); 61 result = isc_symtab_create(mctx, 3, undefine, NULL, ISC_FALSE, &st); 62 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS); 79 result = isc_symtab_define(st, key, 1, value, policy); 80 ATF_CHECK_EQ(result, ISC_R_SUCCESS); 81 if (result != ISC_R_SUCCESS) 96 result = isc_symtab_define(st, key, 1, value, policy); 97 ATF_CHECK_EQ(result, ISC_R_EXIST [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/API/ |
H A D | SBQueueItem.cpp | 68 QueueItemKind result = eQueueItemKindUnknown; local 71 result = m_queue_item_sp->GetKind (); 73 return result; 88 SBAddress result; local 91 result.SetAddress (&m_queue_item_sp->GetAddress()); 93 return result; 108 SBThread result; local 116 result.SetThread (thread_sp); 119 return result;
|
/freebsd-10-stable/contrib/sendmail/libsm/ |
H A D | mpeix.c | 102 int result; local 117 result = bind(sd, addr, addrlen); 120 return result; 146 int result; local 151 result = wait(NULL); 152 } while (result > 0 || errno == EINTR); 175 int result; local 180 result = wait(NULL); 181 } while (result > 0 || errno == EINTR); 203 int len, result; local 269 struct passwd *result = NULL; local 333 struct passwd *result; local 611 int result; local [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/ |
H A D | parseint.c | 29 #include <isc/result.h> 51 isc_result_t result; local 52 result = isc_parse_uint32(&val, string, base); 53 if (result != ISC_R_SUCCESS) 54 return (result); 64 isc_result_t result; local 65 result = isc_parse_uint32(&val, string, base); 66 if (result != ISC_R_SUCCESS) 67 return (result);
|
/freebsd-10-stable/contrib/sendmail/contrib/ |
H A D | qtool.pl | 66 my $result; 86 $result = $destination->add($source); 87 if ($result) 89 print("$result.\n"); 189 "result in undelivered mail!\n"); 208 $result = add_source(\%sources, $source_name); 209 if ($result) 211 print("$result.\n"); 223 $result = $conditions->check_move($source, $destination); 224 if ($result) [all...] |
/freebsd-10-stable/lib/libc/tests/gen/ |
H A D | fmtmsg_test.c | 53 const char *result; member in struct:testcase 165 char *result, *p; local 188 result = malloc(resultsize); 189 p = result; 190 while ((n = read(pip[0], p, result + resultsize - p - 1)) != 0) { 198 if (result + resultsize == p - 1) { 200 result = realloc(result, resultsize); 201 if (result == NULL) 205 if (memchr(result, '\ 225 char *result; local [all...] |
/freebsd-10-stable/contrib/libarchive/cpio/test/ |
H A D | test_format_newc.c | 91 char result[1024]; local 126 /* Setup result message. */ 127 memset(result, 0, sizeof(result)); 129 strncat(result, 131 sizeof(result) - strlen(result) -1); 132 strncat(result, strerror(ERANGE), 133 sizeof(result) - strlen(result) [all...] |
/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_raw.c | 82 int result = ERR; local 101 if ((result = _nc_set_tty_mode(&buf)) == OK) { 108 returnCode(result); 114 int result = ERR; local 134 if ((result = _nc_set_tty_mode(&buf)) == OK) { 140 returnCode(result); 150 int result = ERR; local 161 result = _nc_set_tty_mode(&buf); 165 if (result == OK) 175 int result local 206 int result = ERR; local 239 int result = ERR; local 272 int result = ERR; local [all...] |
H A D | lib_ttyflags.c | 46 int result = OK; local 49 result = ERR; 52 result = ERR; 58 result = ERR; 64 if (result == ERR) 71 return (result); 77 int result = OK; local 80 result = ERR; 83 result = ERR; 91 result 188 TTY *result = 0; local [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Commands/ |
H A D | CommandObjectApropos.cpp | 57 CommandObjectApropos::DoExecute (Args& args, CommandReturnObject &result) argument 79 result.AppendMessageWithFormat ("No commands found pertaining to '%s'. Try 'help' to see a complete list of debugger commands.\n", search_word); 85 result.AppendMessageWithFormat ("The following built-in commands may relate to '%s':\n", search_word); 96 m_interpreter.OutputFormattedHelpText (result.GetOutputStream(), 102 result.AppendMessage(""); 107 result.AppendMessageWithFormat ("The following user commands may relate to '%s':\n", search_word); 118 m_interpreter.OutputFormattedHelpText (result.GetOutputStream(), 133 result.AppendMessageWithFormat ("\nThe following settings variables may relate to '%s': \n\n", search_word); 135 properties[i]->DumpDescription (m_interpreter, result.GetOutputStream(), 0, dump_qualified_name); 139 result [all...] |
H A D | CommandObjectLog.cpp | 184 CommandReturnObject &result) 188 result.AppendErrorWithFormat("%s takes a log channel and one or more log types.\n", m_cmd_name.c_str()); 203 result.GetErrorStream()); 205 result.SetStatus (eReturnStatusSuccessFinishNoResult); 207 result.SetStatus (eReturnStatusFailed); 209 return result.Succeeded(); 272 CommandReturnObject &result) 277 result.AppendErrorWithFormat("%s takes a log channel and one or more log types.\n", m_cmd_name.c_str()); 287 log_callbacks.disable (args.GetConstArgumentVector(), &result.GetErrorStream()); 288 result 183 DoExecute(Args& args, CommandReturnObject &result) argument 271 DoExecute(Args& args, CommandReturnObject &result) argument 343 DoExecute(Args& args, CommandReturnObject &result) argument 407 DoExecute(Args& args, CommandReturnObject &result) argument [all...] |
/freebsd-10-stable/contrib/ncurses/form/ |
H A D | fty_int.c | 90 thisARG *result = (thisARG *) 0; local 94 result = typeMalloc(thisARG, 1); 95 if (result) 97 T((T_CREATE("thisARG %p"), result)); 98 *result = *ap; 101 return (void *)result; 141 bool result = FALSE; local 159 result = TRUE; 166 result = FALSE; 176 result [all...] |
H A D | fty_alnum.c | 81 thisARG *result = typeMalloc(thisARG, 1); local 83 if (result) 85 T((T_CREATE("thisARG %p"), result)); 86 *result = *ap; 89 return ((void *)result); 144 bool result = (width < 0); local 146 Check_CTYPE_Field(result, bp, width, Check_This_Character); 147 return (result);
|
H A D | fty_alpha.c | 81 thisARG *result = typeMalloc(thisARG, 1); local 83 if (result) 85 T((T_CREATE("thisARG %p"), result)); 86 *result = *ap; 89 return ((void *)result); 144 bool result = (width < 0); local 146 Check_CTYPE_Field(result, bp, width, Check_This_Character); 147 return (result);
|
/freebsd-10-stable/contrib/binutils/libiberty/ |
H A D | vasprintf.c | 64 int_vasprintf (char **result, const char *format, va_list args) argument 144 *result = (char *) malloc (total_width); 145 if (*result != NULL) 146 return vsprintf (*result, format, args); 152 vasprintf (char **result, const char *format, argument 159 return int_vasprintf (result, format, args); 166 char *result; local 169 vasprintf (&result, format, args); 172 if (strlen (result) < (size_t) global_total_width) 176 printf ("%d %s\n", global_total_width, result); [all...] |
/freebsd-10-stable/contrib/compiler-rt/lib/ppc/ |
H A D | fixtfdi.c | 26 int64_t result = hibits.x & INT64_C(0x000fffffffffffff); /* mantissa(hi) */ local 27 result |= INT64_C(0x0010000000000000); /* matissa(hi) with implicit bit */ 28 result <<= 10; /* mantissa(hi) with one zero preceeding bit. */ 54 result += tailMantissa; 57 result >>= (62 - unbiasedHeadExponent); 59 /* Restore the sign of the result and return */ 60 result = (result ^ hiNegationMask) - hiNegationMask; 61 return result; 67 /* |x| < 1, result i 74 int64_t result = INT64_MIN; local [all...] |
/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | vasprintf.c | 64 int_vasprintf (char **result, const char *format, va_list args) argument 144 *result = (char *) malloc (total_width); 145 if (*result != NULL) 146 return vsprintf (*result, format, args); 152 vasprintf (char **result, const char *format, argument 159 return int_vasprintf (result, format, args); 166 char *result; local 169 vasprintf (&result, format, args); 172 if (strlen (result) < (size_t) global_total_width) 176 printf ("%d %s\n", global_total_width, result); [all...] |
/freebsd-10-stable/contrib/unbound/smallapp/ |
H A D | unbound-host.c | 210 secure_str(struct ub_result* result) argument 212 if(result->secure) return "(secure)"; 213 if(result->bogus) return "(BOGUS (security failure))"; 278 pretty_output(char* q, int t, int c, struct ub_result* result, int docname) argument 281 const char *secstatus = secure_str(result); 287 pretty_rcode(rcodestr, 16, result->rcode); 289 if(!result->havedata && result->rcode) { 291 q, result->rcode, rcodestr); 295 if(result 359 struct ub_result* result; local [all...] |
/freebsd-10-stable/tools/regression/lib/libc/gen/ |
H A D | test-fmtmsg.c | 51 const char *result; member in struct:testcase 163 char *result, *p; local 186 result = malloc(resultsize); 187 p = result; 188 while ((n = read(pip[0], p, result + resultsize - p - 1)) != 0) { 196 if (result + resultsize == p - 1) { 198 result = realloc(result, resultsize); 199 if (result == NULL) 203 if (memchr(result, '\ 225 char *result; local [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | getlogin.c | 75 char *result; local 79 result = getlogin_basic(&status); 81 return (result); 87 char *result; local 96 result = getlogin_basic(&status); 97 if (status == 0 && result != NULL) { 98 len = strlen(result) + 1; 102 strncpy(logname, result, len);
|
/freebsd-10-stable/sys/arm/arm/ |
H A D | bootconfig.c | 54 get_bootconf_option(opts, opt, type, result) 58 void *result; 99 *((int *)result) = ((u_int)strtoul(ptr, NULL, 10) != 0); 101 *((int *)result) = !not; 104 *((char **)result) = ptr; 107 *((int *)result) = (u_int)strtoul(ptr, NULL, 10); 110 *((int *)result) = (u_int)strtoul(ptr, NULL, 2); 113 *((int *)result) = (u_int)strtoul(ptr, NULL, 16);
|
/freebsd-10-stable/tools/tools/vt/keymaps/ |
H A D | convert-INDEX.pl | 34 my $result = $converter->convert($string); 36 unless $result; 37 return $result; 42 my $result; 45 $result .= "," 46 if $result; 47 $result .= $LANG_NEW{$lang}; 49 return $result;
|
H A D | convert-keymaps.pl | 34 my $result = $converter->convert($string); 36 unless $result; 37 return $result; 42 my $result; 45 $result .= "," 46 if $result; 47 $result .= $LANG_NEW{$lang}; 49 return $result;
|
/freebsd-10-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | resultclass.h | 27 * A result class number is an unsigned 16 bit number. Each class may 28 * contain up to 65536 results. A result code is formed by adding the 29 * result number within the class to the class number multiplied by 65536. 38 #define ISC_RESULTCLASS_INCLASS(rclass, result) \ 39 ((rclass) == ((result) & 0xFFFF0000))
|