matches 246 lib/zlib/deflate.h uInt matches; /* number of string matches in current block */ matches 423 lib/zlib/trees.c s->last_lit = s->matches = 0; matches 1033 lib/zlib/trees.c s->matches++; matches 1059 lib/zlib/trees.c if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1; matches 3989 source3/client/client.c int i = 0, matches = 0; matches 3995 source3/client/client.c matches = 1; matches 3999 source3/client/client.c matches++; matches 4005 source3/client/client.c if (matches == 0) matches 4007 source3/client/client.c else if (matches == 1) matches 4102 source3/client/client.c char **matches; matches 4120 source3/client/client.c info->matches[info->count] = SMB_STRDUP(f->name); matches 4142 source3/client/client.c info->matches[info->count] = SMB_STRDUP(tmp); matches 4145 source3/client/client.c if (info->matches[info->count] == NULL) { matches 4152 source3/client/client.c info->samelen = strlen(info->matches[info->count]); matches 4154 source3/client/client.c while (strncmp(info->matches[info->count], matches 4155 source3/client/client.c info->matches[info->count-1], matches 4179 source3/client/client.c info.matches = SMB_MALLOC_ARRAY(char *,MAX_COMPLETIONS); matches 4180 source3/client/client.c if (!info.matches) { matches 4190 source3/client/client.c info.matches[0] = NULL; matches 4239 source3/client/client.c SAFE_FREE(info.matches[0]); matches 4240 source3/client/client.c SAFE_FREE(info.matches); matches 4250 source3/client/client.c info.matches[0] = info.matches[1]; matches 4251 source3/client/client.c info.matches[1] = NULL; matches 4254 source3/client/client.c return info.matches; matches 4262 source3/client/client.c info.matches[0] = SMB_STRNDUP(info.matches[1], info.samelen); matches 4263 source3/client/client.c info.matches[info.count] = NULL; matches 4264 source3/client/client.c return info.matches; matches 4268 source3/client/client.c SAFE_FREE(info.matches[i]); matches 4270 source3/client/client.c SAFE_FREE(info.matches); matches 4315 source3/client/client.c char **matches; matches 4318 source3/client/client.c matches = SMB_MALLOC_ARRAY(char *, MAX_COMPLETIONS); matches 4319 source3/client/client.c if (!matches) { matches 4322 source3/client/client.c matches[0] = NULL; matches 4327 source3/client/client.c matches[count] = SMB_STRDUP(commands[i].name); matches 4328 source3/client/client.c if (!matches[count]) matches 4331 source3/client/client.c samelen = strlen(matches[count]); matches 4333 source3/client/client.c while (strncmp(matches[count], matches[count-1], samelen) != 0) matches 4344 source3/client/client.c matches[0] = SMB_STRDUP(matches[1]); matches 4347 source3/client/client.c matches[0] = (char *)SMB_MALLOC(samelen+1); matches 4348 source3/client/client.c if (!matches[0]) matches 4350 source3/client/client.c strncpy(matches[0], matches[1], samelen); matches 4351 source3/client/client.c matches[0][samelen] = 0; matches 4353 source3/client/client.c matches[count] = NULL; matches 4354 source3/client/client.c return matches; matches 4358 source3/client/client.c free(matches[i]); matches 4360 source3/client/client.c free(matches); matches 50 source3/rpcclient/rpcclient.c char **matches; matches 67 source3/rpcclient/rpcclient.c matches = SMB_MALLOC_ARRAY(char *, MAX_COMPLETIONS); matches 68 source3/rpcclient/rpcclient.c if (!matches) { matches 72 source3/rpcclient/rpcclient.c matches[count++] = SMB_STRDUP(text); matches 73 source3/rpcclient/rpcclient.c if (!matches[0]) { matches 74 source3/rpcclient/rpcclient.c SAFE_FREE(matches); matches 89 source3/rpcclient/rpcclient.c matches[count] = SMB_STRDUP(commands->cmd_set[i].name); matches 90 source3/rpcclient/rpcclient.c if (!matches[count]) { matches 92 source3/rpcclient/rpcclient.c SAFE_FREE(matches[count]); matches 94 source3/rpcclient/rpcclient.c SAFE_FREE(matches); matches 105 source3/rpcclient/rpcclient.c SAFE_FREE(matches[0]); matches 106 source3/rpcclient/rpcclient.c matches[0] = SMB_STRDUP(matches[1]); matches 108 source3/rpcclient/rpcclient.c matches[count] = NULL; matches 109 source3/rpcclient/rpcclient.c return matches; matches 46 source3/torture/vfstest.c char **matches; matches 57 source3/torture/vfstest.c matches = SMB_MALLOC_ARRAY(char *, MAX_COMPLETIONS); matches 58 source3/torture/vfstest.c if (!matches) return NULL; matches 60 source3/torture/vfstest.c matches[count++] = SMB_STRDUP(text); matches 61 source3/torture/vfstest.c if (!matches[0]) return NULL; matches 73 source3/torture/vfstest.c matches[count] = SMB_STRDUP(commands->cmd_set[i].name); matches 74 source3/torture/vfstest.c if (!matches[count]) matches 85 source3/torture/vfstest.c SAFE_FREE(matches[0]); matches 86 source3/torture/vfstest.c matches[0] = SMB_STRDUP(matches[1]); matches 88 source3/torture/vfstest.c matches[count] = NULL; matches 89 source3/torture/vfstest.c return matches; matches 2719 source4/client/client.c int i = 0, matches = 0; matches 2725 source4/client/client.c matches = 1; matches 2729 source4/client/client.c matches++; matches 2735 source4/client/client.c if (matches == 0) matches 2737 source4/client/client.c else if (matches == 1) matches 2787 source4/client/client.c char **matches; matches 2799 source4/client/client.c info->matches[info->count] = strdup(f->name); matches 2810 source4/client/client.c info->matches[info->count] = tmp; matches 2812 source4/client/client.c if (info->matches[info->count] == NULL) matches 2818 source4/client/client.c info->samelen = strlen(info->matches[info->count]); matches 2820 source4/client/client.c while (strncmp(info->matches[info->count], info->matches[info->count-1], info->samelen) != 0) matches 2839 source4/client/client.c info.matches = malloc_array_p(char *, MAX_COMPLETIONS); matches 2840 source4/client/client.c if (!info.matches) return NULL; matches 2841 source4/client/client.c info.matches[0] = NULL; matches 2862 source4/client/client.c info.matches[0] = strdup(info.matches[1]); matches 2864 source4/client/client.c info.matches[0] = malloc_array_p(char, info.samelen+1); matches 2865 source4/client/client.c if (!info.matches[0]) matches 2867 source4/client/client.c strncpy(info.matches[0], info.matches[1], info.samelen); matches 2868 source4/client/client.c info.matches[0][info.samelen] = 0; matches 2870 source4/client/client.c info.matches[info.count] = NULL; matches 2871 source4/client/client.c return info.matches; matches 2875 source4/client/client.c free(info.matches[i]); matches 2876 source4/client/client.c free(info.matches); matches 2916 source4/client/client.c char **matches; matches 2919 source4/client/client.c matches = malloc_array_p(char *, MAX_COMPLETIONS); matches 2920 source4/client/client.c if (!matches) return NULL; matches 2921 source4/client/client.c matches[0] = NULL; matches 2926 source4/client/client.c matches[count] = strdup(commands[i].name); matches 2927 source4/client/client.c if (!matches[count]) matches 2930 source4/client/client.c samelen = strlen(matches[count]); matches 2932 source4/client/client.c while (strncmp(matches[count], matches[count-1], samelen) != 0) matches 2943 source4/client/client.c matches[0] = strdup(matches[1]); matches 2946 source4/client/client.c matches[0] = malloc_array_p(char, samelen+1); matches 2947 source4/client/client.c if (!matches[0]) matches 2949 source4/client/client.c strncpy(matches[0], matches[1], samelen); matches 2950 source4/client/client.c matches[0][samelen] = 0; matches 2952 source4/client/client.c matches[count] = NULL; matches 2953 source4/client/client.c return matches; matches 2958 source4/client/client.c free(matches[count]); matches 2961 source4/client/client.c free(matches); matches 371 source4/lib/registry/tools/regshell.c char **matches; matches 374 source4/lib/registry/tools/regshell.c matches = malloc_array_p(char *, MAX_COMPLETIONS); matches 375 source4/lib/registry/tools/regshell.c if (!matches) return NULL; matches 376 source4/lib/registry/tools/regshell.c matches[0] = NULL; matches 381 source4/lib/registry/tools/regshell.c matches[count] = strdup(regshell_cmds[i].name); matches 382 source4/lib/registry/tools/regshell.c if (!matches[count]) matches 385 source4/lib/registry/tools/regshell.c samelen = strlen(matches[count]); matches 387 source4/lib/registry/tools/regshell.c while (strncmp(matches[count], matches[count-1], samelen) != 0) matches 398 source4/lib/registry/tools/regshell.c matches[0] = strdup(matches[1]); matches 401 source4/lib/registry/tools/regshell.c matches[0] = strndup(matches[1], samelen); matches 403 source4/lib/registry/tools/regshell.c matches[count] = NULL; matches 404 source4/lib/registry/tools/regshell.c return matches; matches 409 source4/lib/registry/tools/regshell.c free(matches[count]); matches 412 source4/lib/registry/tools/regshell.c free(matches); matches 423 source4/lib/registry/tools/regshell.c char **matches; matches 428 source4/lib/registry/tools/regshell.c matches = malloc_array_p(char *, MAX_COMPLETIONS); matches 429 source4/lib/registry/tools/regshell.c if (!matches) return NULL; matches 430 source4/lib/registry/tools/regshell.c matches[0] = NULL; matches 441 source4/lib/registry/tools/regshell.c matches[j] = strdup(subkeyname); matches 445 source4/lib/registry/tools/regshell.c samelen = strlen(matches[j]); matches 447 source4/lib/registry/tools/regshell.c while (strncmp(matches[j], matches[j-1], samelen) != 0) matches 461 source4/lib/registry/tools/regshell.c SAFE_FREE(matches); matches 467 source4/lib/registry/tools/regshell.c asprintf(&matches[0], "%s%s", base_n, matches[1]); matches 469 source4/lib/registry/tools/regshell.c asprintf(&matches[0], "%s%s", base_n, matches 470 source4/lib/registry/tools/regshell.c talloc_strndup(mem_ctx, matches[1], samelen)); matches 474 source4/lib/registry/tools/regshell.c matches[j] = NULL; matches 475 source4/lib/registry/tools/regshell.c return matches;