Lines Matching refs:the_args
31 static struct addremove_args the_args; variable
222 watch_modify_watchers (finfo->file, &the_args); in addremove_fileproc()
229 int set_default = the_args.setting_default; in addremove_filesdoneproc()
232 while ( !set_default && dir_check < the_args.num_dirs ) in addremove_filesdoneproc()
237 if ( the_args.local ) in addremove_filesdoneproc()
238 set_default = strcmp( update_dir, the_args.dirs[ dir_check ] )==0; in addremove_filesdoneproc()
240 …set_default = strncmp( update_dir, the_args.dirs[ dir_check ], strlen( the_args.dirs[ dir_check ] … in addremove_filesdoneproc()
245 watch_modify_watchers (NULL, &the_args); in addremove_filesdoneproc()
260 the_args.commit = 0; in watch_addremove()
261 the_args.edit = 0; in watch_addremove()
262 the_args.unedit = 0; in watch_addremove()
263 the_args.num_dirs = 0; in watch_addremove()
264 the_args.dirs = NULL; in watch_addremove()
265 the_args.local = 0; in watch_addremove()
273 the_args.local = 1; in watch_addremove()
276 the_args.local = 0; in watch_addremove()
281 the_args.edit = 1; in watch_addremove()
283 the_args.unedit = 1; in watch_addremove()
285 the_args.commit = 1; in watch_addremove()
288 the_args.edit = 1; in watch_addremove()
289 the_args.unedit = 1; in watch_addremove()
290 the_args.commit = 1; in watch_addremove()
294 the_args.edit = 0; in watch_addremove()
295 the_args.unedit = 0; in watch_addremove()
296 the_args.commit = 0; in watch_addremove()
310 the_args.num_dirs = 0; in watch_addremove()
312 the_args.dirs = xmalloc( sizeof( const char * ) * max_dirs ); in watch_addremove()
320 if ( the_args.num_dirs >= max_dirs ) in watch_addremove()
323 the_args.dirs = (const char ** )xrealloc( (void *)the_args.dirs, max_dirs ); in watch_addremove()
325 the_args.dirs[ the_args.num_dirs++ ] = argv[ arg_index ]; in watch_addremove()
331 the_args.edit = 1; in watch_addremove()
332 the_args.unedit = 1; in watch_addremove()
333 the_args.commit = 1; in watch_addremove()
342 if (the_args.local) in watch_addremove()
346 if (the_args.edit) in watch_addremove()
348 if (the_args.unedit) in watch_addremove()
350 if (the_args.commit) in watch_addremove()
352 if (!the_args.edit && !the_args.unedit && !the_args.commit) in watch_addremove()
355 send_files (argc, argv, the_args.local, 0, SEND_NO_CONTENTS); in watch_addremove()
357 send_to_server (the_args.adding ? in watch_addremove()
364 the_args.setting_default = (argc <= 0); in watch_addremove()
366 lock_tree_promotably (argc, argv, the_args.local, W_LOCAL, 0); in watch_addremove()
370 argc, argv, the_args.local, W_LOCAL, 0, CVS_LOCK_WRITE, in watch_addremove()
374 free( (void *)the_args.dirs ); in watch_addremove()
375 the_args.dirs = NULL; in watch_addremove()
385 the_args.adding = 1; in watch_add()
392 the_args.adding = 0; in watch_remove()