]>
Dogcows Code - chaz/thecheat/blob - Searching.h
bed122064c112bcc41afbefa3216d2bf56cd600b
5 // Created by Chaz McGarvey on 12/28/04.
6 // Copyright 2004 Chaz McGarvey. All rights reserved.
9 #import <Cocoa/Cocoa.h>
11 #import "ThreadedTask.h"
12 #import "SearchContext.h"
17 extern __inline__
void ReportSearchProgress( ThreadedTask
*task
, unsigned iteration
, unsigned regions
, int *progress
);
22 * Search iteration functions:
23 * The first set is the generic one, the other is for strings.
26 int SearchIteration( ThreadedTask
*task
, unsigned iteration
);
27 int SearchIterationAgain( ThreadedTask
*task
, unsigned iteration
);
28 int SearchIterationLastValue( ThreadedTask
*task
, unsigned iteration
);
30 int SearchStringIteration( ThreadedTask
*task
, unsigned iteration
);
31 int SearchStringIterationAgain( ThreadedTask
*task
, unsigned iteration
);
32 int SearchStringIterationLastValue( ThreadedTask
*task
, unsigned iteration
);
36 * Compare functions...
37 * "Function( first, second)" -> "first [operator] second"
39 BOOL
EqualInt64( void const *first
, void const *second
);
40 BOOL
EqualInt32( void const *first
, void const *second
);
41 BOOL
EqualInt16( void const *first
, void const *second
);
42 BOOL
EqualInt8( void const *first
, void const *second
);
43 BOOL
EqualUInt64( void const *first
, void const *second
);
44 BOOL
EqualUInt32( void const *first
, void const *second
);
45 BOOL
EqualUInt16( void const *first
, void const *second
);
46 BOOL
EqualUInt8( void const *first
, void const *second
);
47 BOOL
EqualFloat( void const *first
, void const *second
);
48 BOOL
EqualDouble( void const *first
, void const *second
);
50 BOOL
NotEqualInt64( void const *first
, void const *second
);
51 BOOL
NotEqualInt32( void const *first
, void const *second
);
52 BOOL
NotEqualInt16( void const *first
, void const *second
);
53 BOOL
NotEqualInt8( void const *first
, void const *second
);
54 BOOL
NotEqualUInt64( void const *first
, void const *second
);
55 BOOL
NotEqualUInt32( void const *first
, void const *second
);
56 BOOL
NotEqualUInt16( void const *first
, void const *second
);
57 BOOL
NotEqualUInt8( void const *first
, void const *second
);
58 BOOL
NotEqualFloat( void const *first
, void const *second
);
59 BOOL
NotEqualDouble( void const *first
, void const *second
);
61 BOOL
LessThanInt64( void const *first
, void const *second
);
62 BOOL
LessThanInt32( void const *first
, void const *second
);
63 BOOL
LessThanInt16( void const *first
, void const *second
);
64 BOOL
LessThanInt8( void const *first
, void const *second
);
65 BOOL
LessThanUInt64( void const *first
, void const *second
);
66 BOOL
LessThanUInt32( void const *first
, void const *second
);
67 BOOL
LessThanUInt16( void const *first
, void const *second
);
68 BOOL
LessThanUInt8( void const *first
, void const *second
);
69 BOOL
LessThanFloat( void const *first
, void const *second
);
70 BOOL
LessThanDouble( void const *first
, void const *second
);
72 BOOL
GreaterThanInt64( void const *first
, void const *second
);
73 BOOL
GreaterThanInt32( void const *first
, void const *second
);
74 BOOL
GreaterThanInt16( void const *first
, void const *second
);
75 BOOL
GreaterThanInt8( void const *first
, void const *second
);
76 BOOL
GreaterThanUInt64( void const *first
, void const *second
);
77 BOOL
GreaterThanUInt32( void const *first
, void const *second
);
78 BOOL
GreaterThanUInt16( void const *first
, void const *second
);
79 BOOL
GreaterThanUInt8( void const *first
, void const *second
);
80 BOOL
GreaterThanFloat( void const *first
, void const *second
);
81 BOOL
GreaterThanDouble( void const *first
, void const *second
);
83 /* Strings are handled by special iteration functions. */
This page took 0.039378 seconds and 4 git commands to generate.