Searched refs:endp (Results 1 - 25 of 57) sorted by relevance

123

/haiku-fatelf/src/kits/midi2/
H A DMidiRoster.cpp55 BMidiEndpoint* endp = NULL; local
60 endp = looper->NextEndpoint(id);
61 if (endp != NULL) {
62 endp->Acquire();
68 return endp;
75 BMidiEndpoint* endp; local
77 while ((endp = NextEndpoint(id)) != NULL) {
78 if (endp->IsProducer()) {
79 return (BMidiProducer*) endp;
81 endp
91 BMidiEndpoint* endp; local
107 BMidiEndpoint* endp = NULL; local
133 BMidiEndpoint* endp = FindEndpoint(id, localOnly); local
147 BMidiEndpoint* endp = FindEndpoint(id, localOnly); local
185 Register(BMidiEndpoint* endp) argument
196 Unregister(BMidiEndpoint* endp) argument
276 CreateLocal(BMidiEndpoint* endp) argument
329 DeleteLocal(BMidiEndpoint* endp) argument
[all...]
H A DMidiRosterLooper.cpp47 BMidiEndpoint* endp = EndpointAt(t); local
48 if (endp->fRefCount > 0) {
52 endp->ID(), endp, endp->fRefCount);
54 delete endp;
97 BMidiEndpoint* endp = EndpointAt(t); local
98 if (endp->ID() > *id) {
99 if (endp->IsRemote() && endp
114 BMidiEndpoint* endp = EndpointAt(t); local
125 AddEndpoint(BMidiEndpoint* endp) argument
152 RemoveEndpoint(BMidiEndpoint* endp) argument
269 BMidiEndpoint* endp = FindEndpoint(id); local
312 BMidiEndpoint* endp = FindEndpoint(id); local
371 ChangeRegistered(BMessage* msg, BMidiEndpoint* endp) argument
396 ChangeName(BMessage* msg, BMidiEndpoint* endp) argument
418 ChangeProperties(BMessage* msg, BMidiEndpoint* endp) argument
438 ChangeLatency(BMessage* msg, BMidiEndpoint* endp) argument
467 BMidiEndpoint* endp = EndpointAt(t); local
481 BMidiEndpoint* endp = EndpointAt(t); local
498 ChangeEvent(BMessage* msg, BMidiEndpoint* endp) argument
550 BMidiEndpoint* endp = EndpointAt(t); local
604 BMidiEndpoint* endp = EndpointAt(t); local
[all...]
H A DMidiRosterLooper.h41 void AddEndpoint(BMidiEndpoint* endp);
45 void RemoveEndpoint(BMidiEndpoint* endp);
74 void ChangeRegistered(BMessage* msg, BMidiEndpoint* endp);
75 void ChangeName(BMessage* msg, BMidiEndpoint* endp);
76 void ChangeProperties(BMessage* msg, BMidiEndpoint* endp);
77 void ChangeLatency(BMessage* msg, BMidiEndpoint* endp);
102 void ChangeEvent(BMessage* msg, BMidiEndpoint* endp);
/haiku-fatelf/src/servers/midi/
H A DMidiServerApp.cpp140 endpoint_t* endp = new endpoint_t; local
142 endp->app = WhichApp(msg);
143 if (endp->app == NULL) {
148 if (msg->FindBool("midi:consumer", &endp->consumer) == B_OK
149 && msg->FindBool("midi:registered", &endp->registered) == B_OK
150 && msg->FindString("midi:name", &endp->name) == B_OK
151 && msg->FindMessage("midi:properties", &endp->properties) == B_OK) {
152 if (endp->consumer) {
153 if (msg->FindInt32("midi:port", &endp->port) == B_OK
154 && msg->FindInt64("midi:latency", &endp
189 endpoint_t* endp = WhichEndpoint(msg, app); local
210 endpoint_t* endp = FindEndpoint(id); local
223 endpoint_t* endp = NULL; local
351 endpoint_t* endp = EndpointAt(t); local
389 AddEndpoint(BMessage* msg, endpoint_t* endp) argument
410 RemoveEndpoint(app_t* app, endpoint_t* endp) argument
450 MakeCreatedNotification(BMessage* msg, endpoint_t* endp) argument
519 endpoint_t* endp = FindEndpoint(id); local
534 endpoint_t* endp = EndpointAt(t); local
621 endpoint_t* endp = EndpointAt(t); local
721 endpoint_t* endp = EndpointAt(t); local
[all...]
H A DMidiServerApp.h54 void AddEndpoint(BMessage* msg, endpoint_t* endp);
60 void RemoveEndpoint(app_t* app, endpoint_t* endp);
68 void MakeCreatedNotification(BMessage* msg, endpoint_t* endp);
H A DDeviceWatcher.h37 void _SetIcons(BMidiEndpoint* endp);
/haiku-fatelf/src/bin/coreutils/src/
H A Doperand2sig.c50 char *endp; local
51 long int l = (errno = 0, strtol (operand, &endp, 10));
53 signum = (operand == endp || *endp || errno || i != l ? -1
H A Dkill.c215 char *endp;
216 intmax_t n = (errno = 0, strtoimax (arg, &endp, 10));
219 if (errno == ERANGE || pid != n || arg == endp || *endp)
211 char *endp; local
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dplural-exp.c117 char *endp; local
128 n = strtoul (nplurals, &endp, 10);
130 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
131 n = n * 10 + (*endp - '0');
133 if (nplurals == endp)
/haiku-fatelf/src/bin/gawk/intl/
H A Dplural-exp.c115 char *endp; local
126 n = strtoul (nplurals, &endp, 10);
128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
129 n = n * 10 + (*endp - '0');
131 if (nplurals == endp)
/haiku-fatelf/src/kits/midi/
H A DMidiPort.cpp75 BMidiEndpoint* endp = (BMidiEndpoint*) fDevices->ItemAt(t); local
76 if (strcmp(name, endp->Name()) != 0)
78 if (!endp->IsValid()) // still exists?
80 if (endp->IsProducer()) {
82 fRemoteSource = (BMidiProducer*) endp;
85 fRemoteSink = (BMidiConsumer*) endp;
245 BMidiEndpoint* endp = (BMidiEndpoint*) fDevices->ItemAt(n); local
246 if (endp == NULL)
249 size_t size = strlen(endp->Name());
253 strcpy(name, endp
277 BMidiEndpoint* endp; local
[all...]
/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_mkupdate.c84 u_char *cp, *sp2, *startp, *endp; local
207 endp = startp + rrecp->r_size - 1;
211 if (!getword_str(buf2, sizeof buf2, &startp, endp))
226 if (!getword_str(buf2, sizeof buf2, &startp, endp))
239 endp))
259 soanum = getnum_str(&startp, endp);
275 n = getnum_str(&startp, endp);
280 if (!getword_str(buf2, sizeof buf2, &startp, endp))
289 n = getnum_str(&startp, endp);
295 n = getnum_str(&startp, endp);
721 getword_str(char *buf, int size, u_char **startpp, u_char *endp) argument
751 getstr_str(char *buf, int size, u_char **startpp, u_char *endp) argument
829 gethexnum_str(u_char **startpp, u_char *endp) argument
877 getnum_str(u_char **startpp, u_char *endp) argument
[all...]
/haiku-fatelf/src/kits/network/libbind/inet/
H A Dinet_pton.c142 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
148 endp = tp + NS_IN6ADDRSZ;
179 if (tp + NS_INT16SZ > endp)
187 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
196 if (tp + NS_INT16SZ > endp)
209 if (tp == endp)
212 endp[- i] = colonp[n - i];
215 tp = endp;
217 if (tp != endp)
H A Dinet_net_pton.c266 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
277 endp = tp + NS_IN6ADDRSZ;
311 if (tp + NS_INT16SZ > endp)
320 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
332 if (tp + NS_INT16SZ > endp)
345 endp = tmp + 2 * words;
355 if (tp == endp)
358 endp[- i] = colonp[n - i];
361 tp = endp;
363 if (tp != endp)
[all...]
H A Dinet_cidr_pton.c155 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
162 endp = tp + NS_IN6ADDRSZ;
195 if (tp + NS_INT16SZ > endp)
203 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
218 if (tp + NS_INT16SZ > endp)
231 if (tp == endp)
234 endp[- i] = colonp[n - i];
237 tp = endp;
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dmake-relative-prefix.c249 char *startp, *endp, *nstore; local
256 startp = endp = temp;
259 if (*endp == PATH_SEPARATOR || *endp == 0)
261 if (endp == startp)
269 strncpy (nstore, startp, endp - startp);
270 if (! IS_DIR_SEPARATOR (endp[-1]))
272 nstore[endp - startp] = DIR_SEPARATOR;
273 nstore[endp - startp + 1] = 0;
276 nstore[endp
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dsig2str.c263 char *endp; local
264 long int n = strtol (signame, &endp, 10);
265 if (! *endp && n <= SIGNUM_BOUND)
276 char *endp; local
282 long int n = strtol (signame + 5, &endp, 10);
283 if (! *endp && 0 <= n && n <= rtmax - rtmin)
288 long int n = strtol (signame + 5, &endp, 10);
289 if (! *endp && rtmin - rtmax <= n && n <= 0)
/haiku-fatelf/src/bin/less/
H A Dregexp.h14 char *endp[NSUBEXP]; member in struct:regexp
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-cdp.c240 const u_char *endp = p + l; local
251 while (p < endp && num >= 0) {
253 if (p + 2 > endp)
260 if (p + pl + 2 > endp)
273 if (p + 4 > endp)
291 if (p + al > endp)
305 if (p + pl > endp)
311 if (p + 2 > endp)
317 if (p + al > endp)
/haiku-fatelf/headers/os/midi2/
H A DMidiRoster.h46 static status_t Register(BMidiEndpoint *endp);
47 static status_t Unregister(BMidiEndpoint *endp);
/haiku-fatelf/src/bin/
H A Dwatch.c160 char *endp; local
163 endp = command + command_length;
164 *endp = ' ';
165 memcpy(endp + 1, argv[optind], s);
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dtriostr.h55 TRIO_STRING_PUBLIC double trio_to_double TRIO_PROTO((const char *source, char **endp));
56 TRIO_STRING_PUBLIC long trio_to_long TRIO_PROTO((const char *source, char **endp, int base));
57 TRIO_STRING_PUBLIC trio_long_double_t trio_to_long_double TRIO_PROTO((const char *source, char **endp));
78 TRIO_STRING_PUBLIC float trio_to_float TRIO_PROTO((const char *source, char **endp));
80 TRIO_STRING_PUBLIC unsigned long trio_to_unsigned_long TRIO_PROTO((const char *source, char **endp, int base));
H A Dtriostr.c938 @param endp Pointer to end of the converted string.
958 TRIO_ARGS2((source, endp),
960 char **endp)
963 return strtold(source, endp);
1075 if (endp)
1076 *endp = (char *)source;
1086 @param endp Pointer to end of the converted string.
1093 TRIO_ARGS2((source, endp),
1095 char **endp)
1098 return strtod(source, endp);
957 trio_to_long_double(source, endp), TRIO_CONST char *source, char **endp argument
1092 trio_to_double(source, endp), TRIO_CONST char *source, char **endp argument
1115 trio_to_float(source, endp), TRIO_CONST char *source, char **endp argument
1137 trio_to_long(string, endp, base), TRIO_CONST char *string, char **endp, int base argument
1186 trio_to_unsigned_long(string, endp, base), TRIO_CONST char *string, char **endp, int base argument
[all...]
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DRegExp.h92 const char *endp[kSubExpressionMax]; member in struct:regexp
/haiku-fatelf/src/bin/bash/builtins/
H A Devalstring.c358 parse_string (string, from_file, flags, endp)
362 char **endp;
445 if (endp)
446 *endp = bash_input.location.string;

Completed in 202 milliseconds

123