Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 194) sorted by relevance

12345678

/reactos/dll/3rdparty/libtiff/
H A Dtif_swab.c39 t = cp[1]; cp[1] = cp[0]; cp[0] = t; in TIFFSwabShort()
50 t = cp[3]; cp[3] = cp[0]; cp[0] = t; in TIFFSwabLong()
51 t = cp[2]; cp[2] = cp[1]; cp[1] = t; in TIFFSwabLong()
62 t = cp[7]; cp[7] = cp[0]; cp[0] = t; in TIFFSwabLong8()
63 t = cp[6]; cp[6] = cp[1]; cp[1] = t; in TIFFSwabLong8()
64 t = cp[5]; cp[5] = cp[2]; cp[2] = t; in TIFFSwabLong8()
65 t = cp[4]; cp[4] = cp[3]; cp[3] = t; in TIFFSwabLong8()
79 t = cp[1]; cp[1] = cp[0]; cp[0] = t; in TIFFSwabArrayOfShort()
95 t = cp[2]; cp[2] = cp[0]; cp[0] = t; in TIFFSwabArrayOfTriples()
111 t = cp[3]; cp[3] = cp[0]; cp[0] = t; in TIFFSwabArrayOfLong()
[all …]
H A Dtif_predict.c303 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff); in horAcc8()
304 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff); in horAcc8()
305 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff); in horAcc8()
317 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff); in horAcc8()
318 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff); in horAcc8()
319 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff); in horAcc8()
320 cp[3] = (unsigned char) ((ca += cp[3]) & 0xff); in horAcc8()
328 (unsigned char) ((cp[stride] + *cp) & 0xff); cp++) in horAcc8()
432 (unsigned char) ((cp[stride] + cp[0]) & 0xff); cp++) in fpAcc()
554 REPEAT4(stride, cp[stride] = (unsigned char)((cp[stride] - cp[0])&0xff); cp--) in horDiff8()
[all …]
H A Dtif_fax3.c344 case 1: (cp)[0] = 0xff; (cp) += (n); /*-fallthrough*/ \
363 case 1: (cp)[0] = 0; (cp) += (n); /*-fallthrough*/ \
375 case 1: (cp)[0] = 0xff; (cp) += (n); /*-fallthrough*/ \
386 case 1: (cp)[0] = 0; (cp) += (n); /*-fallthrough*/ \
400 unsigned char* cp; in _TIFFFax3fillruns() local
413 cp = buf + (x>>3); in _TIFFFax3fillruns()
435 ZERO(n, cp); in _TIFFFax3fillruns()
461 *cp++ = 0xff; in _TIFFFax3fillruns()
470 FILL(n, cp); in _TIFFFax3fillruns()
475 cp[0] = (unsigned char)((cp[0] | (0xff00 >> run))&0xff); in _TIFFFax3fillruns()
[all …]
H A Dtif_getimage.c1257 cp += toskew; in DECLAREContigPutFunc()
2075 cp += 4; in DECLAREContigPutFunc()
2121 cp += 2; in DECLAREContigPutFunc()
2131 cp ++ ; in DECLAREContigPutFunc()
2135 cp += incr; in DECLAREContigPutFunc()
2147 cp += 2; in DECLAREContigPutFunc()
2176 cp += 2; in DECLAREContigPutFunc()
2188 cp += 1; in DECLAREContigPutFunc()
2214 cp ++; in DECLAREContigPutFunc()
2218 cp += incr; in DECLAREContigPutFunc()
[all …]
/reactos/modules/rosapps/applications/net/ncftp/sio/
H A DStrAddr.c18 char *cp; in ServiceNameToPortNumber() local
23 cp = str; in ServiceNameToPortNumber()
26 cp++; in ServiceNameToPortNumber()
32 || ((!ISALNUM(*cp)) && (*cp != '-') && (*cp != '_'))) in ServiceNameToPortNumber()
72 for (cp = hostcp; *cp != '\0'; cp++) { in AddrStrToAddr()
73 if ((!ISALNUM(*cp)) && (*cp != '.')) { in AddrStrToAddr()
75 if ((*cp == ':') && (isdigit(cp[1]))) { in AddrStrToAddr()
167 for (cp = str; *cp != '\0'; cp++) in AddrToAddrStr()
177 for ( ; *cp != '\0'; cp++) in AddrToAddrStr()
191 for ( ; *cp != '\0'; cp++) in AddrToAddrStr()
[all …]
H A DSError.c144 const char *cp; in SError() local
154 cp = strerror(e); in SError()
155 if ((cp == NULL) || (cp[0] == '\0') || (strcmp(cp, "Unknown error") == 0)) { in SError()
157 cp = estr; in SError()
159 return cp; in SError()
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dglob.c244 cp++; in UnDosLine()
265 if ((*cp == '<') && (cp[1] == 'D')) { in UnDosLine()
295 memmove(cp, cp + 1, strlen(cp + 1) + 1); in UnDosLine()
302 cp++; in UnDosLine()
333 cp++; in UnDosLine()
391 for (cp = line; *cp != '\0'; cp++) { in UnLslRLine()
606 for (cp = line; ; cp++) { in UnLslR()
715 for (cp = line; *cp != '\0'; cp++) { in UnMlsT()
721 for (fact = cp; ; cp++) { in UnMlsT()
722 if ((*cp == '\0') || (*cp == ' ')) { in UnMlsT()
[all …]
H A Dutil.c118 nlptr = cp + strlen(cp) - 1; in FGets()
124 return cp; in FGets()
167 char *cp; in GetPwByName() local
716 if ((cp == NULL) || (cp[1] != '\0')) in StrRemoveTrailingLocalPathDelim()
720 while ((cp > dst) && (IsLocalPathDelim(*cp))) in StrRemoveTrailingLocalPathDelim()
773 if ((cp == NULL) || (cp[1] != '\0')) in StrRemoveTrailingSlashes()
777 while ((cp > dst) && (*cp == '/')) in StrRemoveTrailingSlashes()
859 --cp; in MkDirs()
863 --cp; in MkDirs()
937 ++cp; in MkDirs()
[all …]
H A Dlinelist.c14 char *cp; in StrDup() local
22 if (cp != NULL) in StrDup()
24 return (cp); in StrDup()
318 c = *cp++; in BreadthFirstCmp()
328 c = *cp++; in BreadthFirstCmp()
583 char *cp; in ComputeRNames() local
618 cp++; in ComputeRNames()
641 cp++; in ComputeRNames()
667 char *cp; in ComputeLNames() local
705 cp++; in ComputeLNames()
[all …]
H A Dopen.c385 char *cp, *p; in FTPQueryFeatures() local
649 char *cp; in FTPDecodeURL() local
675 *cp = '\0'; in FTPDecodeURL()
676 cp = url + 11; in FTPDecodeURL()
678 cp = url + 6; in FTPDecodeURL()
687 *cp = '\0'; in FTPDecodeURL()
690 cp = url + 6; in FTPDecodeURL()
699 for (hstart = cp; ; cp++) { in FTPDecodeURL()
702 at1 = cp; in FTPDecodeURL()
705 } else if ((*cp == '\0') || (*cp == '/')) { in FTPDecodeURL()
[all …]
/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dreadln.c72 char *cp; in GetScreenColumns()
303 char *cp; in RemoteCompletionFunction() local
399 char *cp; in RemoteFileCompletionFunction() local
411 char *cp; in RemoteDirCompletionFunction() local
423 char *cp; in BookmarkCompletionFunction() local
454 char *cp; in CommandCompletionFunction() local
486 char *cp; in PrefOptCompletionFunction() local
525 char *cp; in HaveCommandNameOnly() local
526 for (cp = cmdstart; *cp != '\0'; cp++) { in HaveCommandNameOnly()
539 char *cp; in CompletionFunction() local
[all …]
H A Dgetline.c1739 char *cp; in gl_do_tab_completion() local
1773 cp = buf; in gl_do_tab_completion()
1850 if ((cp[0] == '.') && ((cp[1] == '\0') || ((cp[1] == '.') && (cp[2] == '\0')))) in gl_do_tab_completion()
1993 char *cp; in gl_set_home_dir() local
2054 char *cp; in gl_getpass() local
2088 char *cp; in gl_getpass()
2209 if ((cp[0] == '~') && ((cp[1] == '\0') || (IsLocalPathDelim(cp[1])))) { in gl_local_filename_completion_proc()
2218 memmove(cp + len2, cp + 1, len); in gl_local_filename_completion_proc()
2394 ch = (char) cp[strlen(cp) + 2]; in gl_local_filename_completion_proc()
2398 if ((cp[0] == '~') && ((cp[1] == '\0') || (IsLocalPathDelim(cp[1])))) { in gl_local_filename_completion_proc()
[all …]
H A Dutil.c189 char *cp; in MyInetAddr() local
199 if ((cp != (char *) 0) && (cp != (char *) -1) && (cp[0] != '\0')) in MyInetAddr()
370 char *cp; in PathCat() local
511 char *cp; in InitOurDirectory() local
564 cp++; in InitOurDirectory()
567 if ((cp != NULL) && (cp[1] == '\0')) in InitOurDirectory()
571 cp++; in InitOurDirectory()
574 if ((cp != NULL) && (cp[1] == '\0')) in InitOurDirectory()
590 char *cp; in InitOurDirectory()
644 if ((cp != NULL) && (cp[1] == '\0')) in InitUserInfo()
[all …]
H A Dpreffw.c41 char *cp; in WriteDefaultFirewallPrefs() local
45 cp = strchr(gLib.ourHostName, '.'); in WriteDefaultFirewallPrefs()
117 if (cp == NULL) { in WriteDefaultFirewallPrefs()
120 (void) fprintf(fp, "firewall-host=firewall%s\n", cp); in WriteDefaultFirewallPrefs()
173 if (cp != NULL) { in WriteDefaultFirewallPrefs()
174 (void) fprintf(fp, "firewall-exception-list=%s,localhost,localdomain\n", cp); in WriteDefaultFirewallPrefs()
272 char *cp; in LoadFirewallPrefs() local
331 cp = strchr(gLib.ourHostName, '.'); in LoadFirewallPrefs()
333 if (cp != NULL) { in LoadFirewallPrefs()
334 (void) STRNCPY(gFirewallExceptionList, cp); in LoadFirewallPrefs()
/reactos/dll/3rdparty/libtirpc/src/
H A Dgetrpcent.c268 char *cp, **q; local
283 *cp = '\0';
287 *cp++ = '\0';
290 while (*cp == ' ' || *cp == '\t')
291 cp++;
294 cp = strpbrk(cp, " \t");
297 while (cp && *cp) {
298 if (*cp == ' ' || *cp == '\t') {
299 cp++;
303 *q++ = cp;
[all …]
H A Dgetnetpath.c232 char *cp; /* char pointer */ local
236 if ((cp = strchr(npp, token)) == NULL) {
242 if ((cp > npp) && (cp[-1] == '\\')) {
244 if ((cp > npp + 1) && (cp[-2] != '\\')) {
246 strcpy(&cp[-1], cp); /* XXX: overlapping string copy */
251 return (_get_next_token(cp, token));
255 *cp++ = '\0'; /* null-terminate token */
263 return (cp); /* return ptr to r-o-s */
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dvj.c77 *cp++ = 0; \
80 cp += 2; \
90 cp += 2; \
98 u32_t tmp_ = lwip_ntohl(f) + ((cp[1] << 8) | cp[2]); \
100 cp += 3; \
111 cp += 3; \
120 (f) = lwip_htons(((u16_t)cp[1] << 8) | cp[2]); \
121 cp += 3; \
499 u8_t *cp; in vj_uncompress_tcp() local
537 th->chksum = lwip_htons((*cp << 8) | cp[1]); in vj_uncompress_tcp()
[all …]
/reactos/sdk/tools/mkisofs/schilytools/include/schily/
H A Dwchar.h48 # define mbtowc(wp, cp, len) mbrtowc(wp, cp, len, (mbstate_t *)0) argument
49 # define wctomb(cp, wc) wcrtomb(cp, wc, (mbstate_t *)0) argument
66 #define mbrtowc(wp, cp, len, sp) mbtowc(wp, cp, len) argument
69 #define wcrtomb(cp, wc, sp) wctomb(cp, wc) argument
155 #define mbtowc(wp, cp, len) ((void)((wp) ? \ argument
156 *(wchar_t *)(wp) = *(char *)(cp) : 1), 1)
158 #define mbrtowc(wp, cp, len, sp) ((void)((wp) ? \ argument
159 *(wchar_t *)(wp) = *(char *)(cp) : 1), 1)
161 #define wctomb(cp, wc) (*(cp) = wc, 1) argument
163 #define wcrtomb(cp, wc, sp) (*(cp) = wc, 1) argument
/reactos/modules/rosapps/applications/net/ncftp/Strn/
H A Dstrtokc.c9 char *cp; in strtokc() local
27 c = *cp++; in strtokc()
39 start = cp - 1; in strtokc()
52 for ( ; ; cp++) { in strtokc()
53 c = *cp; in strtokc()
56 *context = cp; in strtokc()
70 *cp++ = '\0'; in strtokc()
71 *context = cp; in strtokc()
94 char *cp; in strntokc() local
117 c = *cp++; in strntokc()
[all …]
/reactos/dll/win32/jscript/
H A Dregexp.c1277 if (state->cp < state->cpend && *state->cp == '?') { in ParseQuantifier()
1961 result->cp = cp; in PushBackTrackState()
2390 if (x->cp != gData->cpend && JS7_ISDEC(*x->cp)) { in SimpleMatch()
2396 if (x->cp != gData->cpend && !JS7_ISDEC(*x->cp)) { in SimpleMatch()
2402 if (x->cp != gData->cpend && JS_ISWORD(*x->cp)) { in SimpleMatch()
2414 if (x->cp != gData->cpend && iswspace(*x->cp)) { in SimpleMatch()
2420 if (x->cp != gData->cpend && !iswspace(*x->cp)) { in SimpleMatch()
2450 if (x->cp != gData->cpend && *x->cp == matchCh) { in SimpleMatch()
2475 if (x->cp != gData->cpend && *x->cp == matchCh) { in SimpleMatch()
3027 x->cp = backTrackData->cp; in ExecuteREBytecode()
[all …]
/reactos/dll/win32/vbscript/
H A Dregexp.c1277 if (state->cp < state->cpend && *state->cp == '?') { in ParseQuantifier()
1961 result->cp = cp; in PushBackTrackState()
2390 if (x->cp != gData->cpend && JS7_ISDEC(*x->cp)) { in SimpleMatch()
2396 if (x->cp != gData->cpend && !JS7_ISDEC(*x->cp)) { in SimpleMatch()
2402 if (x->cp != gData->cpend && JS_ISWORD(*x->cp)) { in SimpleMatch()
2414 if (x->cp != gData->cpend && iswspace(*x->cp)) { in SimpleMatch()
2420 if (x->cp != gData->cpend && !iswspace(*x->cp)) { in SimpleMatch()
2450 if (x->cp != gData->cpend && *x->cp == matchCh) { in SimpleMatch()
2475 if (x->cp != gData->cpend && *x->cp == matchCh) { in SimpleMatch()
3027 x->cp = backTrackData->cp; in ExecuteREBytecode()
[all …]
/reactos/drivers/network/tcpip/lwip/src/include/netif/ppp/
H A Dppp_impl.h504 #define GETCHAR(c, cp) { \ argument
505 (c) = *(cp)++; \
507 #define PUTCHAR(c, cp) { \ argument
508 *(cp)++ = (u_char) (c); \
511 (s) = *(cp)++ << 8; \
512 (s) |= *(cp)++; \
516 *(cp)++ = (u_char) (s); \
519 (l) = *(cp)++ << 8; \
522 (l) |= *(cp)++; \
531 #define INCPTR(n, cp) ((cp) += (n)) argument
[all …]
/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/
H A Dc_locale_win32.c185 UINT cp; member
191 char cp[MAX_CP_LEN + 1]; member
199 char cp[MAX_CP_LEN + 1]; member
215 char cp[MAX_CP_LEN + 1]; member
1602 if (cp[1] == 0 && (cp[0] == '0' || cp[1] == '1')) in __GetLCIDFromName()
1666 icp = atoi(cp); in __GetLocaleInfoUsingACP()
1688 char cp[6]; in __intGetACP() local
1698 return atoi(cp); in __intGetACP()
1703 char cp[6]; in __intGetOCP() local
1706 return atoi(cp); in __intGetOCP()
[all …]
/reactos/dll/win32/mshtml/
H A Dconpoint.c27 ConnectionPoint *cp; member
272 ret->cp = This; in ConnectionPoint_EnumConnections()
293 cp->container = container; in ConnectionPoint_Init()
294 cp->sinks = NULL; in ConnectionPoint_Init()
295 cp->sinks_size = 0; in ConnectionPoint_Init()
296 cp->iid = riid; in ConnectionPoint_Init()
297 cp->data = data; in ConnectionPoint_Init()
344 ConnectionPoint *cp; in call_property_onchanged() local
348 if(!cp) in call_property_onchanged()
393 ConnectionPoint *cp; in ConnectionPointContainer_FindConnectionPoint() local
[all …]
/reactos/drivers/network/tcpip/lwip/src/core/ipv4/
H A Dip4_addr.c123 ipaddr_addr(const char *cp) in ipaddr_addr() argument
127 if (ip4addr_aton(cp, &val)) { in ipaddr_addr()
145 ip4addr_aton(const char *cp, ip4_addr_t *addr) in ip4addr_aton() argument
153 c = *cp; in ip4addr_aton()
166 c = *++cp; in ip4addr_aton()
169 c = *++cp; in ip4addr_aton()
179 c = *++cp; in ip4addr_aton()
182 c = *++cp; in ip4addr_aton()
198 c = *++cp; in ip4addr_aton()

12345678