Lines Matching refs:pattern
278 globPtr->pattern = (char*)ckalloc(len+1);
279 globPtr->pattern[0] = '*';
280 strcpy(globPtr->pattern+1, globList[i]);
284 globPtr->pattern = (char*)ckalloc(4*sizeof(char));
285 strcpy(globPtr->pattern, "*.*");
293 globPtr->pattern = (char*)ckalloc(3*sizeof(char));
294 strcpy(globPtr->pattern, "*.");
297 globPtr->pattern = (char*)ckalloc(len);
298 strcpy(globPtr->pattern, globList[i]);
301 globPtr->pattern = (char*)ckalloc(len);
302 strcpy(globPtr->pattern, globList[i]);
306 * Add the glob pattern into the list of patterns.
325 * Add the Mac type pattern into the list of Mac types
458 ckfree((char*)toFree->pattern);