Searched refs:rank (Results 1 - 25 of 68) sorted by relevance

123

/macosx-10.10.1/groff-38/groff/src/devices/grops/
H A Dps.h89 void supply_resource(resource *r, int rank, FILE *outfp,
91 void process_file(int rank, FILE *fp, const char *filename, FILE *outfp);
99 int do_begin_resource(const char *ptr, int rank, FILE *fp, FILE *outfp);
100 int do_include_resource(const char *ptr, int rank, FILE *fp, FILE *outfp);
101 int do_begin_document(const char *ptr, int rank, FILE *fp, FILE *outfp);
102 int do_include_document(const char *ptr, int rank, FILE *fp, FILE *outfp);
103 int do_begin_procset(const char *ptr, int rank, FILE *fp, FILE *outfp);
104 int do_include_procset(const char *ptr, int rank, FILE *fp, FILE *outfp);
105 int do_begin_font(const char *ptr, int rank, FILE *fp, FILE *outfp);
106 int do_include_font(const char *ptr, int rank, FIL
[all...]
H A Dpsrm.cpp133 int rank; member in struct:resource
140 : next(0), type(t), flags(0), revision(r), filename(0), rank(-1)
240 if (r->rank >= nranks)
241 nranks = r->rank + 1;
243 // Sort resource_list in reverse order of rank.
252 i = r->rank < 0 ? 0 : r->rank + 1;
267 assert(r->rank >= r->next->rank);
269 if (r->type == RESOURCE_FONT && r->rank >
338 supply_resource(resource *r, int rank, FILE *outfp, int is_document) argument
611 do_include_resource(const char *ptr, int rank, FILE *, FILE *outfp) argument
637 do_include_document(const char *ptr, int rank, FILE *, FILE *outfp) argument
661 do_include_procset(const char *ptr, int rank, FILE *, FILE *outfp) argument
685 do_include_file(const char *ptr, int rank, FILE *, FILE *outfp) argument
709 do_include_font(const char *ptr, int rank, FILE *, FILE *outfp) argument
944 process_file(int rank, FILE *fp, const char *filename, FILE *outfp) argument
[all...]
/macosx-10.10.1/Chess-310.6/sjeng/
H A Dneval.c132 /* utility array to reverse rank: */
196 arrays keeping track of the rank of the most backward pawn: */
213 srank = rank (i);
239 srank = rank (i);
288 if (max(abs(file(bking_loc)-file(tmp)), abs(rank(bking_loc)-rank(tmp)))
289 > (abs(rank(tmp) - rank(i))))
300 if ((max(abs(file(bking_loc)-file(tmp)), abs(rank(bking_loc)-rank(tm
[all...]
H A Dmoves.c101 /* pawn moves, it can discover a rank or diagonal check
106 && rank(from) != rank(bking_loc)
113 if (rank(from) != rank(bking_loc)
122 && rank(from) != rank(bking_loc)
128 /* always discovers file and rank
131 && rank(from) != rank(bking_lo
[all...]
H A Dsjeng.h93 #define rank(square) ((((square)-26)/12)+1) macro
96 #define rank(square) (rank[(square)]) macro
H A Dleval.c145 arrays keeping track of the rank of the most backward pawn: */
162 srank = rank (i);
193 score += (rank(i) - 2) * 8;
225 score += 25 + 10*(rank(i)-2);
227 if (rank(i) == 7) score += 50;
233 score += 4 + 2*(rank(i)-2);
253 score -= (7 - rank(i)) * 8;
289 score -= 25 + 10*(7-rank(i));
291 if (rank(i) == 2) score -= 50;
297 score -= 4 + 2*(7-rank(
[all...]
H A Dseval.c143 if ((rank(square) < 6)
150 else if (rank(square) == 4 &&
227 if ((rank(square) > 3)
234 else if (rank(square) == 5 &&
319 arrays keeping track of the rank of the most backward pawn: */
336 srank = rank (i);
362 srank = rank (i);
400 score += 30 + 3*(rank(i)-2);
404 score += 4 + 2*(rank(i)-2);
459 score -= 30 + 3*(7-rank(
[all...]
H A Dattacks.c225 else if (rank(i) == rank(square))
252 else if (rank(i) == rank(square))
260 if ( (abs(rank(i) - rank(square)) <= 1)
300 else if (rank(i) == rank(square))
327 else if (rank(i) == rank(squar
[all...]
H A Deval.c56 const int rank[144] = variable
358 pre_p_tropism[max(abs(rank(i) - rank(j)), abs(file(i) - file(j)))];
360 pre_b_tropism[max(abs(rank(i) - rank(j)), abs(file(i) - file(j)))];
362 pre_n_tropism[max(abs(rank(i) - rank(j)), abs(file(i) - file(j)))];
364 pre_r_tropism[max(abs(rank(i) - rank(j)), abs(file(i) - file(j)))];
366 pre_q_tropism[max(abs(rank(
[all...]
H A Dextvars.h107 extern const int rank[144], file[144], diagl[144], diagr[144], sqcolor[144];
/macosx-10.10.1/configd-699.1.5/IPMonitorControl/
H A DIPMonitorControl.h28 * - used to create interface rank assertions
49 SCNetworkServicePrimaryRank rank);
H A Dmain.c71 SCNetworkServicePrimaryRank rank; local
74 rank = kSCNetworkServicePrimaryRankDefault;
91 printf("%s rank was %u\n", optarg, existing_rank);
94 rank)) {
95 printf("%s rank set to %u\n", optarg, rank);
99 fprintf(stderr, "failed to set rank\n");
104 rank = strtoul(optarg, NULL, 0);
H A DIPMonitorControl.c27 * - used to create interface rank assertions
63 CFMutableDictionaryRef assertions; /* ifname<string> = rank<number> */
196 SCNetworkServicePrimaryRank rank)
199 if (rank == kSCNetworkServicePrimaryRankDefault) {
200 /* no assertions, no need to store rank */
208 if (rank == kSCNetworkServicePrimaryRankDefault) {
218 rank_cf = CFNumberCreate(NULL, kCFNumberSInt32Type, &rank);
230 SCNetworkServicePrimaryRank rank; local
237 if (CFNumberGetValue(value, kCFNumberSInt32Type, &rank) == FALSE) {
249 rank);
194 IPMonitorControlSetInterfaceRank(IPMonitorControlRef control, CFStringRef ifname_cf, SCNetworkServicePrimaryRank rank) argument
291 IPMonitorControlSetInterfacePrimaryRank(IPMonitorControlRef control, CFStringRef ifname_cf, SCNetworkServicePrimaryRank rank) argument
357 SCNetworkServicePrimaryRank rank; local
[all...]
H A DIPMonitorControlServer.c27 * - used to create interface rank assertions
68 CFMutableDictionaryRef assertions; /* ifname<string> = rank<number> */
108 CFNumberRef rank = (CFNumberRef)value; local
121 || (CFNumberCompare(rank, existing_rank, NULL)
248 SCNetworkServicePrimaryRank rank)
253 if (rank == kSCNetworkServicePrimaryRankDefault) {
254 /* no assertions, no need to store rank */
265 if (rank == kSCNetworkServicePrimaryRankDefault) {
275 rank_cf = CFNumberCreate(NULL, kCFNumberSInt32Type, &rank);
289 SCNetworkServicePrimaryRank rank local
246 ControlSessionSetInterfaceRank(ControlSessionRef session, const char * ifname, SCNetworkServicePrimaryRank rank) argument
324 SCNetworkServicePrimaryRank rank; local
366 SCNetworkServicePrimaryRank rank; local
[all...]
/macosx-10.10.1/ruby-106/ruby/test/matrix/
H A Dtest_matrix.rb70 assert_equal 0, Matrix[*rows].rank
117 assert_equal 1, matrix.rank
118 assert_equal 1, matrix.transpose.rank
139 assert_equal 2, m.rank
140 assert_equal 2, m.transpose.rank
152 assert_equal 3, m.rank
153 assert_equal 3, m.transpose.rank
332 assert_equal(2, Matrix[[7,6],[3,9]].rank)
333 assert_equal(0, Matrix[[0,0],[0,0]].rank)
334 assert_equal(3, Matrix[[0,0,1],[0,7,6],[1,3,9]].rank)
[all...]
/macosx-10.10.1/cups-408/cups/berkeley/
H A Dlpq.c316 rank; /* Rank of job */ local
412 rank = 1;
504 * Make the rank show the "correct" suffix for each number
508 if ((rank % 100) >= 11 && (rank % 100) <= 13)
509 snprintf(rankstr, sizeof(rankstr), "%dth", rank);
511 snprintf(rankstr, sizeof(rankstr), "%d%s", rank, ranks[rank % 10]);
513 rank ++;
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DSCNetworkConfigurationInternal.c618 __rank_to_str(SCNetworkServicePrimaryRank rank, CFStringRef *rankStr) argument
620 switch (rank) {
645 __str_to_rank(CFStringRef rankStr, SCNetworkServicePrimaryRank *rank) argument
649 *rank = kSCNetworkServicePrimaryRankFirst;
651 *rank = kSCNetworkServicePrimaryRankLast;
653 *rank = kSCNetworkServicePrimaryRankNever;
655 *rank = kSCNetworkServicePrimaryRankScoped;
660 *rank = kSCNetworkServicePrimaryRankDefault;
/macosx-10.10.1/configd-699.1.5/nwi/
H A Dnetwork_information_priv.c159 uint64_t flags, Rank rank,
171 if (ifstate->rank < rank) {
187 /* We need to update the address/rank/flag fields for the existing/new
210 ifstate->rank = rank;
336 } else if (existing_ifstate->rank != new_ifstate->rank) {
157 nwi_insert_ifstate(nwi_state_t state, const char * ifname, int af, uint64_t flags, Rank rank, void * ifa, struct sockaddr * vpn_server_addr, uint32_t reach_flags) argument
H A Dnetwork_information_priv.h55 Rank rank; member in struct:_nwi_ifstate
279 uint64_t flags, Rank rank,
/macosx-10.10.1/configd-699.1.5/Plugins/IPMonitor/
H A Dip_plugin.c361 Rank rank; \
437 Rank rank; member in struct:Candidate
461 * A 32-bit value to encode the relative rank of a service.
463 * The top 8 bits are used to hold the rank assertion (first, default, last,
493 Rank rank = kRankAssertionDefault; local
499 rank = kRankAssertionFirst;
502 rank = RANK_ASSERTION_MAKE(if_rank);
509 return (rank);
561 /* dictionary to hold per-interface rank information */
889 " [%d]: %s%s%s%s rank
1731 RouteListAddRouteList(RouteListInfoRef info, RouteListRef routes, int init_size, RouteListRef service_routes, Rank rank) argument
2595 IPv4RouteListAddRouteList(IPv4RouteListRef routes, int init_size, IPv4RouteListRef service_routes, Rank rank) argument
2628 Rank rank; member in struct:__anon6801
2759 Rank rank = kRankAssertionDefault; local
3160 Rank rank; member in struct:__anon6802
3267 Rank rank = kRankAssertionDefault; local
3671 IPv6RouteListAddRouteList(IPv6RouteListRef routes, int init_size, IPv6RouteListRef service_routes, Rank rank) argument
5957 Rank rank = kRankIndexMask; local
5986 CFNumberRef rank; local
6007 CFNumberRef rank; local
6603 add_candidate_to_nwi_state(nwi_state_t nwi_state, int af, CandidateRef candidate, Rank rank) argument
6726 Rank rank = scan->rank; local
6778 Rank rank; local
8334 Rank rank; member in struct:__anon6809
8902 Rank rank; local
9154 Rank rank; member in struct:__anon6814
9571 Rank rank; local
[all...]
/macosx-10.10.1/configd-699.1.5/dnsinfo/
H A Ddnsinfo_create.c424 int rank = 0; local
426 if (flags & kSCNetworkReachabilityFlagsReachable) rank = 2;
427 if (flags & kSCNetworkReachabilityFlagsConnectionRequired) rank = 1;
428 return rank;
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dmptcp.d221 uint32_t rank;
233 rank = T->mpts_rank;
/macosx-10.10.1/OpenSSL098-52/src/crypto/bf/
H A Dbf_opts.c234 int rank[16]; local
244 rank[i]=0;
/macosx-10.10.1/OpenSSL098-52/src/crypto/cast/
H A Dcastopts.c244 int rank[16]; local
254 rank[i]=0;
/macosx-10.10.1/ppp-786.1.1/Controller/
H A Dapp_layer.c31 CFIndex rank = -1; local
44 rank = CFArrayGetFirstIndexOfValue(service_order, CFRangeMake(0, CFArrayGetCount(service_order)), service_id);
46 rank = idx;
50 if (rank >= 0) {
57 return rank;
244 CFIndex rank = 0; local
246 rank = CFArrayGetFirstIndexOfValue(service_order,
250 if (service_rank >= 0 && rank > service_rank) {

Completed in 265 milliseconds

123