Searched refs:result (Results 1 - 25 of 1902) sorted by relevance

1234567891011>>

/haiku-fatelf/src/system/libroot/posix/glibc/locale/
H A Delem-hash.h25 int32_t result = n; local
29 result <<= 3;
30 result += *str++;
33 return result;
/haiku-fatelf/src/bin/coreutils/lib/
H A Ddirname.c34 char *result = mdir_name (file); local
35 if (!result)
37 return result;
H A Ddup2.c41 int result; local
63 result = dup2 (fd, desired_fd);
68 if (fd == desired_fd && result == (unsigned int) -EBADF)
71 result = -1;
74 if (result == 0)
75 result = desired_fd;
77 else if (result == -1 && errno == EMFILE)
80 if (fd != desired_fd && result != -1)
81 result = _gl_register_dup (fd, result);
111 int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; local
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/
H A Ddrand48.c28 double result; local
30 (void) __erand48_r (__libc_drand48_data.__x, &__libc_drand48_data, &result);
32 return result;
H A Derand48.c29 double result; local
31 (void) __erand48_r (xsubi, &__libc_drand48_data, &result);
33 return result;
H A Djrand48.c29 long int result; local
31 (void) __jrand48_r (xsubi, &__libc_drand48_data, &result);
33 return result;
H A Dlrand48.c28 long int result; local
30 (void) __nrand48_r (__libc_drand48_data.__x, &__libc_drand48_data, &result);
32 return result;
H A Dmrand48.c28 long int result; local
30 (void) __jrand48_r (__libc_drand48_data.__x, &__libc_drand48_data, &result);
32 return result;
H A Dnrand48.c29 long int result; local
31 (void) __nrand48_r (xsubi, &__libc_drand48_data, &result);
33 return result;
/haiku-fatelf/src/tools/bfs_shell/
H A Dcommand_checkfs.cpp34 struct check_control result; local
35 memset(&result, 0, sizeof(result));
36 result.magic = BFS_IOCTL_CHECK_MAGIC;
37 result.flags = 0;
39 result.flags |= BFS_FIX_BITMAP_ERRORS | BFS_REMOVE_WRONG_TYPES
45 &result, sizeof(result));
52 uint32 previousPass = result.pass;
55 while (_kern_ioctl(rootDir, BFS_IOCTL_CHECK_NEXT_NODE, &result,
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/strftime/
H A D2-1.c29 int result; local
39 * result = strftime(text, 256, "%Ec", local_t);
40 * printf("Ec Bytes %i %s ", result, text);
41 * if ( result != 31 ) {
49 result = strftime(text, 256, "%EC", local_t);
50 printf("EC Bytes %i %s ", result, text);
51 if ( result != 2 ) {
59 * result = strftime(text, 256 , "%Ex", local_t);
60 * printf("Ex Bytes %i %s ", result, text);
61 * if ( result !
[all...]
H A D1-1.c28 int result; local
37 result = strftime(text, 256, "%a", local_t);
38 printf("a Bytes %i %s ", result, text);
39 if ( result != 3 ) {
46 result = strftime(text, 256, "%A", local_t);
47 printf("A Bytes %i %s ", result, text);
48 if ( result <= 5 ) {
55 result = strftime(text, 256 , "%b", local_t);
56 printf("b Bytes %i %s ", result, text);
57 if ( result !
[all...]
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dbenchmark_result.c44 static char result = '\0'; local
46 return (&result);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/
H A Dadditional_commands.c17 struct check_control result; local
27 memset(&result, 0, sizeof(result));
28 result.magic = BFS_IOCTL_CHECK_MAGIC;
29 result.flags = argc > 1 ? BFS_FIX_BITMAP_ERRORS : 0;
32 result.flags |= BFS_REMOVE_WRONG_TYPES | BFS_REMOVE_INVALID;
36 if ((sys_ioctl(1, fd, BFS_IOCTL_START_CHECKING, &result, sizeof(result))) < 0) {
41 while (sys_ioctl(1, fd, BFS_IOCTL_CHECK_NEXT_NODE, &result, sizeof(result))
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/widechar/
H A Dcharable.c39 bool result; local
41 result = (wctob((wint_t) ch) == ch);
43 result = (_nc_to_char(ch) >= 0);
45 return result;
50 int result; local
52 result = wctob(ch);
55 result = wctomb(temp, ch);
57 result = UChar(temp[0]);
59 result = -1;
61 return result;
66 wint_t result; local
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/FileSharing-Windows/
H A Dmtvfolder.cpp19 long result; local
20 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
21 return result;
26 CString result; local
27 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
28 return result;
33 CString result; local
34 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
35 return result;
40 VARIANT result; local
47 CString result; local
54 CString result; local
61 BOOL result; local
76 LPUNKNOWN result; local
83 long result; local
93 BOOL result; local
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/munlockall/
H A D5-1.c33 int result; local
35 result = munlockall();
37 if(result == 0){
45 result);
54 int result; local
63 result = munlockall();
65 if( (result == 0 && memlock > 0) || (result == -1 && memlock <=0) ){
73 result);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mlockall/
H A D13-1.c21 int result; local
23 result = mlockall(0);
25 if(result == -1 && errno == EINVAL) {
28 } else if(result != -1) {
29 printf("mlockall() return %i instead of -1.\n", result);
H A D13-2.c21 int result; local
23 result = mlockall(~(MCL_CURRENT|MCL_FUTURE));
25 if(result == -1 && errno == EINVAL) {
28 } else if(result != -1) {
29 printf("mlockall() return %i instead of -1.\n", result);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_getparam/speculative/
H A D7-1.c24 int result = -1; local
26 result = sched_getparam( 0, NULL);
28 if(result == -1 && errno == EFAULT) {
32 if(result == -1 && errno == EINVAL) {
38 result, errno);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_rr_get_interval/speculative/
H A D5-1.c25 int result = -2; local
27 result = sched_rr_get_interval(0, NULL);
29 if(result == -1 && errno == EFAULT) {
33 if(result == -1 && errno == EINVAL) {
39 result, errno);
/haiku-fatelf/src/add-ons/translators/exr/
H A Dmain.cpp21 status_t result; local
22 result = LaunchTranslatorWindow(new EXRTranslator,
24 if (result != B_OK)
/haiku-fatelf/src/add-ons/translators/icns/
H A Dmain.cpp17 status_t result; local
18 result = LaunchTranslatorWindow(new ICNSTranslator,
20 if (result != B_OK)
/haiku-fatelf/src/add-ons/translators/tga/
H A DTGAMain.cpp56 status_t result; local
57 result = LaunchTranslatorWindow(new TGATranslator,
59 if (result == B_OK) {
/haiku-fatelf/src/add-ons/translators/tiff/
H A DTIFFMain.cpp60 status_t result; local
61 result = LaunchTranslatorWindow(new TIFFTranslator,
63 if (result == B_OK) {

Completed in 171 milliseconds

1234567891011>>