Searched refs:ret (Results 1 - 25 of 561) sorted by relevance

1234567891011>>

/haiku/src/libs/iconv/
H A Dgb12345.h38 int ret; local
42 ret = gb12345ext_mbtowc(conv,pwc,s,n);
43 if (ret != RET_ILSEQ)
44 return ret;
46 ret = gb2312_mbtowc(conv,pwc,s,n);
47 return ret;
53 int ret; local
57 ret = gb12345ext_wctomb(conv,r,wc,n);
58 if (ret != RET_ILUNI)
59 return ret;
[all...]
H A Disoir165.h86 int ret; local
96 ret = isoir165ext_mbtowc(conv,pwc,buf,2);
97 if (ret != RET_ILSEQ)
98 return ret;
103 ret = gb2312_mbtowc(conv,pwc,s,n);
104 if (ret != RET_ILSEQ)
105 return ret;
111 int ret = iso646_cn_mbtowc(conv,pwc,s+1,1); local
112 if (ret != 1) abort();
120 ret
128 int ret; local
[all...]
/haiku/src/system/libroot/os/arch/riscv64/
H A Dsyscalls.inc13 ret; \
/haiku/src/tools/translation/inspector/
H A DStatusCheck.cpp43 StatusCheck::operator=(status_t ret) argument
45 if (ret != B_OK)
/haiku/src/kits/mail/
H A Dnumailkit.cpp64 status_t ret = B_OK; local
75 ret = account_dir.InitCheck();
76 if (ret != B_OK)
79 path.Path(), strerror(ret));
80 return ret;
85 ret = settings_entry.SetTo(&account_dir,leaf.String());
86 if (ret != B_OK)
89 path.Path(), leaf.String(), strerror(ret));
90 return ret;
150 ret
[all...]
/haiku/src/apps/drivesetup/
H A DDriveSetup.cpp66 status_t ret = B_ERROR; local
68 ret = fWindow->StoreSettings(&fSettings);
72 if (ret < B_OK) {
73 fprintf(stderr, "failed to store settings: %s\n", strerror(ret));
74 return ret;
78 ret = _GetSettingsFile(file, true);
79 if (ret < B_OK)
80 return ret;
82 ret = fSettings.Flatten(&file);
83 if (ret < B_O
96 status_t ret = _GetSettingsFile(file, false); local
120 status_t ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_timingsafe.c23 int ret = 0; local
26 ret |= *p1++ ^ *p2++;
27 return (ret != 0);
/haiku/src/apps/icon-o-matic/document/savers/
H A DNativeSaver.cpp32 status_t ret = SimpleFileSaver::Save(document); local
33 if (ret != B_OK) {
34 fprintf(stderr, "Error saving icon: %s\n", strerror(ret));
35 return ret;
40 ret = fAttrSaver.Save(document);
41 if (ret != B_OK) {
42 fprintf(stderr, "Error saving icon attribute: %s\n", strerror(ret));
43 return ret;
H A DMessengerSaver.cpp38 status_t ret = exporter.Export(document->Icon(), &stream); local
39 if (ret < B_OK)
40 return ret;
43 ret = message.AddData("icon data", B_VECTOR_ICON_TYPE,
45 if (ret < B_OK)
46 return ret;
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_settings.cpp23 status_t ret = B_BAD_VALUE; local
26 if ((ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) == B_OK) {
29 ret = path.Append(folder);
30 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK) {
32 if ((ret = file.InitCheck()) == B_OK) {
33 ret = message->Unflatten(&file);
39 return ret;
46 status_t ret = B_BAD_VALUE; local
49 if ((ret
[all...]
/haiku/src/apps/haikudepot/textview/
H A DCharacterStyleData.cpp104 CharacterStyleData* ret = new(std::nothrow) CharacterStyleData(*this);
105 if (ret == NULL)
108 ret->fFont = font;
109 return CharacterStyleDataRef(ret, true);
119 CharacterStyleData* ret = new(std::nothrow) CharacterStyleData(*this);
120 if (ret == NULL)
123 ret->fAscent = ascent;
124 return CharacterStyleDataRef(ret, true);
146 CharacterStyleData* ret = new(std::nothrow) CharacterStyleData(*this);
147 if (ret
[all...]
H A DParagraphStyleData.cpp75 ParagraphStyleData* ret = new(std::nothrow) ParagraphStyleData(*this);
76 if (ret == NULL)
79 ret->fAlignment = alignment;
80 return ParagraphStyleDataRef(ret, true);
90 ParagraphStyleData* ret = new(std::nothrow) ParagraphStyleData(*this);
91 if (ret == NULL)
94 ret->fJustify = justify;
95 return ParagraphStyleDataRef(ret, true);
105 ParagraphStyleData* ret = new(std::nothrow) ParagraphStyleData(*this);
106 if (ret
[all...]
/haiku/src/system/glue/arch/x86/
H A Dcrtn.S15 ret
21 ret
/haiku/src/tests/system/libroot/posix/
H A Dposix_spawn_redir_test.c6 #define panic(str) if (ret != 0) { errno = ret; perror(str); return 1; }
9 int ret; local
13 ret = posix_spawn_file_actions_init(&child_fd_acts);
15 ret = posix_spawn_file_actions_addopen(&child_fd_acts, 1, "errlog",
18 ret = posix_spawn_file_actions_adddup2(&child_fd_acts, 1, 2);
20 ret = posix_spawn(&child, "./posix_spawn_redir_err", &child_fd_acts, NULL, av, NULL);
H A Dgnulib-test-wcsrtombs.c42 size_t ret; local
58 ret = mbstowcs (input, original, 10);
59 assert(ret == 7);
64 ret = wcsrtombs (NULL, &src, n, NULL);
65 assert(ret == 7);
69 ret = wcsrtombs (buf, &src, n, NULL);
70 assert(ret == (n <= 7 ? n : 7));
72 assert(memcmp (buf, original, ret) == 0);
74 assert(buf[ret] == '\0');
75 assert(buf[ret
[all...]
/haiku/src/apps/icon-o-matic/import_export/message/
H A DMessageExporter.cpp41 status_t ret = B_OK; local
48 if (ret == B_OK) {
54 ret = _Export(path, &pathArchive);
55 if (ret < B_OK)
57 ret = allPaths.AddMessage("path", &pathArchive);
58 if (ret < B_OK)
62 if (ret == B_OK)
63 ret = archive.AddMessage("paths", &allPaths);
67 if (ret == B_OK) {
73 ret
155 status_t ret = B_OK; local
[all...]
/haiku/src/apps/installer/
H A DCopyEngine.cpp118 status_t ret = _CollectCopyInfo(source, cancelSemaphore, bytesToCopy, local
120 if (ret == B_OK && fProgressReporter != NULL)
122 return ret;
130 status_t ret; local
133 ret = source.InitCheck();
134 if (ret != B_OK)
135 return ret;
138 ret = destination.InitCheck();
139 if (ret != B_OK)
140 return ret;
150 status_t ret = directory.InitCheck(); local
181 status_t ret = source.InitCheck(); local
259 status_t ret = source.InitCheck(); local
318 status_t ret = source.GetStat(&sourceInfo); local
545 status_t ret = fBufferQueue.Pop(&buffer, bufferWaitTimeout); local
[all...]
H A DUnzipEngine.cpp68 status_t ret = commandPipe.AddArg("unzip"); local
69 if (ret == B_OK)
70 ret = commandPipe.AddArg("-l");
71 if (ret == B_OK)
72 ret = commandPipe.AddArg(fPackage.String());
73 if (ret != B_OK)
74 return ret;
83 ret = commandPipe.ReadLines(stdOutAndErrPipe, this);
89 return ret;
100 status_t ret local
[all...]
/haiku/src/apps/deskcalc/
H A DCalcApplication.cpp112 status_t ret = fCalcWindow->SaveSettings(&archive); local
116 if (ret < B_OK) {
118 "%s\n", strerror(ret));
124 ret = _InitSettingsFile(&prefsFile, true);
125 if (ret < B_OK) {
127 "error creating file: %s\n", strerror(ret));
131 ret = archive.Flatten(&prefsFile);
132 if (ret < B_OK) {
134 "to file: %s\n", strerror(ret));
145 status_t ret local
[all...]
H A DCalcOptions.cpp54 status_t ret = archive->AddBool("auto num lock", auto_num_lock); local
56 if (ret == B_OK)
57 ret = archive->AddBool("audio feedback", audio_feedback);
59 if (ret == B_OK)
60 ret = archive->AddBool("degree mode", degree_mode);
62 if (ret == B_OK)
63 ret = archive->AddUInt8("keypad mode", keypad_mode);
65 return ret;
/haiku/src/apps/haikudepot/ui_generic/
H A Dsupport.cpp31 status_t ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local
32 if (ret != B_OK)
33 return ret;
37 ret = path.Append(folder);
39 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK ) {
41 ret = file.InitCheck();
42 if (ret == B_OK)
43 ret = message->Unflatten(&file);
46 return ret;
57 status_t ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local
[all...]
/haiku/src/system/libroot/posix/arch/sparc/
H A Dsigsetjmp.S12 ret
/haiku/src/system/libroot/os/arch/x86/
H A Dget_stack_frame.S12 ret
/haiku/src/system/libroot/os/arch/x86_64/
H A Dget_stack_frame.S13 ret
/haiku/src/system/libroot/os/arch/arm64/
H A Dget_stack_frame.S10 ret

Completed in 123 milliseconds

1234567891011>>