Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 203) sorted by relevance

123456789

/haiku/src/apps/people/
H A DAttributeTextControl.cpp97 BString argument(text); in _HandleLabelClicked() local
100 _MakeUniformUrl(argument); in _HandleLabelClicked()
103 _BuildMimeString(mimeType, argument); in _HandleLabelClicked()
106 const char *args[] = {argument.String(), 0}; in _HandleLabelClicked()
110 if (argument.IFindFirst("mailto:") != 0 && argument != "") in _HandleLabelClicked()
111 argument.Prepend("mailto:"); in _HandleLabelClicked()
114 if (argument != "") { in _HandleLabelClicked()
115 const char *args[] = {argument.String(), 0}; in _HandleLabelClicked()
154 BString argument(Text()); in _ContainsUrl() local
158 if (_BuildMimeString(mimeType, _MakeUniformUrl(argument)) != "") in _ContainsUrl()
[all …]
/haiku/src/system/libroot/posix/unistd/
H A Dioctl.c17 __ioctl(int fd, ulong cmd, void* argument, size_t size) in __ioctl() argument
19 RETURN_AND_SET_ERRNO(_kern_ioctl(fd, cmd, argument, size)); in __ioctl()
28 void* argument; in ioctl() local
33 argument = va_arg(args, void*); in ioctl()
37 status = _kern_ioctl(fd, cmd, argument, size); in ioctl()
/haiku/src/bin/network/arp/
H A Darp.cpp111 set_flags(uint32 &flags, const char *argument) in set_flags() argument
113 if (!strcmp(argument, "temp") || !strcmp(argument, "temporary")) in set_flags()
115 else if (!strcmp(argument, "pub") || !strcmp(argument, "publish")) in set_flags()
117 else if (!strcmp(argument, "reject")) in set_flags()
271 const char *argument = next_argument(&rest); in set_entries_from_file() local
272 if (argument == NULL) { in set_entries_from_file()
279 if (!parse_inet_address(argument, address)) { in set_entries_from_file()
281 struct hostent *host = gethostbyname(argument); in set_entries_from_file()
284 kProgramName, counter, argument, strerror(errno)); in set_entries_from_file()
289 kProgramName, counter, argument); in set_entries_from_file()
[all …]
/haiku/src/bin/
H A Dnotify.cpp115 const char* argument = argv[index]; in ArgvReceived() local
119 if (strncmp(kTypeNames[i], argument, strlen(argument)) == 0) in ArgvReceived()
123 fGroup = argument; in ArgvReceived()
125 fTitle = argument; in ArgvReceived()
127 fMsgId = argument; in ArgvReceived()
129 fProgress = atof(argument); in ArgvReceived()
131 fTimeout = atol(argument) * 1000000; in ArgvReceived()
133 fIconFile = argument; in ArgvReceived()
140 fOnClickApp = argument; in ArgvReceived()
142 if (get_ref_for_path(argument, &fFile) != B_OK) { in ArgvReceived()
[all …]
/haiku/src/system/boot/platform/efi/arch/x86/
H A Dcrt0-efi-x86.S44 pushl 12(%ebp) # copy "image" argument
45 pushl 8(%ebp) # copy "systab" argument
54 pushl %ebx # pass _DYNAMIC as second argument
55 pushl %eax # pass ldbase as first argument
62 call efi_main # call app with "image" and "systab" argument
/haiku/src/system/libroot/posix/malloc/debug/
H A Dmalloc_debug_api.cpp172 const char *argument = strchr(mode, 'a'); in __init_heap() local
173 if (argument != NULL in __init_heap()
174 && sscanf(argument, "a%" B_SCNuSIZE, &defaultAlignment) == 1) { in __init_heap()
179 argument = strchr(mode, 's'); in __init_heap()
180 if (argument != NULL in __init_heap()
181 && sscanf(argument, "s%" B_SCNuSIZE, &stackTraceDepth) == 1) { in __init_heap()
186 argument = strchr(mode, 'w'); in __init_heap()
187 if (argument != NULL in __init_heap()
188 && sscanf(argument, "w%d", &wallCheckInterval) == 1) { in __init_heap()
/haiku/src/system/libroot/posix/
H A Ddevctl.c12 posix_devctl(int fd, int cmd, void* __restrict argument, size_t size, int* __restrict result) in posix_devctl() argument
14 int status = _kern_ioctl(fd, cmd, argument, size); in posix_devctl()
H A Dfcntl.cpp68 size_t argument = va_arg(args, size_t); in fcntl() local
71 status_t error = _kern_fcntl(fd, op, argument); in fcntl()
/haiku/src/add-ons/kernel/network/stack/
H A Ddatalink.cpp772 void* argument, size_t length) in interface_protocol_control() argument
775 _protocol, option_to_string(option), argument, length); in interface_protocol_control()
792 if (user_memcpy(&request, argument, sizeof(struct ifreq)) != B_OK) in interface_protocol_control()
808 &((struct ifreq*)argument)->ifr_addr, maxLength); in interface_protocol_control()
819 return user_memcpy(&((struct ifreq*)argument)->ifr_count, in interface_protocol_control()
826 if (user_memcpy(&request, argument, sizeof(ifaliasreq)) != B_OK) in interface_protocol_control()
850 &((struct ifaliasreq*)argument)->ifra_index, in interface_protocol_control()
856 (sockaddr*)&((struct ifaliasreq*)argument)->ifra_addr, in interface_protocol_control()
861 (sockaddr*)&((struct ifaliasreq*)argument)->ifra_mask, in interface_protocol_control()
866 (sockaddr*)&((struct ifaliasreq*)argument) in interface_protocol_control()
[all …]
/haiku/src/kits/shared/
H A DArgumentVector.cpp181 char* argument = (char*)(fArguments + count + 1); in Parse() local
183 fArguments[i] = argument; in Parse()
186 memcpy(argument, sourceArgument.c_str(), argumentSize); in Parse()
187 argument += argumentSize; in Parse()
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DResponse.cpp210 if (StringArgument* argument in Contains() local
212 if (argument->String().ICompare(string) == 0) in Contains()
224 if (StringArgument* argument in StringAt() local
226 return argument->String(); in StringAt()
254 if (ListArgument* argument = dynamic_cast<ListArgument*>(ItemAt(index))) in ListAt() local
255 return argument->List(); in ListAt()
275 if (ListArgument* argument = dynamic_cast<ListArgument*>(ItemAt(index))) in IsListAt() local
276 return argument->Kind() == kind; in IsListAt()
544 ListArgument* argument = new ListArgument(start); in ParseList() local
545 arguments.AddItem(argument); in ParseList()
[all …]
/haiku/src/bin/network/route/
H A Droute.cpp113 get_address_family(const char* argument, int32& familyIndex) in get_address_family() argument
117 if (!strcmp(argument, kFamilies[i].identifiers[j])) { in get_address_family()
132 parse_address(int32 familyIndex, const char* argument, BNetworkAddress& address) in parse_address() argument
134 if (argument == NULL) in parse_address()
137 return address.SetTo(kFamilies[familyIndex].family, argument, in parse_address()
143 prefix_length_to_mask(int32 familyIndex, const char* argument, in prefix_length_to_mask() argument
146 if (argument == NULL) in prefix_length_to_mask()
150 uint32 prefixLength = strtoul(argument, &end, 10); in prefix_length_to_mask()
151 if (end == argument) in prefix_length_to_mask()
/haiku/data/catalogs/apps/workspaces/
H A Dhr.catkeys3 Invalid argument: %s\n Workspaces Neispravan argument : %s\n
/haiku/src/add-ons/kernel/network/ppp/ppp_frame/
H A Dppp_frame.cpp128 PPP_module_control(int32 option, void* argument, size_t length) in PPP_module_control() argument
190 void* argument, size_t length) in ppp_frame_control() argument
196 status_t status =PPP_module_control(option, argument, length); in ppp_frame_control()
201 return protocol->next->module->control(protocol->next, option, argument, in ppp_frame_control()
/haiku/src/libs/iconv/
H A Diconv.c469 int iconvctl (iconv_t icd, int request, void* argument) in iconvctl() argument
474 *(int *)argument = in iconvctl()
481 *(int *)argument = cd->transliterate; in iconvctl()
484 cd->transliterate = (*(const int *)argument ? 1 : 0); in iconvctl()
487 *(int *)argument = cd->discard_ilseq; in iconvctl()
490 cd->discard_ilseq = (*(const int *)argument ? 1 : 0); in iconvctl()
493 if (argument != NULL) { in iconvctl()
494 cd->hooks = *(const struct iconv_hooks *)argument; in iconvctl()
502 if (argument != NULL) { in iconvctl()
503 cd->fallbacks = *(const struct iconv_fallbacks *)argument; in iconvctl()
/haiku/src/system/kernel/
H A DDPC.cpp35 FunctionDPCCallback::SetTo(void (*function)(void*), void* argument) in SetTo() argument
38 fArgument = argument; in SetTo()
187 DPCQueue::Add(void (*function)(void*), void* argument) in Add() argument
204 functionCallback->SetTo(function, argument); in Add()
/haiku/headers/private/drivers/
H A Dmmc.h82 uint32_t argument, uint32_t* result);
102 uint8_t command, uint32_t argument, uint32_t* result);
/haiku/src/tests/system/kernel/unit/
H A DTestThread.h19 ParameterType* argument) in TestThread() argument
23 fArgument(argument) in TestThread()
/haiku/headers/os/
H A DBeBuild.h85 #define _UNUSED(argument) argument argument
/haiku/headers/private/kernel/
H A DDPC.h43 void SetTo(void (*function)(void*), void* argument);
66 status_t Add(void (*function)(void*), void* argument);
/haiku/src/system/kernel/lib/
H A Dkernel_vsprintf.cpp372 const char *argument = va_arg(args, char *); in vsnprintf() local
375 if (argument == NULL) in vsnprintf()
376 argument = "<NULL>"; in vsnprintf()
378 length = strnlen(argument, precision); in vsnprintf()
384 outBuffer.PutString(argument, length); in vsnprintf()
/haiku/src/servers/launch/
H A DBaseJob.cpp156 const char* argument; in SetEnvironment() local
158 &argument) == B_OK; argumentIndex++) { in SetEnvironment()
161 variable += argument; in SetEnvironment()
/haiku/headers/posix/
H A Dpthread.h57 void (*function)(void *argument);
58 void *argument; member
65 __handler.argument = (arg); \
70 __handler.function(__handler.argument); \
H A Ddevctl.h15 int posix_devctl(int fd, int cmd, void* __restrict argument, size_t size, int* __restrict result);
/haiku/src/system/libroot/os/
H A Dthread.c27 void *argument; member
69 node->function(node->argument); in _thread_do_exit_work()
203 node->argument = data; in on_exit_thread()

123456789