Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 98) sorted by relevance

1234

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcollate.c59 int rc; in ntfs_collate_binary() local
62 rc = memcmp(data1, data2, min(data1_len, data2_len)); in ntfs_collate_binary()
63 if (!rc && (data1_len != data2_len)) { in ntfs_collate_binary()
65 rc = -1; in ntfs_collate_binary()
67 rc = 1; in ntfs_collate_binary()
69 ntfs_log_trace("Done, returning %i.\n", rc); in ntfs_collate_binary()
70 return rc; in ntfs_collate_binary()
89 int rc; in ntfs_collate_ntofs_ulong() local
100 rc = -1; in ntfs_collate_ntofs_ulong()
103 rc = 0; in ntfs_collate_ntofs_ulong()
[all …]
/haiku/src/libs/compat/freebsd_iflib/compat/
H A Difdi_if.h45 int rc; in IFDI_KNLIST_ADD() local
47 rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); in IFDI_KNLIST_ADD()
48 return (rc); in IFDI_KNLIST_ADD()
57 int rc; in IFDI_KNOTE_EVENT() local
59 rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); in IFDI_KNOTE_EVENT()
60 return (rc); in IFDI_KNOTE_EVENT()
70 int rc; in IFDI_OBJECT_INFO_GET() local
72 rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); in IFDI_OBJECT_INFO_GET()
73 return (rc); in IFDI_OBJECT_INFO_GET()
82 int rc; in IFDI_ATTACH_PRE() local
[all …]
/haiku/src/apps/codycam/
H A DFtpClient.cpp41 bool rc = false; in ChangeDir() local
54 rc = true; in ChangeDir()
57 return rc; in ChangeDir()
64 bool rc = false; in ListDirContents() local
90 rc = true; in ListDirContents()
101 return rc; in ListDirContents()
108 bool rc = false; in PrintWorkingDir() local
121 rc = true; in PrintWorkingDir()
127 return rc; in PrintWorkingDir()
135 bool rc = false; in Connect() local
[all …]
/haiku/docs/develop/build/rc/
H A Dindex.rst1 The rc resource compiler
6 /build/rc/rc
7 /build/rc/grammar
8 /build/rc/librdef
9 /build/rc/beres-deres
10 /build/rc/history
11 /build/rc/todo
12 /build/rc/notes
/haiku/src/add-ons/print/drivers/pcl5/
H A DPCL5.cpp97 RECT rc; in NextBand() local
98 rc.left = (int)bounds.left; in NextBand()
99 rc.top = (int)bounds.top; in NextBand()
100 rc.right = (int)bounds.right; in NextBand()
101 rc.bottom = (int)bounds.bottom; in NextBand()
103 int height = rc.bottom - rc.top + 1; in NextBand()
113 rc.bottom = height - 1; in NextBand()
119 if (get_valid_rect(bitmap, &rc)) { in NextBand()
122 rc.left, rc.top, rc.right, rc.bottom)); in NextBand()
124 x = rc.left; in NextBand()
[all …]
/haiku/src/add-ons/print/drivers/canon_lips/lips3/
H A DLips3.cpp110 RECT rc; in NextBand() local
111 rc.left = (int)bounds.left; in NextBand()
112 rc.top = (int)bounds.top; in NextBand()
113 rc.right = (int)bounds.right; in NextBand()
114 rc.bottom = (int)bounds.bottom; in NextBand()
116 int height = rc.bottom - rc.top + 1; in NextBand()
126 rc.bottom = height - 1; in NextBand()
132 if (get_valid_rect(bitmap, &rc)) { in NextBand()
135 rc.left, rc.top, rc.right, rc.bottom)); in NextBand()
137 x = rc.left; in NextBand()
[all …]
/haiku/src/servers/print/
H A DPrinter.Scripting.cpp45 status_t rc = B_ERROR; in HandleScriptingCommand() local
51 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK && in HandleScriptingCommand()
52 (rc=spec.FindString("property",&propName)) == B_OK) { in HandleScriptingCommand()
56 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_PRT_NAME, &result); in HandleScriptingCommand()
58 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_TRANSPORT, &result); in HandleScriptingCommand()
60 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_TRANSPORT_ADDR, &result); in HandleScriptingCommand()
62 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_DRV_NAME, &result); in HandleScriptingCommand()
64 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_COMMENTS, &result); in HandleScriptingCommand()
72 reply.AddInt32("error", rc); in HandleScriptingCommand()
93 BHandler* rc = this; in ResolveSpecifier() local
[all …]
H A DTransport.Scripting.cpp37 status_t rc = B_ERROR; in HandleScriptingCommand() local
43 if ((rc=msg->GetCurrentSpecifier(&idx,&spec)) == B_OK in HandleScriptingCommand()
44 && (rc=spec.FindString("property",&propName)) == B_OK) { in HandleScriptingCommand()
53 rc = ListAvailablePorts(&reply); in HandleScriptingCommand()
54 reply.AddInt32("error", rc); in HandleScriptingCommand()
65 reply.AddInt32("error", rc); in HandleScriptingCommand()
86 BHandler* rc = this; in ResolveSpecifier() local
91 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop); in ResolveSpecifier()
95 return rc; in ResolveSpecifier()
H A DPrintServerApp.Scripting.cpp118 status_t rc = B_BAD_VALUE; in HandleScriptingCommand() local
121 rc=printer->Remove(); in HandleScriptingCommand()
124 reply.AddInt32("error", rc); in HandleScriptingCommand()
218 BHandler* rc = NULL; in ResolveSpecifier() local
223 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop); in ResolveSpecifier()
228 if ((rc=GetPrinterFromSpecifier(spec)) == NULL) { in ResolveSpecifier()
239 if ((rc=GetTransportFromSpecifier(spec)) == NULL) { in ResolveSpecifier()
249 rc = this; in ResolveSpecifier()
252 return rc; in ResolveSpecifier()
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Ddriver.c19 status_t rc; in extract_driver_settings() local
32 rc = B_OK; in extract_driver_settings()
34 rc = B_BAD_VALUE; in extract_driver_settings()
37 return rc; in extract_driver_settings()
54 status_t rc; in init_driver() local
57 rc = extract_driver_settings(settings, &device); in init_driver()
58 if (rc == B_OK) { in init_driver()
63 rc = ENODEV; in init_driver()
65 return rc; in init_driver()
H A Dsb16_hw.c164 int32 rc = B_UNHANDLED_INTERRUPT; in hw_codec_inth() local
171 rc = B_HANDLED_INTERRUPT; in hw_codec_inth()
188 rc = B_INVOKE_SCHEDULER; in hw_codec_inth()
192 rc = B_INVOKE_SCHEDULER; in hw_codec_inth()
197 rc = B_INVOKE_SCHEDULER; in hw_codec_inth()
201 return rc; in hw_codec_inth()
230 status_t rc; in hw_codec_detect() local
232 if ((rc=hw_codec_reset(dev)) == B_OK) { in hw_codec_detect()
236 rc = B_OK; in hw_codec_detect()
238 rc = B_BAD_VALUE; in hw_codec_detect()
[all …]
H A Dhooks.c9 status_t rc = B_OK; in sb16_open() local
14 rc = sb16_hw_init(dev); in sb16_open()
15 if (rc != B_OK) in sb16_open()
16 return rc; in sb16_open()
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPDriver.cpp236 RECT rc; in NextBand() local
237 rc.left = (int)bounds.left; in NextBand()
238 rc.top = (int)bounds.top; in NextBand()
239 rc.right = (int)bounds.right; in NextBand()
240 rc.bottom = (int)bounds.bottom; in NextBand()
242 int height = rc.bottom - rc.top + 1; in NextBand()
252 rc.bottom = height - 1; in NextBand()
258 if (get_valid_rect(bitmap, &rc)) { in NextBand()
261 rc.left, rc.top, rc.right, rc.bottom)); in NextBand()
263 x = rc.left; in NextBand()
[all …]
/haiku/src/add-ons/print/drivers/canon_lips/lips4/
H A DLips4.cpp121 RECT rc; in NextBand() local
122 rc.left = (int)bounds.left; in NextBand()
123 rc.top = (int)bounds.top; in NextBand()
124 rc.right = (int)bounds.right; in NextBand()
125 rc.bottom = (int)bounds.bottom; in NextBand()
127 int height = rc.bottom - rc.top + 1; in NextBand()
137 rc.bottom = height - 1; in NextBand()
143 if (get_valid_rect(bitmap, &rc)) { in NextBand()
146 rc.left, rc.top, rc.right, rc.bottom)); in NextBand()
148 x = rc.left; in NextBand()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_tx_ht.c228 struct ath_rc_series *rc = bf->bf_state.bfs_rc; in ath_tx_rate_fill_rcflags() local
256 rc[i].flags = 0; in ath_tx_rate_fill_rcflags()
257 if (rc[i].tries == 0) in ath_tx_rate_fill_rcflags()
260 rate = rt->info[rc[i].rix].rateCode; in ath_tx_rate_fill_rcflags()
266 rate |= rt->info[rc[i].rix].shortPreamble; in ath_tx_rate_fill_rcflags()
271 rc[i].ratecode = rate; in ath_tx_rate_fill_rcflags()
275 rc[i].flags |= ATH_RC_RTSCTS_FLAG; in ath_tx_rate_fill_rcflags()
285 rc[i].flags |= ATH_RC_HT_FLAG; in ath_tx_rate_fill_rcflags()
288 rc[i].flags |= ATH_RC_CW40_FLAG; in ath_tx_rate_fill_rcflags()
304 rc[i].flags |= ATH_RC_SGI_FLAG; in ath_tx_rate_fill_rcflags()
[all …]
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.cpp213 RECT rc; in NextBand() local
214 rc.left = (int)bounds.left; in NextBand()
215 rc.top = (int)bounds.top; in NextBand()
216 rc.right = (int)bounds.right; in NextBand()
217 rc.bottom = (int)bounds.bottom; in NextBand()
219 int height = rc.bottom - rc.top + 1; in NextBand()
230 rc.bottom = height - 1; in NextBand()
236 if (get_valid_rect(bitmap, &rc)) { in NextBand()
239 rc.left, rc.top, rc.right, rc.bottom)); in NextBand()
241 x = rc.left; in NextBand()
[all …]
/haiku/headers/libs/agg/
H A Dagg_renderer_base.h242 rect_i rc(x1, y1, x2, y2); in copy_bar()
243 rc.normalize(); in copy_bar()
244 if(rc.clip(clip_box())) in copy_bar()
247 for(y = rc.y1; y <= rc.y2; y++) in copy_bar()
249 m_ren->copy_hline(rc.x1, y, unsigned(rc.x2 - rc.x1 + 1), c); in copy_bar()
258 rect_i rc(x1, y1, x2, y2); in blend_bar()
259 rc.normalize(); in blend_bar()
260 if(rc.clip(clip_box())) in blend_bar()
263 for(y = rc.y1; y <= rc.y2; y++) in blend_bar()
265 m_ren->blend_hline(rc.x1, in blend_bar()
[all …]
/haiku/src/tools/rc/
H A DJamfile1 SubDir HAIKU_TOP src tools rc ;
3 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin rc ] ;
5 USES_BE_API on <build>librdef.a <build>rc = true ;
14 BuildPlatformMain <build>rc :
15 rc.cpp
/haiku/src/bin/network/traceroute/
H A Das.c126 int rc, dlen, plen; in as_lookup() local
129 rc = dlen = 0; in as_lookup()
151 if (rc == 0) { in as_lookup()
152 rc = buf[0]; in as_lookup()
153 switch (rc) { in as_lookup()
175 if (rc == 'A') in as_lookup()
182 rc = buf[0]; in as_lookup()
183 if (rc != 'A') in as_lookup()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/
H A Donoe.c137 uint8_t rix0, int is_aggr, struct ath_rc_series *rc) in ath_rate_getxtxrates() argument
141 rc[0].flags = rc[1].flags = rc[2].flags = rc[3].flags = 0; in ath_rate_getxtxrates()
143 rc[0].rix = on->on_tx_rate0; in ath_rate_getxtxrates()
144 rc[1].rix = on->on_tx_rate1; in ath_rate_getxtxrates()
145 rc[2].rix = on->on_tx_rate2; in ath_rate_getxtxrates()
146 rc[3].rix = on->on_tx_rate3; in ath_rate_getxtxrates()
148 rc[0].tries = on->on_tx_try0; in ath_rate_getxtxrates()
149 rc[1].tries = 2; in ath_rate_getxtxrates()
150 rc[2].tries = 2; in ath_rate_getxtxrates()
151 rc[3].tries = 2; in ath_rate_getxtxrates()
[all …]
/haiku/src/add-ons/print/transports/parallel_port/
H A DParallelTransport.cpp115 status_t rc; in list_transport_ports() local
117 if ((rc=dir.InitCheck()) != B_OK) in list_transport_ports()
118 return rc; in list_transport_ports()
120 if ((rc=dir.Rewind()) != B_OK) in list_transport_ports()
121 return rc; in list_transport_ports()
/haiku/src/servers/bluetooth/
H A DHCIDelegate.h40 virtual status_t IssueCommand(raw_command rc, size_t size)=0;
51 status_t QueueCommand(raw_command rc, size_t size) in QueueCommand() argument
55 return IssueCommand(rc, size); in QueueCommand()
/haiku/src/bin/rc/
H A DJamfile1 SubDir HAIKU_TOP src bin rc ;
10 BinCommand rc :
11 rc.cpp
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/
H A Damrr.c129 uint8_t rix0, int is_aggr, struct ath_rc_series *rc) in ath_rate_getxtxrates() argument
133 rc[0].flags = rc[1].flags = rc[2].flags = rc[3].flags = 0; in ath_rate_getxtxrates()
135 rc[0].rix = amn->amn_tx_rate0; in ath_rate_getxtxrates()
136 rc[1].rix = amn->amn_tx_rate1; in ath_rate_getxtxrates()
137 rc[2].rix = amn->amn_tx_rate2; in ath_rate_getxtxrates()
138 rc[3].rix = amn->amn_tx_rate3; in ath_rate_getxtxrates()
140 rc[0].tries = amn->amn_tx_try0; in ath_rate_getxtxrates()
141 rc[1].tries = amn->amn_tx_try1; in ath_rate_getxtxrates()
142 rc[2].tries = amn->amn_tx_try2; in ath_rate_getxtxrates()
143 rc[3].tries = amn->amn_tx_try3; in ath_rate_getxtxrates()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.c898 uint8_t rix0, int is_aggr, struct ath_rc_series *rc) in ath_rate_getxtxrates() argument
906 rc[0].flags = rc[1].flags = rc[2].flags = rc[3].flags = 0; in ath_rate_getxtxrates()
908 rc[0].rix = sched->r0; in ath_rate_getxtxrates()
909 rc[1].rix = sched->r1; in ath_rate_getxtxrates()
910 rc[2].rix = sched->r2; in ath_rate_getxtxrates()
911 rc[3].rix = sched->r3; in ath_rate_getxtxrates()
913 rc[0].tries = sched->t0; in ath_rate_getxtxrates()
914 rc[1].tries = sched->t1; in ath_rate_getxtxrates()
917 rc[2].tries = rc[3].tries = 0; in ath_rate_getxtxrates()
919 rc[2].tries = sched->t2; in ath_rate_getxtxrates()
[all …]

1234