Searched refs:ptr1 (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/libXfont/dist/src/util/
H A Dfontutil.c238 fsRange *ptr = NULL, *ptr1, *ptr2, *endptr; local in function:add_range
370 for (ptr1 = ptr; ptr1 >= *range; ptr1--)
372 if (ptrmin <= maxcharp(ptr1) + 1)
374 if (!charset_subset && ptr->min_char_high != ptr1->min_char_high)
376 if (ptrmin >= mincharp(ptr1))
377 ptrmin = mincharp(ptr1);
394 /* We need to coalesce ranges between ptr1 and ptr2 exclusive */
395 ptr1
[all...]
H A Dfontxlfd.c376 register char *ptr1, local in function:FontParseXLFDName
394 !(ptr1 = ptr = strchr(ptr + 1, '-')) || /* weight_name */
446 ptr = ptr1 + 1;
508 p = ptr1 + 1; /* weight field */
567 strcpy(ptr1 + 1, tmpBuf);
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dfontutil.c229 fsRange *ptr = NULL, *ptr1, *ptr2, *endptr; local in function:add_range
361 for (ptr1 = ptr; ptr1 >= *range; ptr1--)
363 if (ptrmin <= maxcharp(ptr1) + 1)
365 if (!charset_subset && ptr->min_char_high != ptr1->min_char_high)
367 if (ptrmin >= mincharp(ptr1))
368 ptrmin = mincharp(ptr1);
385 /* We need to coalesce ranges between ptr1 and ptr2 exclusive */
386 ptr1
[all...]
H A Dfontxlfd.c368 register char *ptr1, local in function:FontParseXLFDName
388 !(ptr1 = ptr = strchr(ptr + 1, '-')) || /* weight_name */
441 ptr = ptr1 + 1;
503 p = ptr1 + 1; /* weight field */
576 strlcpy(ptr1 + 1, tmpBuf, fnamelen - (ptr1 - fname));
/xsrc/external/mit/libX11/dist/src/
H A DGetDflt.c76 register char *ptr1 = NULL; local in function:GetHomeDir
80 if ((ptr1 = getenv("HOME"))) { /* old, deprecated */
81 len1 = strlen (ptr1);
82 } else if ((ptr1 = getenv("HOMEDRIVE")) && (ptr2 = getenv("HOMEDIR"))) {
83 len1 = strlen (ptr1);
86 len1 = strlen (ptr1 = "/users/");
90 snprintf (dest, len, "%s%s", ptr1, (ptr2) ? ptr2 : "");
/xsrc/external/mit/libICE/dist/src/
H A Dauthutil.c94 register char *ptr1; local in function:IceAuthFileName
98 if ((ptr1 = getenv("HOMEDRIVE")) && (ptr2 = getenv("HOMEDIR"))) {
99 len1 = strlen (ptr1);
102 len1 = strlen (ptr1 = "/users/");
106 snprintf (dir, sizeof(dir), "%s%s", ptr1, (ptr2) ? ptr2 : "");
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_render.c501 const uint8_t *ptr1; local in function:r300_draw_elements_immediate
522 ptr1 = (uint8_t*)info->index.user;
523 ptr1 += info->start;
530 OUT_CS(((ptr1[i+1] + info->index_bias) << 16) |
531 (ptr1[i] + info->index_bias));
534 OUT_CS(ptr1[i] + info->index_bias);
537 OUT_CS(((ptr1[i+1]) << 16) |
538 (ptr1[i] ));
541 OUT_CS(ptr1[i]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_texture.h57 struct fd_resource *ptr1, *ptr2; member in struct:fd6_pipe_sampler_view
H A Dfd6_texture.c226 so->ptr1 = rsc;
H A Dfd6_emit.c401 if (view->ptr1) {
402 OUT_RELOC(state, view->ptr1->bo, view->offset1,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_render.c504 const uint8_t *ptr1; local in function:r300_draw_elements_immediate
525 ptr1 = (uint8_t*)info->index.user;
526 ptr1 += draw->start;
533 OUT_CS(((ptr1[i+1] + draw->index_bias) << 16) |
534 (ptr1[i] + draw->index_bias));
537 OUT_CS(ptr1[i] + draw->index_bias);
540 OUT_CS(((ptr1[i+1]) << 16) |
541 (ptr1[i] ));
544 OUT_CS(ptr1[i]);
/xsrc/external/mit/libXt/dist/src/
H A DInitialize.c290 register char *ptr1; local in function:GetRootDirName
294 if (ptr1 = getenv("HOME")) { /* old, deprecated */
295 len1 = strlen(ptr1);
297 else if ((ptr1 = getenv("HOMEDRIVE")) && (ptr2 = getenv("HOMEDIR"))) {
298 len1 = strlen(ptr1);
302 len1 = strlen(ptr1 = "/users/");
306 sprintf(dest, "%s%s", ptr1, (ptr2) ? ptr2 : "");
/xsrc/external/mit/libSM/dist/src/
H A Dsm_genid.c150 char *ptr1;
/xsrc/external/mit/libXfont/dist/src/fontfile/
H A Dfontdir.c662 char *ptr1 = dir->attributes + 1; local in function:FontFileAddFontFile
668 ptr2 = strchr(ptr1, ':');
670 length = ptr2 - ptr1;
672 length = dir->attributes + strlen(dir->attributes) - ptr1;
673 if (length == uslength && !strncmp(ptr1, UNSCALED_ATTRIB, uslength))
676 ptr1 = ptr2 + 1;
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Dfontdir.c662 char *ptr1 = dir->attributes + 1; local in function:FontFileAddFontFile
668 ptr2 = strchr(ptr1, ':');
670 length = ptr2 - ptr1;
672 length = dir->attributes + strlen(dir->attributes) - ptr1;
673 if (length == uslength && !strncmp(ptr1, UNSCALED_ATTRIB, uslength))
676 ptr1 = ptr2 + 1;
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dbitscale.c572 char *ptr1 = NULL, *ptr2 = NULL; local in function:ComputeScaledProperties
608 ptr1 = ptr2 + 1;
609 if (!(ptr2 = strchr(ptr1, '-'))) ptr2 = strchr(ptr1, '\0');
615 if ((ptr1 != NULL) && (ptr2 != NULL)) {
616 fp->value = MakeAtom(ptr1, ptr2 - ptr1, TRUE);
621 for (ptr3 = ptr1; *ptr3; ptr3++)
625 fp->value = MakeAtom(ptr1, ptr3 - ptr1, TRU
[all...]
/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dbitscale.c577 char *ptr1 = NULL, *ptr2 = NULL; local in function:ComputeScaledProperties
613 ptr1 = ptr2 + 1;
614 if (!(ptr2 = strchr(ptr1, '-'))) ptr2 = strchr(ptr1, '\0');
620 fp->value = MakeAtom(ptr1, ptr2 - ptr1, TRUE);
624 for (ptr3 = ptr1; *ptr3; ptr3++)
628 fp->value = MakeAtom(ptr1, ptr3 - ptr1, TRUE);
/xsrc/external/mit/xterm/dist/
H A Dmain.c5676 char *ptr1, *ptr2; local in function:resize_termcap
5684 if ((ptr1 = x_strindex(oldtc, "co#")) == NULL) {
5686 ptr1 = x_strindex(oldtc, "co#");
5692 if (ptr1 > ptr2) {
5694 temp = ptr1;
5695 ptr1 = ptr2;
5698 ptr1 += 3;
5700 strncpy(newtc, oldtc, i = (size_t) (ptr1 - oldtc));
5710 if ((ptr1 = strchr(ptr1, '
[all...]

Completed in 28 milliseconds