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

/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DMultiSrc.c605 int wtarget_len; local
631 wtarget_len = text->length;
637 /* The following converts wtarget_len from byte len to wchar count */
638 wtarget = _XawTextMBToWC( d, &text->ptr[ text->firstPos ], &wtarget_len );
641 /* OK, I can now assert that wtarget holds wide characters, wtarget_len
648 buf = (wchar_t *)XtMalloc((unsigned)sizeof(wchar_t) * wtarget_len );
649 (void)wcsncpy(buf, wtarget, wtarget_len );
656 : *(buf + wtarget_len - count - 1)) ) {
695 return( position - ( wtarget_len - 1 ) );

Completed in 12 milliseconds