b 152 lib/intprops-internal.h # define _GL_INT_ADD_WRAPV(a, b, r) __builtin_add_overflow (a, b, r) b 153 lib/intprops-internal.h # define _GL_INT_SUBTRACT_WRAPV(a, b, r) __builtin_sub_overflow (a, b, r) b 155 lib/intprops-internal.h # define _GL_INT_ADD_WRAPV(a, b, r) ckd_add (r, + (a), + (b)) b 156 lib/intprops-internal.h # define _GL_INT_SUBTRACT_WRAPV(a, b, r) ckd_sub (r, + (a), + (b)) b 158 lib/intprops-internal.h # define _GL_INT_ADD_WRAPV(a, b, r) \ b 159 lib/intprops-internal.h _GL_INT_OP_WRAPV (a, b, r, +, _GL_INT_ADD_RANGE_OVERFLOW) b 160 lib/intprops-internal.h # define _GL_INT_SUBTRACT_WRAPV(a, b, r) \ b 161 lib/intprops-internal.h _GL_INT_OP_WRAPV (a, b, r, -, _GL_INT_SUBTRACT_RANGE_OVERFLOW) b 167 lib/intprops-internal.h # define _GL_INT_MULTIPLY_WRAPV(a, b, r) __builtin_mul_overflow (a, b, r) b 170 lib/intprops-internal.h # define _GL_INT_MULTIPLY_WRAPV(a, b, r) \ b 171 lib/intprops-internal.h ((!_GL_SIGNED_TYPE_OR_EXPR (*(r)) && _GL_EXPR_SIGNED (a) && _GL_EXPR_SIGNED (b) \ b 172 lib/intprops-internal.h && _GL_INT_MULTIPLY_RANGE_OVERFLOW (a, b, \ b 175 lib/intprops-internal.h ? ((void) __builtin_mul_overflow (a, b, r), 1) \ b 176 lib/intprops-internal.h : __builtin_mul_overflow (a, b, r)) b 179 lib/intprops-internal.h # define _GL_INT_MULTIPLY_WRAPV(a, b, r) ckd_mul (r, + (a), + (b)) b 181 lib/intprops-internal.h # define _GL_INT_MULTIPLY_WRAPV(a, b, r) \ b 182 lib/intprops-internal.h _GL_INT_OP_WRAPV (a, b, r, *, _GL_INT_MULTIPLY_RANGE_OVERFLOW) b 203 lib/intprops-internal.h # define _GL_INT_OP_WRAPV(a, b, r, op, overflow) \ b 207 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 210 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 213 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 216 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 219 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 222 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 225 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ b 228 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ b 231 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ b 234 lib/intprops-internal.h _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ b 245 lib/intprops-internal.h # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ b 247 lib/intprops-internal.h ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, st, smin, smax) \ b 248 lib/intprops-internal.h : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, ut, 0, umax)) b 250 lib/intprops-internal.h # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ b 251 lib/intprops-internal.h (overflow (a, b, smin, smax) \ b 252 lib/intprops-internal.h ? (overflow (a, b, 0, umax) \ b 253 lib/intprops-internal.h ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 1) \ b 254 lib/intprops-internal.h : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) < 0) \ b 255 lib/intprops-internal.h : (overflow (a, b, 0, umax) \ b 256 lib/intprops-internal.h ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) >= 0 \ b 257 lib/intprops-internal.h : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 0))) b 260 lib/intprops-internal.h # define _GL_INT_OP_WRAPV(a, b, r, op, overflow) \ b 262 lib/intprops-internal.h ? _GL_INT_OP_WRAPV_SMALLISH (a, b, r, op, overflow, \ b 266 lib/intprops-internal.h ? _GL_INT_OP_WRAPV_SMALLISH (a, b, r, op, overflow, \ b 271 lib/intprops-internal.h ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 273 lib/intprops-internal.h : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ b 275 lib/intprops-internal.h : _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow)) b 277 lib/intprops-internal.h # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ b 280 lib/intprops-internal.h ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ b 282 lib/intprops-internal.h : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ b 285 lib/intprops-internal.h ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ b 287 lib/intprops-internal.h : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ b 290 lib/intprops-internal.h # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ b 292 lib/intprops-internal.h ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ b 294 lib/intprops-internal.h : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ b 305 lib/intprops-internal.h #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \ b 306 lib/intprops-internal.h (overflow (a, b, tmin, tmax) \ b 307 lib/intprops-internal.h ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \ b 308 lib/intprops-internal.h : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0)) b 341 lib/intprops-internal.h #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \ b 342 lib/intprops-internal.h ((t) ((ut) (a) op (ut) (b))) b 350 lib/intprops-internal.h #define _GL_INT_ADD_RANGE_OVERFLOW(a, b, tmin, tmax) \ b 351 lib/intprops-internal.h ((b) < 0 \ b 353 lib/intprops-internal.h ? ((_GL_EXPR_SIGNED (_GL_INT_CONVERT (a, (tmin) - (b))) || (b) < (tmin)) \ b 354 lib/intprops-internal.h && (a) < (tmin) - (b)) \ b 355 lib/intprops-internal.h : (a) <= -1 - (b)) \ b 356 lib/intprops-internal.h || ((_GL_EXPR_SIGNED (a) ? 0 <= (a) : (tmax) < (a)) && (tmax) < (a) + (b))) \ b 359 lib/intprops-internal.h ? ((_GL_EXPR_SIGNED (_GL_INT_CONVERT (b, (tmin) - (a))) || (a) < (tmin)) \ b 360 lib/intprops-internal.h && (b) < (tmin) - (a)) \ b 361 lib/intprops-internal.h : (b) <= -1 - (a)) \ b 362 lib/intprops-internal.h || ((_GL_EXPR_SIGNED (_GL_INT_CONVERT (a, b)) || (tmax) < (b)) \ b 363 lib/intprops-internal.h && (tmax) < (a) + (b))) \ b 364 lib/intprops-internal.h : (tmax) < (b) || (tmax) - (b) < (a)) b 365 lib/intprops-internal.h #define _GL_INT_SUBTRACT_RANGE_OVERFLOW(a, b, tmin, tmax) \ b 366 lib/intprops-internal.h (((a) < 0) == ((b) < 0) \ b 367 lib/intprops-internal.h ? ((a) < (b) \ b 368 lib/intprops-internal.h ? !(tmin) || -1 - (tmin) < (b) - (a) - 1 \ b 369 lib/intprops-internal.h : (tmax) < (a) - (b)) \ b 371 lib/intprops-internal.h ? ((!_GL_EXPR_SIGNED (_GL_INT_CONVERT ((a) - (tmin), b)) && (a) - (tmin) < 0) \ b 372 lib/intprops-internal.h || (a) - (tmin) < (b)) \ b 373 lib/intprops-internal.h : ((! (_GL_EXPR_SIGNED (_GL_INT_CONVERT (tmax, b)) \ b 374 lib/intprops-internal.h && _GL_EXPR_SIGNED (_GL_INT_CONVERT ((tmax) + (b), a))) \ b 375 lib/intprops-internal.h && (tmax) <= -1 - (b)) \ b 376 lib/intprops-internal.h || (tmax) + (b) < (a))) b 377 lib/intprops-internal.h #define _GL_INT_MULTIPLY_RANGE_OVERFLOW(a, b, tmin, tmax) \ b 378 lib/intprops-internal.h ((b) < 0 \ b 380 lib/intprops-internal.h ? (_GL_EXPR_SIGNED (_GL_INT_CONVERT (tmax, b)) \ b 381 lib/intprops-internal.h ? (a) < (tmax) / (b) \ b 382 lib/intprops-internal.h : ((_GL_INT_NEGATE_OVERFLOW (b) \ b 383 lib/intprops-internal.h ? _GL_INT_CONVERT (b, tmax) >> (_GL_TYPE_WIDTH (+ (b)) - 1) \ b 384 lib/intprops-internal.h : (tmax) / -(b)) \ b 386 lib/intprops-internal.h : _GL_INT_NEGATE_OVERFLOW (_GL_INT_CONVERT (b, tmin)) && (b) == -1 \ b 390 lib/intprops-internal.h : (tmin) / (b) < (a)) \ b 391 lib/intprops-internal.h : (b) == 0 \ b 395 lib/intprops-internal.h ? (_GL_EXPR_SIGNED (b) ? 0 < (b) + (tmin) : -1 - (tmin) < (b) - 1) \ b 396 lib/intprops-internal.h : (tmin) / (a) < (b)) \ b 397 lib/intprops-internal.h : (tmax) / (b) < (a))) b 55 lib/intprops.h #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) b 114 lib/intprops.h #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ b 115 lib/intprops.h ((b) < 0 \ b 116 lib/intprops.h ? (a) < (min) - (b) \ b 117 lib/intprops.h : (max) - (b) < (a)) b 121 lib/intprops.h #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ b 122 lib/intprops.h ((b) < 0 \ b 123 lib/intprops.h ? (max) + (b) < (a) \ b 124 lib/intprops.h : (a) < (min) + (b)) b 135 lib/intprops.h #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ b 136 lib/intprops.h ((b) < 0 \ b 138 lib/intprops.h ? (a) < (max) / (b) \ b 139 lib/intprops.h : (b) == -1 \ b 141 lib/intprops.h : (min) / (b) < (a)) \ b 142 lib/intprops.h : (b) == 0 \ b 145 lib/intprops.h ? (a) < (min) / (b) \ b 146 lib/intprops.h : (max) / (b) < (a))) b 150 lib/intprops.h #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ b 151 lib/intprops.h ((min) < 0 && (b) == -1 && (a) < - (max)) b 158 lib/intprops.h #define INT_REMAINDER_RANGE_OVERFLOW(a, b, min, max) \ b 159 lib/intprops.h INT_DIVIDE_RANGE_OVERFLOW (a, b, min, max) b 168 lib/intprops.h #define INT_LEFT_SHIFT_RANGE_OVERFLOW(a, b, min, max) \ b 170 lib/intprops.h ? (a) < (min) >> (b) \ b 171 lib/intprops.h : (max) >> (b) < (a)) b 178 lib/intprops.h # define _GL_ADD_OVERFLOW(a, b, min, max) \ b 179 lib/intprops.h __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0) b 180 lib/intprops.h # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ b 181 lib/intprops.h __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0) b 182 lib/intprops.h # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ b 183 lib/intprops.h __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0) b 185 lib/intprops.h # define _GL_ADD_OVERFLOW(a, b, min, max) \ b 186 lib/intprops.h ((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \ b 187 lib/intprops.h : (a) < 0 ? (b) <= (a) + (b) \ b 188 lib/intprops.h : (b) < 0 ? (a) <= (a) + (b) \ b 189 lib/intprops.h : (a) + (b) < (b)) b 190 lib/intprops.h # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ b 191 lib/intprops.h ((min) < 0 ? INT_SUBTRACT_RANGE_OVERFLOW (a, b, min, max) \ b 193 lib/intprops.h : (b) < 0 ? (a) - (b) <= (a) \ b 194 lib/intprops.h : (a) < (b)) b 195 lib/intprops.h # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ b 196 lib/intprops.h (((min) == 0 && (((a) < 0 && 0 < (b)) || ((b) < 0 && 0 < (a)))) \ b 197 lib/intprops.h || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) b 199 lib/intprops.h #define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ b 200 lib/intprops.h ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ b 201 lib/intprops.h : (a) < 0 ? (b) <= (a) + (b) - 1 \ b 202 lib/intprops.h : (b) < 0 && (a) + (b) <= (a)) b 203 lib/intprops.h #define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ b 204 lib/intprops.h ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ b 205 lib/intprops.h : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ b 206 lib/intprops.h : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) b 212 lib/intprops.h #define _GL_UNSIGNED_NEG_MULTIPLE(a, b, max) \ b 213 lib/intprops.h (((b) < -_GL_SIGNED_INT_MAXIMUM (b) \ b 214 lib/intprops.h ? (_GL_SIGNED_INT_MAXIMUM (b) == (max) \ b 216 lib/intprops.h : (a) % (_GL_INT_CONVERT (a, _GL_SIGNED_INT_MAXIMUM (b)) + 1)) \ b 217 lib/intprops.h : (a) % - (b)) \ b 274 lib/intprops.h #define INT_ADD_OVERFLOW(a, b) \ b 275 lib/intprops.h _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW) b 276 lib/intprops.h #define INT_SUBTRACT_OVERFLOW(a, b) \ b 277 lib/intprops.h _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW) b 279 lib/intprops.h #define INT_MULTIPLY_OVERFLOW(a, b) \ b 280 lib/intprops.h _GL_BINARY_OP_OVERFLOW (a, b, _GL_MULTIPLY_OVERFLOW) b 281 lib/intprops.h #define INT_DIVIDE_OVERFLOW(a, b) \ b 282 lib/intprops.h _GL_BINARY_OP_OVERFLOW (a, b, _GL_DIVIDE_OVERFLOW) b 283 lib/intprops.h #define INT_REMAINDER_OVERFLOW(a, b) \ b 284 lib/intprops.h _GL_BINARY_OP_OVERFLOW (a, b, _GL_REMAINDER_OVERFLOW) b 285 lib/intprops.h #define INT_LEFT_SHIFT_OVERFLOW(a, b) \ b 286 lib/intprops.h INT_LEFT_SHIFT_RANGE_OVERFLOW (a, b, \ b 293 lib/intprops.h #define _GL_BINARY_OP_OVERFLOW(a, b, op_result_overflow) \ b 294 lib/intprops.h op_result_overflow (a, b, \ b 295 lib/intprops.h _GL_INT_MINIMUM (_GL_INT_CONVERT (a, b)), \ b 296 lib/intprops.h _GL_INT_MAXIMUM (_GL_INT_CONVERT (a, b))) b 300 lib/intprops.h #define INT_ADD_WRAPV(a, b, r) _GL_INT_ADD_WRAPV (a, b, r) b 301 lib/intprops.h #define INT_SUBTRACT_WRAPV(a, b, r) _GL_INT_SUBTRACT_WRAPV (a, b, r) b 302 lib/intprops.h #define INT_MULTIPLY_WRAPV(a, b, r) _GL_INT_MULTIPLY_WRAPV (a, b, r) b 331 lib/intprops.h #define INT_ADD_OK(a, b, r) (! INT_ADD_WRAPV (a, b, r)) b 332 lib/intprops.h #define INT_SUBTRACT_OK(a, b, r) (! INT_SUBTRACT_WRAPV (a, b, r)) b 333 lib/intprops.h #define INT_MULTIPLY_OK(a, b, r) (! INT_MULTIPLY_WRAPV (a, b, r)) b 691 lib/search/regex.c char b; b 758 lib/search/regex.c b = 0xC0 | (c >> 6); b 759 lib/search/regex.c g_string_append_c (dest_str, b); b 760 lib/search/regex.c b = 0x80 | (c & 0x3F); b 761 lib/search/regex.c g_string_append_c (dest_str, b); b 765 lib/search/regex.c b = 0xE0 | (c >> 12); b 766 lib/search/regex.c g_string_append_c (dest_str, b); b 767 lib/search/regex.c b = 0x80 | ((c >> 6) & 0x3F); b 768 lib/search/regex.c g_string_append_c (dest_str, b); b 769 lib/search/regex.c b = 0x80 | (c & 0x3F); b 770 lib/search/regex.c g_string_append_c (dest_str, b); b 774 lib/search/regex.c b = 0xF0 | (c >> 16); b 775 lib/search/regex.c g_string_append_c (dest_str, b); b 776 lib/search/regex.c b = 0x80 | ((c >> 12) & 0x3F); b 777 lib/search/regex.c g_string_append_c (dest_str, b); b 778 lib/search/regex.c b = 0x80 | ((c >> 6) & 0x3F); b 779 lib/search/regex.c g_string_append_c (dest_str, b); b 780 lib/search/regex.c b = 0x80 | (c & 0x3F); b 781 lib/search/regex.c g_string_append_c (dest_str, b); b 94 lib/skin/ini-file.c string_array_comparator (gconstpointer a, gconstpointer b) b 96 lib/skin/ini-file.c return strcmp (*(char *const *) a, *(char *const *) b); b 31 lib/stdckdint.in.h #define ckd_add(r, a, b) ((bool) _GL_INT_ADD_WRAPV (a, b, r)) b 32 lib/stdckdint.in.h #define ckd_sub(r, a, b) ((bool) _GL_INT_SUBTRACT_WRAPV (a, b, r)) b 33 lib/stdckdint.in.h #define ckd_mul(r, a, b) ((bool) _GL_INT_MULTIPLY_WRAPV (a, b, r)) b 545 lib/strutil.h int filenvercmp (char const *a, ssize_t alen, char const *b, ssize_t blen); b 195 lib/strutil/filevercmp.c filenvercmp (const char *a, ssize_t alen, const char *b, ssize_t blen) b 204 lib/strutil/filevercmp.c bempty = blen < 0 ? b[0] == '\0' : blen == 0; b 218 lib/strutil/filevercmp.c if (b[0] != '.') b 222 lib/strutil/filevercmp.c bdot = blen < 0 ? b[1] == '\0' : blen == 1; b 230 lib/strutil/filevercmp.c bdotdot = b[1] == '.' && (blen < 0 ? b[2] == '\0' : blen == 2); b 236 lib/strutil/filevercmp.c else if (b[0] == '.') b 241 lib/strutil/filevercmp.c bprefixlen = file_prefixlen (b, &blen); b 246 lib/strutil/filevercmp.c result = verrevcmp (a, aprefixlen, b, bprefixlen); b 250 lib/strutil/filevercmp.c return (result != 0 || one_pass_only ? result : verrevcmp (a, alen, b, blen)); b 565 lib/tty/key.c select_cmp_by_fd_set (gconstpointer a, gconstpointer b) b 568 lib/tty/key.c const fd_set *f = (const fd_set *) b; b 576 lib/tty/key.c select_cmp_by_fd (gconstpointer a, gconstpointer b) b 579 lib/tty/key.c const int fd = GPOINTER_TO_INT (b); b 58 lib/util.h #define DOZ(a, b) ((a) > (b) ? (a) - (b) : 0) b 993 lib/vfs/direntry.c vfs_s_entry_compare (const void *a, const void *b) b 996 lib/vfs/direntry.c const char *name = (const char *) b; b 114 lib/vfs/gc.c vfs_stamp_compare (gconstpointer a, gconstpointer b) b 117 lib/vfs/gc.c const struct vfs_stamping *vsb = (const struct vfs_stamping *) b; b 35 lib/vfs/xdirentry.h #define ERRNOR(a, b) do { me->verrno = a; return b; } while (0) b 167 lib/vfs/xdirentry.h int vfs_s_entry_compare (const void *a, const void *b); b 62 lib/widget/background.c background_adjust (WBackground *b) b 64 lib/widget/background.c Widget *w = WIDGET (b); b 73 lib/widget/background.c background_draw (const WBackground *b) b 75 lib/widget/background.c const Widget *w = CONST_WIDGET (b); b 77 lib/widget/background.c tty_setcolor (b->color); b 78 lib/widget/background.c tty_fill_region (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, b->pattern); b 88 lib/widget/background.c WBackground *b = BACKGROUND (w); b 93 lib/widget/background.c background_adjust (b); b 97 lib/widget/background.c background_draw (b); b 112 lib/widget/background.c WBackground *b; b 115 lib/widget/background.c b = g_new (WBackground, 1); b 116 lib/widget/background.c w = WIDGET (b); b 120 lib/widget/background.c b->color = color; b 121 lib/widget/background.c b->pattern = pattern; b 123 lib/widget/background.c return b; b 64 lib/widget/button.c WButton *b = BUTTON (w); b 84 lib/widget/button.c if (parm == '\n' && b->flags == DEFPUSH_BUTTON) b 90 lib/widget/button.c if (b->text.hotkey != NULL && g_ascii_tolower ((gchar) b->text.hotkey[0]) == parm) b 101 lib/widget/button.c h->ret_value = b->action; b 102 lib/widget/button.c if (b->callback == NULL || b->callback (b, b->action) != 0) b 108 lib/widget/button.c switch (b->flags) b 124 lib/widget/button.c widget_gotoyx (w, 0, b->hotpos + off); b 136 lib/widget/button.c switch (b->flags) b 152 lib/widget/button.c hotkey_draw (w, b->text, focused); b 154 lib/widget/button.c switch (b->flags) b 173 lib/widget/button.c hotkey_free (b->text); b 210 lib/widget/button.c WButton *b; b 213 lib/widget/button.c b = g_new (WButton, 1); b 214 lib/widget/button.c w = WIDGET (b); b 216 lib/widget/button.c b->action = action; b 217 lib/widget/button.c b->flags = flags; b 218 lib/widget/button.c b->text = hotkey_new (text); b 219 lib/widget/button.c r.cols = button_get_len (b); b 222 lib/widget/button.c b->callback = callback; b 223 lib/widget/button.c b->hotpos = (b->text.hotkey != NULL) ? str_term_width1 (b->text.start) : -1; b 225 lib/widget/button.c return b; b 231 lib/widget/button.c button_get_text (const WButton *b) b 233 lib/widget/button.c return hotkey_get_text (b->text); b 239 lib/widget/button.c button_set_text (WButton *b, const char *text) b 241 lib/widget/button.c Widget *w = WIDGET (b); b 245 lib/widget/button.c if (hotkey_equal (b->text, hk)) b 251 lib/widget/button.c hotkey_free (b->text); b 252 lib/widget/button.c b->text = hk; b 253 lib/widget/button.c b->hotpos = (b->text.hotkey != NULL) ? str_term_width1 (b->text.start) : -1; b 254 lib/widget/button.c w->rect.cols = button_get_len (b); b 261 lib/widget/button.c button_get_len (const WButton *b) b 263 lib/widget/button.c int ret = hotkey_width (b->text); b 265 lib/widget/button.c switch (b->flags) b 48 lib/widget/button.h char *button_get_text (const WButton * b); b 49 lib/widget/button.h void button_set_text (WButton * b, const char *text); b 50 lib/widget/button.h int button_get_len (const WButton * b); b 790 lib/widget/group.c GList *b; b 792 lib/widget/group.c b = g_list_find (g->widgets, before); b 795 lib/widget/group.c assert (b != NULL); b 797 lib/widget/group.c b = g_list_next (b); b 798 lib/widget/group.c g->widgets = g_list_insert_before (g->widgets, b, ww); b 799 lib/widget/group.c if (b != NULL) b 800 lib/widget/group.c new_current = g_list_previous (b); b 393 lib/widget/input_complete.c host_equal_func (gconstpointer a, gconstpointer b) b 395 lib/widget/input_complete.c return (strcmp ((const char *) a, (const char *) b) == 0); b 683 lib/widget/input_complete.c match_compare (gconstpointer a, gconstpointer b) b 685 lib/widget/input_complete.c return strcmp (*(char *const *) a, *(char *const *) b); b 67 lib/widget/listbox.c listbox_entry_cmp (const void *a, const void *b, void *user_data) b 70 lib/widget/listbox.c const WLEntry *eb = (const WLEntry *) b; b 455 lib/widget/widget-common.h widget_overlapped (const Widget *a, const Widget *b) b 457 lib/widget/widget-common.h return rects_are_overlapped (&a->rect, &b->rect); b 707 lib/widget/wtools.c Widget *b; b 720 lib/widget/wtools.c b = WIDGET (button_new (y++, 3, B_CANCEL, NORMAL_BUTTON, b_name, NULL)); b 721 lib/widget/wtools.c group_add_widget_autopos (wg, b, WPOS_KEEP_TOP | WPOS_CENTER_HORZ, NULL); b 1107 src/diffviewer/ydiff.c BRACKET b; b 1120 src/diffviewer/ydiff.c b[DIFF_LEFT].off = bracket[DIFF_LEFT].off; b 1121 src/diffviewer/ydiff.c b[DIFF_LEFT].len = (*data)[0]; b 1122 src/diffviewer/ydiff.c b[DIFF_RIGHT].off = bracket[DIFF_RIGHT].off; b 1123 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = (*data)[1]; b 1124 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) b 1131 src/diffviewer/ydiff.c b[DIFF_LEFT].off = bracket[DIFF_LEFT].off + (*data)[0] + len; b 1132 src/diffviewer/ydiff.c b[DIFF_LEFT].len = (*data2)[0] - (*data)[0] - len; b 1133 src/diffviewer/ydiff.c b[DIFF_RIGHT].off = bracket[DIFF_RIGHT].off + (*data)[1] + len; b 1134 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = (*data2)[1] - (*data)[1] - len; b 1135 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) b 1139 src/diffviewer/ydiff.c b[DIFF_LEFT].off = bracket[DIFF_LEFT].off + (*data)[0] + len; b 1140 src/diffviewer/ydiff.c b[DIFF_LEFT].len = bracket[DIFF_LEFT].len - (*data)[0] - len; b 1141 src/diffviewer/ydiff.c b[DIFF_RIGHT].off = bracket[DIFF_RIGHT].off + (*data)[1] + len; b 1142 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = bracket[DIFF_RIGHT].len - (*data)[1] - len; b 1143 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) b 1180 src/diffviewer/ydiff.c BRACKET b; b 1188 src/diffviewer/ydiff.c b[DIFF_LEFT].off = i; b 1189 src/diffviewer/ydiff.c b[DIFF_LEFT].len = m - i; b 1190 src/diffviewer/ydiff.c b[DIFF_RIGHT].off = i; b 1191 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = n - i; b 1194 src/diffviewer/ydiff.c return hdiff_multi (s, t, b, min, hdiff, depth); b 1215 src/diffviewer/ydiff.c BRACKET *b; b 1221 src/diffviewer/ydiff.c b = &g_array_index (hdiff, BRACKET, i); b 1222 src/diffviewer/ydiff.c start = (*b)[ord].off; b 1223 src/diffviewer/ydiff.c end = start + (*b)[ord].len; b 2946 src/diffviewer/ydiff.c WButtonBar *b; b 2948 src/diffviewer/ydiff.c b = buttonbar_find (DIALOG (d->owner)); b 2950 src/diffviewer/ydiff.c buttonbar_set_label (b, 1, Q_ ("ButtonBar|Help"), d->keymap, d); b 2951 src/diffviewer/ydiff.c buttonbar_set_label (b, 2, Q_ ("ButtonBar|Save"), d->keymap, d); b 2952 src/diffviewer/ydiff.c buttonbar_set_label (b, 4, Q_ ("ButtonBar|Edit"), d->keymap, d); b 2953 src/diffviewer/ydiff.c buttonbar_set_label (b, 5, Q_ ("ButtonBar|Merge"), d->keymap, d); b 2954 src/diffviewer/ydiff.c buttonbar_set_label (b, 7, Q_ ("ButtonBar|Search"), d->keymap, d); b 2955 src/diffviewer/ydiff.c buttonbar_set_label (b, 9, Q_ ("ButtonBar|Options"), d->keymap, d); b 2956 src/diffviewer/ydiff.c buttonbar_set_label (b, 10, Q_ ("ButtonBar|Quit"), d->keymap, d); b 78 src/editor/edit-impl.h #define edit_query_dialog2(h,t,a,b) query_dialog (h, t, D_NORMAL, 2, a, b) b 79 src/editor/edit-impl.h #define edit_query_dialog3(h,t,a,b,c) query_dialog (h, t, D_NORMAL, 3, a, b, c) b 487 src/editor/edit.c off_t b; b 512 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); b 513 src/editor/edit.c edit_move_to_prev_col (edit, b); b 885 src/editor/edit.c off_t b; b 887 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); b 888 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); b 900 src/editor/edit.c off_t b; b 902 src/editor/edit.c b = edit_buffer_get_current_eol (&edit->buffer); b 903 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); b 1195 src/editor/edit.c off_t b; b 1232 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark1); b 1233 src/editor/edit.c edit->column1 = (long) edit_move_forward3 (edit, b, 0, edit->mark1); b 1238 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark2); b 1239 src/editor/edit.c edit->column2 = (long) edit_move_forward3 (edit, b, 0, edit->mark2); b 1283 src/editor/edit.c off_t b; b 1318 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark1); b 1319 src/editor/edit.c edit->column1 = (long) edit_move_forward3 (edit, b, 0, edit->mark1); b 1324 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, edit->mark2); b 1325 src/editor/edit.c edit->column2 = (long) edit_move_forward3 (edit, b, 0, edit->mark2); b 1555 src/editor/edit.c const char *const b = "{}{[][()(", *p; b 1562 src/editor/edit.c p = strchr (b, c); b 1637 src/editor/edit.c off_t b; b 1647 src/editor/edit.c b = edit_buffer_get_bol (&edit->buffer, cur_bol); b 1648 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); b 2900 src/editor/edit.c off_t b; b 2902 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); b 2903 src/editor/edit.c return (long) edit_move_forward3 (edit, b, 0, edit->buffer.curs1); b 2921 src/editor/edit.c off_t b; b 2923 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); b 2924 src/editor/edit.c edit->curs_col = (long) edit_move_forward3 (edit, b, 0, edit->buffer.curs1); b 3011 src/editor/edit.c off_t b; b 3021 src/editor/edit.c b = edit_buffer_get_current_bol (&edit->buffer); b 3023 src/editor/edit.c line_len = (long) edit_move_forward3 (edit, b, 0, e); b 3054 src/editor/edit.c b = edit_move_forward3 (edit, p, edit->curs_col, 0); b 3055 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); b 3058 src/editor/edit.c b = edit_move_forward3 (edit, p, q, 0); b 3059 src/editor/edit.c edit_cursor_move (edit, b - edit->buffer.curs1); b 119 src/editor/editbuffer.c void *b; b 129 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, p >> S_EDIT_BUF_SIZE); b 130 src/editor/editbuffer.c return (char *) b + EDIT_BUF_SIZE - 1 - (p & M_EDIT_BUF_SIZE); b 133 src/editor/editbuffer.c b = g_ptr_array_index (buf->b1, byte_index >> S_EDIT_BUF_SIZE); b 134 src/editor/editbuffer.c return (char *) b + (byte_index & M_EDIT_BUF_SIZE); b 493 src/editor/editbuffer.c void *b; b 503 src/editor/editbuffer.c b = g_ptr_array_index (buf->b1, buf->curs1 >> S_EDIT_BUF_SIZE); b 504 src/editor/editbuffer.c *((unsigned char *) b + i) = (unsigned char) c; b 525 src/editor/editbuffer.c void *b; b 535 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, buf->curs2 >> S_EDIT_BUF_SIZE); b 536 src/editor/editbuffer.c *((unsigned char *) b + EDIT_BUF_SIZE - 1 - i) = (unsigned char) c; b 557 src/editor/editbuffer.c void *b; b 564 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, prev >> S_EDIT_BUF_SIZE); b 566 src/editor/editbuffer.c c = *((unsigned char *) b + EDIT_BUF_SIZE - 1 - i); b 573 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, j); b 597 src/editor/editbuffer.c void *b; b 604 src/editor/editbuffer.c b = g_ptr_array_index (buf->b1, prev >> S_EDIT_BUF_SIZE); b 606 src/editor/editbuffer.c c = *((unsigned char *) b + i); b 613 src/editor/editbuffer.c b = g_ptr_array_index (buf->b1, j); b 701 src/editor/editbuffer.c void *b; b 715 src/editor/editbuffer.c b = g_malloc0 (EDIT_BUF_SIZE); b 716 src/editor/editbuffer.c g_ptr_array_add (buf->b2, b); b 717 src/editor/editbuffer.c b = (char *) b + EDIT_BUF_SIZE - data_size; b 718 src/editor/editbuffer.c ret = mc_read (fd, b, data_size); b 722 src/editor/editbuffer.c if (*((char *) b + j) == '\n') b 735 src/editor/editbuffer.c b = g_malloc0 (data_size); b 736 src/editor/editbuffer.c g_ptr_array_add (buf->b2, b); b 737 src/editor/editbuffer.c sz = mc_read (fd, b, data_size); b 743 src/editor/editbuffer.c if (*((char *) b + j) == '\n') b 776 src/editor/editbuffer.c b = *b1; b 778 src/editor/editbuffer.c *b2 = b; b 814 src/editor/editbuffer.c void *b; b 822 src/editor/editbuffer.c b = g_ptr_array_index (buf->b1, i); b 823 src/editor/editbuffer.c sz = mc_write (fd, b, data_size); b 834 src/editor/editbuffer.c b = g_ptr_array_index (buf->b1, i); b 835 src/editor/editbuffer.c sz = mc_write (fd, b, data_size); b 847 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, i); b 849 src/editor/editbuffer.c sz = mc_write (fd, (char *) b + EDIT_BUF_SIZE - data_size, data_size); b 859 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, i); b 860 src/editor/editbuffer.c sz = mc_write (fd, b, data_size); b 469 src/editor/editcmd.c long b, c, d; b 476 src/editor/editcmd.c b = MAX (MIN (c, d), MIN (edit->column1, edit->column2)); b 484 src/editor/editcmd.c p = edit_move_forward3 (edit, r, b, 0); b 541 src/editor/editcmd.c off_t b, e; b 550 src/editor/editcmd.c b = edit_buffer_get_current_bol (&edit->buffer); b 552 src/editor/editcmd.c line_width = edit_move_forward3 (edit, b, 0, e); b 495 src/editor/editdraw.c edit_draw_this_line (WEdit *edit, off_t b, long row, long start_col, long end_col) b 527 src/editor/editdraw.c q = edit_move_forward3 (edit, b, start_col - edit->start_col, 0); b 528 src/editor/editdraw.c col = (int) edit_move_forward3 (edit, b, 0, q); b 561 src/editor/editdraw.c for (tws = edit_buffer_get_eol (&edit->buffer, b); tws > b; tws--) b 589 src/editor/editdraw.c x = (long) edit_move_forward3 (edit, b, 0, q); b 822 src/editor/editdraw.c off_t b; b 824 src/editor/editdraw.c b = edit_buffer_get_bol (&edit->buffer, curs); b 825 src/editor/editdraw.c edit_draw_this_line (edit, b, row, start_column, end_column); b 894 src/editor/editdraw.c long b; b 898 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, edit->start_display, start_row, 0); b 903 src/editor/editdraw.c edit_draw_this_line (edit, b, row, start_column, end_column); b 904 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); b 915 src/editor/editdraw.c b = edit->start_display; b 921 src/editor/editdraw.c edit_draw_this_line (edit, b, row, start_column, end_column); b 922 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); b 927 src/editor/editdraw.c b = edit_buffer_get_current_bol (&edit->buffer); b 932 src/editor/editdraw.c edit_draw_this_line (edit, b, curs_row, start_column, end_column); b 937 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); b 942 src/editor/editdraw.c edit_draw_this_line (edit, b, row, start_column, end_column); b 943 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); b 950 src/editor/editdraw.c b = edit_buffer_get_current_bol (&edit->buffer); b 951 src/editor/editdraw.c b = edit_buffer_get_backward_offset (&edit->buffer, b, 1); b 956 src/editor/editdraw.c edit_draw_this_line (edit, b, row, start_column, end_column); b 963 src/editor/editdraw.c b = edit_buffer_get_current_bol (&edit->buffer); b 964 src/editor/editdraw.c b = edit_buffer_get_forward_offset (&edit->buffer, b, 1, 0); b 969 src/editor/editdraw.c edit_draw_this_line (edit, b, row, start_column, end_column); b 872 src/editor/editwidget.c WMenuBar *b; b 874 src/editor/editwidget.c b = menubar_find (h); b 876 src/editor/editwidget.c if (!widget_get_state (WIDGET (b), WST_FOCUSED)) b 912 src/editor/editwidget.c menubar_activate (b, drop_menus, -1); b 217 src/editor/format.c line_pixel_length (unsigned char *t, off_t b, off_t l, gboolean utf8) b 230 src/editor/format.c b += char_length; b 231 src/editor/format.c tb = (char *) t + b; b 237 src/editor/format.c return b; b 267 src/editor/format.c return b; b 817 src/editor/syntax.c char f[80], b[80], a[80], *p; b 839 src/editor/syntax.c g_strlcpy (b, color->bg, sizeof (b)); b 840 src/editor/syntax.c p = strchr (b, '/'); b 843 src/editor/syntax.c color->bg = b; b 866 src/editor/syntax.c g_strlcpy (b, p, sizeof (b)); b 868 src/editor/syntax.c g_strlcpy (b, "default", sizeof (b)); b 869 src/editor/syntax.c color->bg = b; b 329 src/filemanager/achown.c WButton *b = BUTTON (w); b 335 src/filemanager/achown.c if (b == b_att[0]) b 337 src/filemanager/achown.c else if (b == b_att[1]) b 345 src/filemanager/achown.c if (b->hotpos == -1) b 346 src/filemanager/achown.c b->hotpos = 0; b 348 src/filemanager/achown.c flag_pos = f_pos * 3 + b->hotpos; b 361 src/filemanager/achown.c flag_pos = f_pos * 3 + b->hotpos; b 365 src/filemanager/achown.c if (b->hotpos == 2) b 375 src/filemanager/achown.c b->hotpos = flag_pos % 3; b 385 src/filemanager/achown.c b->hotpos = flag_pos % 3; b 398 src/filemanager/achown.c b->hotpos = i; b 402 src/filemanager/achown.c i = b->hotpos; b 405 src/filemanager/achown.c if (b->text.start[flag_pos % 3] == '-') b 421 src/filemanager/achown.c b->hotpos = i; b 462 src/filemanager/achown.c WButton *b; b 466 src/filemanager/achown.c b = button_new (y, x, action, flags, text, callback); b 467 src/filemanager/achown.c w = WIDGET (b); b 475 src/filemanager/achown.c return b; b 1059 src/filemanager/chattr.c Widget *b; b 1061 src/filemanager/chattr.c b = chattr_but[i++].button; b 1062 src/filemanager/chattr.c r = b->rect; b 1064 src/filemanager/chattr.c widget_set_size_rect (b, &r); b 1066 src/filemanager/chattr.c b = chattr_but[i].button; b 1067 src/filemanager/chattr.c r = b->rect; b 1069 src/filemanager/chattr.c widget_set_size_rect (b, &r); b 112 src/filemanager/dir.c compare_by_names (file_entry_t *a, file_entry_t *b) b 117 src/filemanager/dir.c if (b->name_sort_key == NULL) b 118 src/filemanager/dir.c b->name_sort_key = str_create_key_for_filename (b->fname->str, case_sensitive); b 120 src/filemanager/dir.c return key_collate (a->name_sort_key, b->name_sort_key); b 326 src/filemanager/dir.c unsorted (file_entry_t *a, file_entry_t *b) b 329 src/filemanager/dir.c (void) b; b 337 src/filemanager/dir.c sort_name (file_entry_t *a, file_entry_t *b) b 340 src/filemanager/dir.c int bd = MY_ISDIR (b); b 343 src/filemanager/dir.c return compare_by_names (a, b); b 351 src/filemanager/dir.c sort_vers (file_entry_t *a, file_entry_t *b) b 354 src/filemanager/dir.c int bd = MY_ISDIR (b); b 360 src/filemanager/dir.c result = filevercmp (a->fname->str, b->fname->str); b 364 src/filemanager/dir.c return compare_by_names (a, b); b 373 src/filemanager/dir.c sort_ext (file_entry_t *a, file_entry_t *b) b 376 src/filemanager/dir.c int bd = MY_ISDIR (b); b 384 src/filemanager/dir.c if (b->extension_sort_key == NULL) b 385 src/filemanager/dir.c b->extension_sort_key = str_create_key (extension (b->fname->str), case_sensitive); b 387 src/filemanager/dir.c r = str_key_collate (a->extension_sort_key, b->extension_sort_key, case_sensitive); b 391 src/filemanager/dir.c return compare_by_names (a, b); b 400 src/filemanager/dir.c sort_time (file_entry_t *a, file_entry_t *b) b 403 src/filemanager/dir.c int bd = MY_ISDIR (b); b 407 src/filemanager/dir.c int result = _GL_CMP (a->st.st_mtime, b->st.st_mtime); b 412 src/filemanager/dir.c return compare_by_names (a, b); b 421 src/filemanager/dir.c sort_ctime (file_entry_t *a, file_entry_t *b) b 424 src/filemanager/dir.c int bd = MY_ISDIR (b); b 428 src/filemanager/dir.c int result = _GL_CMP (a->st.st_ctime, b->st.st_ctime); b 433 src/filemanager/dir.c return compare_by_names (a, b); b 442 src/filemanager/dir.c sort_atime (file_entry_t *a, file_entry_t *b) b 445 src/filemanager/dir.c int bd = MY_ISDIR (b); b 449 src/filemanager/dir.c int result = _GL_CMP (a->st.st_atime, b->st.st_atime); b 454 src/filemanager/dir.c return compare_by_names (a, b); b 463 src/filemanager/dir.c sort_inode (file_entry_t *a, file_entry_t *b) b 466 src/filemanager/dir.c int bd = MY_ISDIR (b); b 469 src/filemanager/dir.c return (a->st.st_ino - b->st.st_ino) * reverse; b 477 src/filemanager/dir.c sort_size (file_entry_t *a, file_entry_t *b) b 480 src/filemanager/dir.c int bd = MY_ISDIR (b); b 484 src/filemanager/dir.c int result = _GL_CMP (a->st.st_size, b->st.st_size); b 489 src/filemanager/dir.c return compare_by_names (a, b); b 695 src/filemanager/dir.c struct stat b; b 697 src/filemanager/dir.c if (S_ISLNK (file->st.st_mode) && mc_stat (full_name_vpath, &b) == 0) b 698 src/filemanager/dir.c return is_exe (b.st_mode); b 93 src/filemanager/dir.h int unsorted (file_entry_t * a, file_entry_t * b); b 94 src/filemanager/dir.h int sort_name (file_entry_t * a, file_entry_t * b); b 95 src/filemanager/dir.h int sort_vers (file_entry_t * a, file_entry_t * b); b 96 src/filemanager/dir.h int sort_ext (file_entry_t * a, file_entry_t * b); b 97 src/filemanager/dir.h int sort_time (file_entry_t * a, file_entry_t * b); b 98 src/filemanager/dir.h int sort_atime (file_entry_t * a, file_entry_t * b); b 99 src/filemanager/dir.h int sort_ctime (file_entry_t * a, file_entry_t * b); b 100 src/filemanager/dir.h int sort_size (file_entry_t * a, file_entry_t * b); b 101 src/filemanager/dir.h int sort_inode (file_entry_t * a, file_entry_t * b); b 847 src/filemanager/file.c real_warn_same_file (enum OperationMode mode, const char *fmt, const char *a, const char *b) b 857 src/filemanager/file.c width_b = str_term_width1 (b); b 867 src/filemanager/file.c b = str_trunc (b, width); b 868 src/filemanager/file.c msg = g_strdup_printf (fmt, s, b); b 874 src/filemanager/file.c msg = g_strdup_printf (fmt, a, b); b 880 src/filemanager/file.c b = str_trunc (b, width); b 882 src/filemanager/file.c msg = g_strdup_printf (fmt, a, b); b 895 src/filemanager/file.c warn_same_file (const char *fmt, const char *a, const char *b) b 902 src/filemanager/file.c FileProgressStatus (*f) (enum OperationMode, const char *fmt, const char *a, const char *b); b 909 src/filemanager/file.c return parent_call (pntr.p, NULL, 3, strlen (fmt), fmt, strlen (a), a, strlen (b), b); b 911 src/filemanager/file.c return real_warn_same_file (Foreground, fmt, a, b); b 917 src/filemanager/file.c check_same_file (const char *a, const struct stat *ast, const char *b, const struct stat *bst, b 924 src/filemanager/file.c *status = warn_same_file (_("\"%s\"\nand\n\"%s\"\nare the same directory"), a, b); b 926 src/filemanager/file.c *status = warn_same_file (_("\"%s\"\nand\n\"%s\"\nare the same file"), a, b); b 1635 src/filemanager/filemanager.c midnight_set_buttonbar (WButtonBar *b) b 1639 src/filemanager/filemanager.c buttonbar_set_label (b, 1, Q_ ("ButtonBar|Help"), w->keymap, NULL); b 1640 src/filemanager/filemanager.c buttonbar_set_label (b, 2, Q_ ("ButtonBar|Menu"), w->keymap, NULL); b 1641 src/filemanager/filemanager.c buttonbar_set_label (b, 3, Q_ ("ButtonBar|View"), w->keymap, NULL); b 1642 src/filemanager/filemanager.c buttonbar_set_label (b, 4, Q_ ("ButtonBar|Edit"), w->keymap, NULL); b 1643 src/filemanager/filemanager.c buttonbar_set_label (b, 5, Q_ ("ButtonBar|Copy"), w->keymap, NULL); b 1644 src/filemanager/filemanager.c buttonbar_set_label (b, 6, Q_ ("ButtonBar|RenMov"), w->keymap, NULL); b 1645 src/filemanager/filemanager.c buttonbar_set_label (b, 7, Q_ ("ButtonBar|Mkdir"), w->keymap, NULL); b 1646 src/filemanager/filemanager.c buttonbar_set_label (b, 8, Q_ ("ButtonBar|Delete"), w->keymap, NULL); b 1647 src/filemanager/filemanager.c buttonbar_set_label (b, 9, Q_ ("ButtonBar|PullDn"), w->keymap, NULL); b 1648 src/filemanager/filemanager.c buttonbar_set_label (b, 10, Q_ ("ButtonBar|Quit"), w->keymap, NULL); b 43 src/filemanager/filemanager.h void midnight_set_buttonbar (WButtonBar * b); b 226 src/filemanager/find.c max (int a, int b) b 228 src/filemanager/find.c return (a > b ? a : b); b 196 src/filemanager/layout.c max (int a, int b) b 198 src/filemanager/layout.c return a > b ? a : b; b 497 src/filemanager/layout.c int b1, b2, b; b 555 src/filemanager/layout.c b = b1 + b2 + 1; b 557 src/filemanager/layout.c width = max (l1 * 2 + 7, b); b 625 src/filemanager/layout.c group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0)); b 627 src/filemanager/layout.c button_new (12, (width - b) / 2 + b1 + 1, B_CANCEL, NORMAL_BUTTON, b 99 src/filemanager/panelize.c panelize_entry_cmp_by_label (gconstpointer a, gconstpointer b) b 102 src/filemanager/panelize.c const char *label = (const char *) b; b 229 src/filemanager/panelize.c WButton *b; b 231 src/filemanager/panelize.c b = button_new (y, x, b 233 src/filemanager/panelize.c group_add_widget (g, b); b 235 src/filemanager/panelize.c x += button_get_len (b) + 1; b 975 src/filemanager/tree.c WButtonBar *b; b 979 src/filemanager/tree.c b = buttonbar_find (DIALOG (w->owner)); b 980 src/filemanager/tree.c buttonbar_set_label (b, 4, b 983 src/filemanager/tree.c widget_draw (WIDGET (b)); b 1160 src/filemanager/tree.c WButtonBar *b; b 1169 src/filemanager/tree.c b = buttonbar_find (h); b 1170 src/filemanager/tree.c widget_draw (WIDGET (b)); b 1175 src/filemanager/tree.c b = buttonbar_find (h); b 1176 src/filemanager/tree.c buttonbar_set_label (b, 1, Q_ ("ButtonBar|Help"), w->keymap, w); b 1177 src/filemanager/tree.c buttonbar_set_label (b, 2, Q_ ("ButtonBar|Rescan"), w->keymap, w); b 1178 src/filemanager/tree.c buttonbar_set_label (b, 3, Q_ ("ButtonBar|Forget"), w->keymap, w); b 1179 src/filemanager/tree.c buttonbar_set_label (b, 4, tree_navigation_flag ? Q_ ("ButtonBar|Static") b 1181 src/filemanager/tree.c buttonbar_set_label (b, 5, Q_ ("ButtonBar|Copy"), w->keymap, w); b 1182 src/filemanager/tree.c buttonbar_set_label (b, 6, Q_ ("ButtonBar|RenMov"), w->keymap, w); b 1185 src/filemanager/tree.c buttonbar_set_label (b, 7, Q_ ("ButtonBar|Mkdir"), w->keymap, w); b 1187 src/filemanager/tree.c buttonbar_clear_label (b, 7, w); b 1189 src/filemanager/tree.c buttonbar_set_label (b, 8, Q_ ("ButtonBar|Rmdir"), w->keymap, w); b 200 src/textconf.c #define PRINTF_SECTION(a,b) \ b 201 src/textconf.c (void) printf (" %-17s %s\n", a, b) b 202 src/textconf.c #define PRINTF_SECTION2(a,b) \ b 203 src/textconf.c (void) printf (" %-17s %s/\n", a, b) b 204 src/textconf.c #define PRINTF(a, b, c) \ b 205 src/textconf.c (void) printf ("\t%-15s %s/%s\n", a, b, c) b 206 src/textconf.c #define PRINTF2(a, b, c) \ b 207 src/textconf.c (void) printf ("\t%-15s %s%s\n", a, b, c) b 161 src/vfs/cpio/cpio.c cpio_defer_find (const void *a, const void *b) b 164 src/vfs/cpio/cpio.c const defer_inode *b1 = (const defer_inode *) b; b 183 src/vfs/extfs/extfs.c extfs_cmp_archive (const void *a, const void *b) b 186 src/vfs/extfs/extfs.c const char *archive_name = (const char *) b; b 545 src/vfs/ftpfs/ftpfs_parse_ls.c const char *b; b 559 src/vfs/ftpfs/ftpfs_parse_ls.c b = line; b 561 src/vfs/ftpfs/ftpfs_parse_ls.c if (len < 2 || b[0] != '+') b 564 src/vfs/ftpfs/ftpfs_parse_ls.c scan = b + 1; b 1130 src/vfs/ftpfs/ftpfs_parse_ls.c char *b = (char *) bufp->data; b 1133 src/vfs/ftpfs/ftpfs_parse_ls.c blen = strlen (b); b 1135 src/vfs/ftpfs/ftpfs_parse_ls.c if (b[blen - 1] == '\r') b 1137 src/vfs/ftpfs/ftpfs_parse_ls.c b[blen - 1] = '\0'; b 1154 src/vfs/ftpfs/ftpfs_parse_ls.c tmp_line = g_strndup (b, blen); b 1195 src/vfs/ftpfs/ftpfs_parse_ls.c tmp_line = g_strndup (b, blen); b 124 src/vfs/sfs/sfs.c cachedfile_compare (const void *a, const void *b) b 127 src/vfs/sfs/sfs.c const char *name = (const char *) b; b 73 src/vfs/tar/tar-sparse.c #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) b 83 src/vfs/tar/tar-sparse.c #define COPY_BUF(arch,b,buf,src) \ b 86 src/vfs/tar/tar-sparse.c char *endp = b->buffer + BLOCKSIZE; \ b 95 src/vfs/tar/tar-sparse.c tar_set_next_block_after (b); \ b 96 src/vfs/tar/tar-sparse.c b = tar_find_next_block (arch); \ b 97 src/vfs/tar/tar-sparse.c if (b == NULL) \ b 100 src/vfs/tar/tar-sparse.c src = b->buffer; \ b 101 src/vfs/tar/tar-sparse.c endp = b->buffer + BLOCKSIZE; \ b 72 src/viewer/coord_cache.c typedef gboolean (*cmp_func_t) (const coord_cache_entry_t * a, const coord_cache_entry_t * b); b 96 src/viewer/coord_cache.c mcview_coord_cache_entry_less_offset (const coord_cache_entry_t *a, const coord_cache_entry_t *b) b 98 src/viewer/coord_cache.c return (a->cc_offset < b->cc_offset); b 104 src/viewer/coord_cache.c mcview_coord_cache_entry_less_plain (const coord_cache_entry_t *a, const coord_cache_entry_t *b) b 106 src/viewer/coord_cache.c if (a->cc_line < b->cc_line) b 109 src/viewer/coord_cache.c if (a->cc_line == b->cc_line) b 110 src/viewer/coord_cache.c return (a->cc_column < b->cc_column); b 118 src/viewer/coord_cache.c mcview_coord_cache_entry_less_nroff (const coord_cache_entry_t *a, const coord_cache_entry_t *b) b 120 src/viewer/coord_cache.c if (a->cc_line < b->cc_line) b 123 src/viewer/coord_cache.c if (a->cc_line == b->cc_line) b 124 src/viewer/coord_cache.c return (a->cc_nroff_column < b->cc_nroff_column); b 270 src/viewer/datasource.c mcview_set_byte (WView *view, off_t offset, byte b) b 272 src/viewer/datasource.c (void) &b; b 86 src/viewer/display.c WButtonBar *b; b 89 src/viewer/display.c b = buttonbar_find (h); b 90 src/viewer/display.c buttonbar_set_label (b, 1, Q_ ("ButtonBar|Help"), keymap, w); b 95 src/viewer/display.c buttonbar_set_label (b, 2, Q_ ("ButtonBar|View"), keymap, w); b 97 src/viewer/display.c buttonbar_set_label (b, 2, Q_ ("ButtonBar|Edit"), keymap, w); b 99 src/viewer/display.c buttonbar_set_label (b, 2, "", keymap, WIDGET (view)); b 101 src/viewer/display.c buttonbar_set_label (b, 4, Q_ ("ButtonBar|Ascii"), keymap, w); b 102 src/viewer/display.c buttonbar_set_label (b, 6, Q_ ("ButtonBar|Save"), keymap, w); b 103 src/viewer/display.c buttonbar_set_label (b, 7, Q_ ("ButtonBar|HxSrch"), keymap, w); b 108 src/viewer/display.c buttonbar_set_label (b, 2, view->mode_flags.wrap ? Q_ ("ButtonBar|UnWrap") b 110 src/viewer/display.c buttonbar_set_label (b, 4, Q_ ("ButtonBar|Hex"), keymap, w); b 111 src/viewer/display.c buttonbar_set_label (b, 6, "", keymap, WIDGET (view)); b 112 src/viewer/display.c buttonbar_set_label (b, 7, Q_ ("ButtonBar|Search"), keymap, w); b 115 src/viewer/display.c buttonbar_set_label (b, 5, Q_ ("ButtonBar|Goto"), keymap, w); b 116 src/viewer/display.c buttonbar_set_label (b, 8, view->mode_flags.magic ? Q_ ("ButtonBar|Raw") b 121 src/viewer/display.c buttonbar_set_label (b, 3, Q_ ("ButtonBar|Quit"), keymap, w); b 122 src/viewer/display.c buttonbar_set_label (b, 9, view->mode_flags.nroff ? Q_ ("ButtonBar|Unform") b 124 src/viewer/display.c buttonbar_set_label (b, 10, Q_ ("ButtonBar|Quit"), keymap, w); b 246 src/viewer/internal.h void mcview_set_byte (WView * view, off_t offset, byte b); b 338 src/viewer/internal.h mcview_offset_rounddown (off_t a, off_t b) b 340 src/viewer/internal.h g_assert (b != 0); b 341 src/viewer/internal.h return a - a % b; b 243 src/viewer/mcviewer.c Widget *vw, *b; b 260 src/viewer/mcviewer.c b = WIDGET (buttonbar_new ()); b 261 src/viewer/mcviewer.c group_add_widget_autopos (g, b, b->pos_flags, NULL); b 33 tests/lib/search/regex_replace_esc_seq.c #define test_helper_check_valid_data( a, b, c, d, e, f ) \ b 35 tests/lib/search/regex_replace_esc_seq.c ck_assert_msg (a == b, "ret_value != %s", (b) ? "TRUE": "FALSE"); \ b 64 tests/lib/strutil/filevercmp.c test_filevercmp (char const *a, char const *b) b 72 tests/lib/strutil/filevercmp.c result = filevercmp (a, b); b 75 tests/lib/strutil/filevercmp.c blen = strlen (b); b 79 tests/lib/strutil/filevercmp.c memcpy (buffer + alen, b, blen); b 38 tests/lib/strutil/str_verscmp.c static char const b[] = "B007502280067.gbp.corp.com"; b 90 tests/lib/strutil/str_verscmp.c { a, b, -1 }, b 91 tests/lib/strutil/str_verscmp.c { b, c, -1 }, b 93 tests/lib/strutil/str_verscmp.c { b, a, 1 }, b 94 tests/lib/strutil/str_verscmp.c { c, b, 1 },