Searched refs:self (Results 1 - 25 of 130) sorted by relevance

123456

/haiku-fatelf/3rdparty/mmu_man/irc/Haiku/
H A Dtest.py35 def testSeconds(self):
36 self.assertResponse('!plop', 'plop')
39 def testNoErrors(self):
40 self.assertNotError('!plop')
42 def testNoNestedErrors(self):
43 self.assertNotError('!plop')
H A Dplugin.py42 def __init__(self, irc):
45 self.fortunes = []
52 self.fortunes.append(fortune)
58 self.__parent = super(Haiku, self)
59 self.__parent.__init__(irc)
61 def error(self, irc, msg, args):
92 def haiku(self, irc, msg, args):
98 if len(self.fortunes) > 0:
99 h = self
[all...]
/haiku-fatelf/src/bin/network/wget/tests/
H A DHTTPTest.pm19 my ($self, $attr) = @_;
21 return $self->SUPER::_default_for($attr);
26 my ($self) = @_;
27 ($self->SUPER::_standard_keys(), keys %_attr_data);
33 my $self = shift;
34 $self->{_server} = HTTPServer->new (LocalAddr => 'localhost',
41 my $self = shift;
44 $self->{_server}->run ($self->{_input}, $synch_func);
48 my $self
[all...]
H A DFTPTest.pm19 my ($self, $attr) = @_;
21 return $self->SUPER::_default_for($attr);
26 my ($self) = @_;
27 ($self->SUPER::_standard_keys(), keys %_attr_data);
33 my $self = shift;
35 $self->{_server} = FTPServer->new (input => $self->{_input},
37 $self->{_server_behavior},
40 rootDir => "$self->{_workdir}/$self
[all...]
H A DFTPServer.pm456 my ($self, $attr) = @_;
471 my $self = bless {}, $class;
472 foreach my $attrname ($self->_standard_keys()) {
475 $self->{$attrname} = $args{$argname};
477 $self->{$attrname} = $caller->{$attrname};
479 $self->{$attrname} = $self->_default_for($attrname);
484 $self->{_server_sock}
485 = IO::Socket::INET->new (LocalHost => $self->{_localAddr},
486 LocalPort => $self
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py39 def __init__(self, sock): self.sock = sock
40 def recv(self, nbytes):
43 more = self.sock.recv(nbytes - len(rv))
47 def send(self, astring): self.sock.send(astring)
48 def close(self): self.sock.close()
53 def __init__(self, sock): self
[all...]
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dtriostr.c1264 trio_string_t *self; local
1266 self = (trio_string_t *)TRIO_MALLOC(sizeof(trio_string_t));
1267 if (self)
1269 self->content = NULL;
1270 self->length = 0;
1271 self->allocated = 0;
1273 return self;
1285 TRIO_ARGS2((self, delta),
1286 trio_string_t *self,
1294 ? ( (self
1284 TrioStringGrow(self, delta), trio_string_t *self, size_t delta argument
1317 TrioStringGrowTo(self, length), trio_string_t *self, size_t length argument
1342 trio_string_t *self; local
1370 trio_string_destroy(self), trio_string_t *self argument
1400 trio_string_get(self, offset), trio_string_t *self, int offset argument
1447 trio_string_extract(self), trio_string_t *self argument
1478 trio_xstring_set(self, buffer), trio_string_t *self, char *buffer argument
1495 trio_string_size(self), trio_string_t *self argument
1509 trio_string_terminate(self), trio_string_t *self argument
1526 trio_string_append(self, other), trio_string_t *self, trio_string_t *other argument
1554 trio_xstring_append(self, other), trio_string_t *self, TRIO_CONST char *other argument
1581 trio_xstring_append_char(self, character), trio_string_t *self, char character argument
1611 trio_string_contains(self, other), trio_string_t *self, trio_string_t *other argument
1629 trio_xstring_contains(self, other), trio_string_t *self, TRIO_CONST char *other argument
1647 trio_string_copy(self, other), trio_string_t *self, trio_string_t *other argument
1666 trio_xstring_copy(self, other), trio_string_t *self, TRIO_CONST char *other argument
1689 trio_string_t *self; local
1720 trio_string_t *self; local
1747 trio_string_equal(self, other), trio_string_t *self, trio_string_t *other argument
1765 trio_xstring_equal(self, other), trio_string_t *self, TRIO_CONST char *other argument
1783 trio_string_equal_max(self, max, other), trio_string_t *self, size_t max, trio_string_t *other argument
1802 trio_xstring_equal_max(self, max, other), trio_string_t *self, size_t max, TRIO_CONST char *other argument
1821 trio_string_equal_case(self, other), trio_string_t *self, trio_string_t *other argument
1839 trio_xstring_equal_case(self, other), trio_string_t *self, TRIO_CONST char *other argument
1857 trio_string_equal_case_max(self, max, other), trio_string_t *self, size_t max, trio_string_t *other argument
1876 trio_xstring_equal_case_max(self, max, other), trio_string_t *self, size_t max, TRIO_CONST char *other argument
1895 trio_string_format_date_max(self, max, format, datetime), trio_string_t *self, size_t max, TRIO_CONST char *format, TRIO_CONST struct tm *datetime argument
1914 trio_string_index(self, character), trio_string_t *self, int character argument
1931 trio_string_index_last(self, character), trio_string_t *self, int character argument
1948 trio_string_length(self), trio_string_t *self argument
1968 trio_string_lower(self), trio_string_t *self argument
1984 trio_string_match(self, other), trio_string_t *self, trio_string_t *other argument
2002 trio_xstring_match(self, other), trio_string_t *self, TRIO_CONST char *other argument
2020 trio_string_match_case(self, other), trio_string_t *self, trio_string_t *other argument
2038 trio_xstring_match_case(self, other), trio_string_t *self, TRIO_CONST char *other argument
2056 trio_string_substring(self, other), trio_string_t *self, trio_string_t *other argument
2074 trio_xstring_substring(self, other), trio_string_t *self, TRIO_CONST char *other argument
2092 trio_string_upper(self), trio_string_t *self argument
[all...]
H A Dtriostr.h96 TRIO_STRING_PUBLIC void trio_string_destroy TRIO_PROTO((trio_string_t *self));
97 TRIO_STRING_PUBLIC char *trio_string_extract TRIO_PROTO((trio_string_t *self));
98 TRIO_STRING_PUBLIC int trio_string_size TRIO_PROTO((trio_string_t *self));
99 TRIO_STRING_PUBLIC void trio_string_terminate TRIO_PROTO((trio_string_t *self));
100 TRIO_STRING_PUBLIC int trio_xstring_append_char TRIO_PROTO((trio_string_t *self, char character));
106 TRIO_STRING_PUBLIC char *trio_string_get TRIO_PROTO((trio_string_t *self, int offset));
107 TRIO_STRING_PUBLIC void trio_xstring_set TRIO_PROTO((trio_string_t *self, char *buffer));
109 TRIO_STRING_PUBLIC int trio_string_append TRIO_PROTO((trio_string_t *self, trio_string_t *other));
110 TRIO_STRING_PUBLIC int trio_string_contains TRIO_PROTO((trio_string_t *self, trio_string_t *other));
111 TRIO_STRING_PUBLIC int trio_string_copy TRIO_PROTO((trio_string_t *self, trio_string_
[all...]
/haiku-fatelf/headers/private/net/
H A Dnet_datalink_protocol.h24 status_t (*uninit_protocol)(net_datalink_protocol* self);
26 status_t (*send_data)(net_datalink_protocol* self, net_buffer* buffer);
28 status_t (*interface_up)(net_datalink_protocol* self);
29 void (*interface_down)(net_datalink_protocol* self);
31 status_t (*change_address)(net_datalink_protocol* self,
36 status_t (*control)(net_datalink_protocol* self, int32 option,
39 status_t (*join_multicast)(net_datalink_protocol* self,
41 status_t (*leave_multicast)(net_datalink_protocol* self,
H A Dnet_protocol.h62 status_t (*uninit_protocol)(net_protocol* self);
64 status_t (*open)(net_protocol* self);
65 status_t (*close)(net_protocol* self);
66 status_t (*free)(net_protocol* self);
68 status_t (*connect)(net_protocol* self, const struct sockaddr* address);
69 status_t (*accept)(net_protocol* self, net_socket** _acceptedSocket);
70 status_t (*control)(net_protocol* self, int level, int option,
72 status_t (*getsockopt)(net_protocol* self, int level, int option,
74 status_t (*setsockopt)(net_protocol* self, int level, int option,
77 status_t (*bind)(net_protocol* self, cons
[all...]
/haiku-fatelf/src/bin/gdb/bfd/
H A Dcpu-ia64-opc.c35 ins_rsvd (const struct ia64_operand *self ATTRIBUTE_UNUSED,
42 ext_rsvd (const struct ia64_operand *self ATTRIBUTE_UNUSED,
49 ins_const (const struct ia64_operand *self ATTRIBUTE_UNUSED,
56 ext_const (const struct ia64_operand *self ATTRIBUTE_UNUSED,
63 ins_reg (const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
65 if (value >= 1u << self->field[0].bits)
68 *code |= value << self->field[0].shift;
73 ext_reg (const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
75 *valuep = ((code >> self->field[0].shift)
76 & ((1u << self
81 ins_immu(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
100 ext_immu(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
117 ins_immus8(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
125 ext_immus8(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
138 ins_imms_scaled(const struct ia64_operand *self, ia64_insn value, ia64_insn *code, int scale) argument
162 ext_imms_scaled(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep, int scale) argument
184 ins_imms(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
190 ins_immsu4(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
198 ext_imms(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
204 ins_immsm1(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
211 ins_immsm1u4(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
221 ext_immsm1(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
230 ins_imms1(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
236 ext_imms1(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
242 ins_imms4(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
248 ext_imms4(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
254 ins_imms16(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
260 ext_imms16(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
266 ins_cimmu(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
273 ext_cimmu(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
289 ins_cnt(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
300 ext_cnt(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
308 ins_cnt2b(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
320 ext_cnt2b(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
327 ins_cnt2c(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
342 ext_cnt2c(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
359 ins_inc3(const struct ia64_operand *self, ia64_insn value, ia64_insn *code) argument
382 ext_inc3(const struct ia64_operand *self, ia64_insn code, ia64_insn *valuep) argument
[all...]
/haiku-fatelf/src/bin/network/atftpd/
H A Dtftpd_pcre.h69 char *tftpd_pcre_getfilename(tftpd_pcre_self_t *self);
70 int tftpd_pcre_sub(tftpd_pcre_self_t *self, char *outstr, int outlen, char *str);
71 void tftpd_pcre_close(tftpd_pcre_self_t *self);
H A Dtftpd_pcre.c64 tftpd_pcre_self_t *self; local
92 if ((self = calloc(1, sizeof(tftpd_pcre_self_t))) == NULL)
97 self->lock = (pthread_mutex_t) PTHREAD_MUTEX_INITIALIZER;
98 Strncpy(self->filename, filename, MAXLEN);
101 for (linecount = 1, curpatp = &self->list;
111 tftpd_pcre_close(self);
132 tftpd_pcre_close(self);
158 tftpd_pcre_close(self);
172 tftpd_pcre_close(self);
181 return self;
189 tftpd_pcre_getfilename(tftpd_pcre_self_t *self) argument
246 tftpd_pcre_sub(tftpd_pcre_self_t *self, char *outstr, int outlen, char *str) argument
293 tftpd_pcre_close(tftpd_pcre_self_t *self) argument
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/
H A D2-1.c36 pthread_t self = pthread_self(); local
39 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n",(void*)self);
42 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
45 fprintf(stderr,"[Thread 0x%p] is waiting for the cond\n", (void*)self);
54 (void*)self);
58 fprintf(stderr,"[Thread 0x%p] was wakened and acquired the mutex again\n", (void*)self);
62 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
66 fprintf(stderr,"[Thread 0x%p] released the mutex\n", (void*)self);
H A D1-1.c35 pthread_t self = pthread_self(); local
38 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n", (void*)self);
42 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
44 fprintf(stderr,"[Thread 0x%p] is waiting for the cond\n", (void*)self);
51 fprintf(stderr,"[Thread 0x%p] was wakened and acquired the mutex again\n", (void*)self);
54 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
57 fprintf(stderr,"[Thread 0x%p] released the mutex\n", (void*)self);
H A D2-2.c41 pthread_t self = pthread_self(); local
44 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n", (void*)self);
47 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
58 (void*)self, TIMEOUT);
62 (void*)self, rc);
68 (void*)self);
72 fprintf(stderr,"[Thread 0x%p] was wakened and acquired the mutex again\n", (void*)self);
76 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
80 fprintf(stderr,"[Thread 0x%p] released the mutex\n", (void*)self);
H A D4-1.c35 pthread_t self = pthread_self(); local
38 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n", (void*)self);
41 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
44 fprintf(stderr,"[Thread 0x%p] is waiting for the cond\n", (void*)self);
50 fprintf(stderr,"[Thread 0x%p] was wakened\n", (void*)self);
54 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/
H A D2-2.c41 pthread_t self = pthread_self(); local
44 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n", (void*)self);
47 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
58 (void*)self, TIMEOUT);
62 (void*)self, rc);
68 (void*)self);
72 fprintf(stderr,"[Thread 0x%p] was wakened and acquired the mutex again\n", (void*)self);
76 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
81 fprintf(stderr,"[Thread 0x%p] did not owned the mutex after the cond wait\n", (void*)self);
85 fprintf(stderr,"[Thread 0x%p] released the mutex\n", (void*)self);
[all...]
H A D2-1.c50 pthread_t self = pthread_self(); local
53 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n", (void*)self);
56 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
59 fprintf(stderr,"[Thread 0x%p] is waiting for the cond\n", (void*)self);
68 (void*)self);
72 fprintf(stderr,"[Thread 0x%p] was wakened and acquired the mutex again\n", (void*)self);
76 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
81 fprintf(stderr,"[Thread 0x%p] did not owned the mutex after the cond wait\n", (void*)self);
85 fprintf(stderr,"[Thread 0x%p] released the mutex\n", (void*)self);
/haiku-fatelf/src/kits/interface/
H A DRect.cpp278 InsetByCopy__5BRectG6BPoint(BRect* self, BPoint point) argument
280 BRect copy(*self);
287 InsetByCopy__5BRectff(BRect* self, float dx, float dy) argument
289 BRect copy(*self);
296 OffsetByCopy__5BRectG6BPoint(BRect* self, BPoint point) argument
298 BRect copy(*self);
305 OffsetByCopy__5BRectff(BRect* self, float dx, float dy) argument
307 BRect copy(*self);
314 OffsetToCopy__5BRectG6BPoint(BRect* self, BPoint point) argument
316 BRect copy(*self);
323 OffsetToCopy__5BRectff(BRect* self, float dx, float dy) argument
336 _ZN5BRect11InsetByCopyE6BPoint(BRect* self, BPoint point) argument
345 _ZN5BRect11InsetByCopyEff(BRect* self, float dx, float dy) argument
354 _ZN5BRect12OffsetByCopyE6BPoint(BRect* self, BPoint point) argument
363 _ZN5BRect12OffsetByCopyEff(BRect* self, float dx, float dy) argument
372 _ZN5BRect12OffsetToCopyE6BPoint(BRect* self, BPoint point) argument
381 _ZN5BRect12OffsetToCopyEff(BRect* self, float dx, float dy) argument
[all...]
/haiku-fatelf/src/kits/tracker/
H A DFBCPadding.cpp105 (void* self,
111 return new (self) BFilePanel(mode, target, ref, nodeFlavors,
122 (BFilePanel* self, BDirectory* d)
124 self->SetPanelDirectory(d);
133 (BFilePanel* self, BEntry* e)
135 self->SetPanelDirectory(e);
144 (BFilePanel* self, entry_ref* r)
146 self->SetPanelDirectory(r);
101 __10BFilePanel15file_panel_modeP10BMessengerP9entry_refUlbP8BMessageP10BRefFilterT5T5(void* self, file_panel_mode mode, BMessenger* target, entry_ref* ref, uint32 nodeFlavors, bool multipleSelection, BMessage* message, BRefFilter* filter, bool modal, bool hideWhenDone) argument
118 SetPanelDirectory__10BFilePanelP10BDirectory(BFilePanel* self, BDirectory* d) argument
129 SetPanelDirectory__10BFilePanelP6BEntry(BFilePanel* self, BEntry* e) argument
140 SetPanelDirectory__10BFilePanelP9entry_ref(BFilePanel* self, entry_ref* r) argument
/haiku-fatelf/src/bin/gdb/gdb/
H A Dtramp-frame.h70 void (*init) (const struct tramp_frame *self,
/haiku-fatelf/src/tests/system/runtime_loader/test_suite/
H A Ddlopen_lookup_order154 void* self;
69 self = dlopen(NULL, RTLD_NOW | RTLD_GLOBAL);
70 if (self == NULL) {
71 fprintf(stderr, "Error opening self: %s\n", dlerror());
75 a = (int (*)())dlsym(self, "a");
H A Ddlopen_lookup_order254 void* self;
69 self = dlopen(NULL, RTLD_NOW | RTLD_GLOBAL);
70 if (self == NULL) {
71 fprintf(stderr, "Error opening self: %s\n", dlerror());
75 a = (int (*)())dlsym(self, "a");
H A Ddlopen_lookup_order454 void* self;
69 self = dlopen(NULL, RTLD_NOW | RTLD_GLOBAL);
70 if (self == NULL) {
71 fprintf(stderr, "Error opening self: %s\n", dlerror());
75 a = (int (*)())dlsym(self, "a");

Completed in 259 milliseconds

123456