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

1234567891011>>

/haiku/src/libs/libunwind/dwarf/
H A DGstep.c32 int ret; local
34 if ((ret = dwarf_find_save_locs (c)) >= 0) {
36 ret = 1;
39 Debug (15, "returning %d\n", ret);
40 return ret;
/haiku/src/libs/libunwind/ia64/
H A DGis_signal_frame.c33 int ret; local
38 ret = ia64_fetch_proc_info (c, c->ip, 1);
39 if (ret < 0)
40 return ret;
42 ret = ia64_create_state_record (c, &sr);
43 if (ret < 0)
44 return ret;
48 ret = (sr.abi_marker != 0);
52 Debug (1, "(cursor=%p, ip=0x%016lx) -> %d\n", c, c->ip, ret);
53 return ret;
[all...]
H A DGget_proc_info.c32 int ret; local
34 if ((ret = ia64_make_proc_info (c)) < 0)
35 return ret;
/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/posix/glibc/arch/sparc/
H A De_sqrtl.c27 long double ret; local
28 _Qp_sqrt (&ret, &x);
29 return ret;
/haiku/src/tools/translation/inspector/
H A DStatusCheck.cpp43 StatusCheck::operator=(status_t ret) argument
45 if (ret != B_OK)
/haiku/src/libs/libunwind/sh/
H A DGis_signal_frame.c75 int ret; local
83 ret = (*a->access_mem) (as, ip, &w0, 0, arg);
84 if (ret < 0)
85 return ret;
90 ret = (*a->access_mem) (as, ip+4, &w0, 0, arg);
91 if (ret < 0)
92 return ret;
97 ret = (*a->access_mem) (as, ip+8, &w0, 0, arg);
98 if (ret < 0)
99 return ret;
[all...]
H A DGget_proc_info.c31 int ret; local
33 ret = dwarf_make_proc_info (&c->dwarf);
34 if (ret < 0)
35 return ret;
/haiku/src/libs/libunwind/mi/
H A DGget_proc_info_by_ip.c33 int ret; local
35 ret = unwi_find_dynamic_proc_info (as, ip, pi, 0, as_arg);
36 if (ret == -UNW_ENOINFO)
37 ret = (*a->find_proc_info) (as, ip, pi, 0, as_arg);
38 return ret;
/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/system/libnetwork/netresolv/inet/
H A Dinet_ntoa.c62 static char ret[18]; local
64 strlcpy(ret, "[inet_ntoa error]", sizeof(ret));
65 (void) inet_ntop(AF_INET, &in, ret, (socklen_t)sizeof ret);
66 return ret;
/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;
/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/libs/libunwind/hppa/
H A DGstep.c33 int ret, i; local
38 ret = dwarf_step (&c->dwarf);
40 if (ret < 0 && ret != -UNW_ENOINFO)
42 Debug (2, "returning %d\n", ret);
43 return ret;
46 if (unlikely (ret < 0))
51 Debug (13, "dwarf_step() failed (ret=%d), trying fallback\n", ret);
65 if ((ret
[all...]
/haiku/src/libs/icon/message/
H A DMessageImporter.cpp49 status_t ret = Init(icon); local
50 if (ret < B_OK) {
52 "Init() error: %s\n", strerror(ret));
53 return ret;
56 status_t ret;
65 ret = (status_t)read;
67 ret = B_IO_ERROR;
68 return ret;
82 ret = archive.Unflatten(stream);
83 if (ret !
124 status_t ret = archive->FindMessage("paths", &allPaths); local
149 status_t ret = archive->FindMessage("styles", &allStyles); local
174 status_t ret = archive->FindMessage("shapes", &allShapes); local
[all...]
/haiku/src/libs/libunwind/x86/
H A DGstep.c33 int ret, i; local
38 ret = dwarf_step (&c->dwarf);
40 if (ret < 0 && ret != -UNW_ENOINFO)
42 Debug (2, "returning %d\n", ret);
43 return ret;
46 if (unlikely (ret < 0))
56 Debug (13, "dwarf_step() failed (ret=%d), trying frame-chain\n", ret);
60 ret
[all...]
/haiku/src/libs/libunwind/aarch64/
H A DGget_proc_info.c31 int ret; local
33 ret = dwarf_make_proc_info (&c->dwarf);
34 if (ret < 0)
35 return ret;
/haiku/src/libs/libunwind/arm/
H A DGget_proc_info.c31 int ret; local
35 ret = dwarf_make_proc_info (&c->dwarf);
36 if (ret < 0)
37 return ret;
/haiku/src/libs/libunwind/mips/
H A DGget_proc_info.c31 int ret; local
35 ret = dwarf_make_proc_info (&c->dwarf);
36 if (ret < 0)
37 return ret;
/haiku/src/libs/libunwind/ppc/
H A DGget_proc_info.c33 int ret; local
35 ret = dwarf_make_proc_info (&c->dwarf);
36 if (ret < 0)
37 return ret;
/haiku/src/libs/libunwind/ppc64/
H A Dget_func_addr.c37 int ret; local
43 ret = (*a->access_mem) (as, addr, entry_point, 0, NULL);
44 if (ret < 0)
45 return ret;
/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...]
/haiku/src/system/glue/arch/x86/
H A Dcrtn.S15 ret
21 ret

Completed in 295 milliseconds

1234567891011>>