Lines Matching defs:pattern
1081 char *arg, *pattern, *prefix, msg[MSG_SIZE];
1092 pattern = prefix = NULL;
1323 pattern = Tcl_GetStringFromObj(objv[objc - 1], NULL);
1346 if (pattern == NULL && (isdup == 0 || mflag != 0 ||
1555 * At this point, we have a cursor, if we have a pattern,
1557 * have any more that match the pattern prefix. If we have
1567 if (pattern) {
1571 ret = _GetGlobPrefix(pattern, &prefix);
1575 "Unable to allocate pattern space", TCL_STATIC);
1581 * If they give us an empty pattern string
1602 if (pattern) {
1703 char *arg, *pattern, *prefix, msg[MSG_SIZE];
1707 pattern = prefix = NULL;
1756 * Get the pattern. Get the prefix and use cursors to
1767 pattern = Tcl_GetStringFromObj(objv[i++], NULL);
1786 * If we have a pattern AND more keys to process, there is an error.
1787 * Either we have some number of exact keys, or we have a pattern.
1789 if (pattern == NULL) {
1792 interp, 2, objv, "?args? -glob pattern | key");
1799 interp, 2, objv, "?args? -glob pattern | key");
1847 * At this point we've either finished or, if we have a pattern,
1849 * have any more that match the pattern prefix.
1851 if (pattern) {
1863 ret = _GetGlobPrefix(pattern, &prefix);
1867 "Unable to allocate pattern space", TCL_STATIC);
1893 * in the list, check if it matches the prefix pattern.