/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_delete/ |
H A D | 1-2.c | 19 * 1. Create many keys, and specify and value to them 20 * 2. Delete the keys with pthread_key_delete 36 pthread_key_t keys[NUM_OF_KEYS]; local 41 if(pthread_key_create(&keys[i], NULL) != 0) 47 if(pthread_setspecific(keys[i], (void*)(long)(KEY_VALUE + i)) != 0) 53 if(pthread_key_delete(keys[i]) != 0)
|
H A D | 1-1.c | 19 * 1. Create many keys, and do not specify and value to them (default is NULL) 20 * 2. Delete the keys with pthread_key_delete 35 pthread_key_t keys[NUM_OF_KEYS]; local 40 if(pthread_key_create(&keys[i], NULL) != 0) 46 if(pthread_key_delete(keys[i]) != 0)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_getspecific/ |
H A D | 1-1.c | 32 pthread_key_t keys[NUM_OF_KEYS]; local 38 if(pthread_key_create(&keys[i], NULL) != 0) 44 if(pthread_setspecific(keys[i], (void *)(long)(i + KEY_VALUE)) != 0) 55 rc = pthread_getspecific(keys[i]); 62 if(pthread_key_delete(keys[i]) != 0)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/ |
H A D | 1-1.c | 17 * 1. Define an array of keys 18 * 2. Use pthread_key_create() and create those keys 19 * 3. Verify that you can set and get specific values for those keys without errors. 32 pthread_key_t keys[NUM_OF_KEYS]; variable 41 if(pthread_key_create(&keys[i], NULL) != 0) 47 if(pthread_setspecific(keys[i], (void *)(long)(i + KEY_VALUE)) != 0) 58 rc = pthread_getspecific(keys[i]); 65 if(pthread_key_delete(keys[i]) != 0)
|
H A D | 1-2.c | 30 pthread_key_t keys[NUM_OF_THREADS]; variable 37 if(pthread_setspecific(keys[i], (void *)(KEY_VALUE)) != 0) 55 if(pthread_key_create(&keys[i], NULL) != 0) 82 printf("Test FAILED: Could not use a certain key value to set for many keys\n");
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_setspecific/ |
H A D | 1-1.c | 33 pthread_key_t keys[NUM_OF_KEYS]; local 39 if(pthread_key_create(&keys[i], NULL) != 0) 45 if(pthread_setspecific(keys[i], (void *)(long)(i + KEY_VALUE)) != 0) 56 rc = pthread_getspecific(keys[i]); 63 if(pthread_key_delete(keys[i]) != 0)
|
/haiku-fatelf/src/system/libroot/posix/stdlib/ |
H A D | getsubopt.cpp | 12 getsubopt(char** optionPtr, char* const* keys, char** valuePtr) argument 33 for (int keyIndex = 0; keys[keyIndex] != NULL; ++keyIndex) { 34 if (strcmp(option, keys[keyIndex]) == 0)
|
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | getsubopt_test.cpp | 15 char* const keys[] = { local 21 int result = getsubopt(&option, keys, &value); 26 result = getsubopt(&option, keys, &value); 31 result = getsubopt(&option, keys, &value);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/speculative/ |
H A D | 5-1.c | 15 * data key, or the system imposed limit on the total number of keys per process 23 * 1. Define an array of keys 24 * 2. Use pthread_key_create() and create those keys 25 * 3. Verify that you can set and get specific values for those keys without errors. 39 static pthread_key_t keys[NUM_OF_KEYS]; variable 47 rc = pthread_key_create(&keys[i], NULL); 52 printf("Test FAILED: Expected EAGAIN when exceeded the limit of keys in a single process, but got: %d\n", rc);
|
/haiku-fatelf/src/add-ons/input_server/devices/keyboard/ |
H A D | Keymap.cpp | 82 // Caps, Caps+shift, Caps+option, and Caps+option+shift keys. 106 key_map* keys; local 107 _get_key_map(&keys, &fChars, (ssize_t*)&fCharsSize); 108 if (!keys) { 113 memcpy(&fKeys, keys, sizeof(fKeys)); 114 free(keys);
|
/haiku-fatelf/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | KeyInfos.cpp | 30 // This is a table of keys-codes that have special, hard-coded labels. 121 char* keys; local 122 get_key_map(&map, &keys); 131 const char* mapDesc = &keys[keyCode]; 155 free(keys);
|
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/ |
H A D | keys.c | 2 * keys.c: Implemetation of the keys support 29 #include "keys.h" 139 cur->keys = xmlHashCreate(0); 157 if (keyt->keys != NULL) 158 xmlHashFree(keyt->keys, 192 * Free up the memory used by XSLT keys in a stylesheet 196 if (style->keys) 197 xsltFreeKeyDefList((xsltKeyDefPtr) style->keys); 298 * Split the | and register it as as many keys [all...] |
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | maint-tool | 70 for $f (sort keys %have) { 76 for $f (sort keys %listed) { 127 # $out = join(' ', sort keys %documented); 168 for $k (keys %saw) { 172 for $k (sort keys %saw) { 177 for $f (sort keys %fromfile) { 196 return keys %d; 266 @deps = sort { &locals_first($a,$b) } keys %scanned;
|
H A D | gather-docs | 115 for $key (sort keys %name) {
|
/haiku-fatelf/src/bin/unzip/ |
H A D | crypt.c | 99 local ulg keys[3]; /* keys defining the pseudo-random sequence */ variable 126 temp = ((unsigned)GLOBAL(keys[2]) & 0xffff) | 2; 131 * Update the encryption keys with the next byte of plain text 137 GLOBAL(keys[0]) = CRC32(GLOBAL(keys[0]), c); variable 138 GLOBAL(keys[1]) += GLOBAL(keys[0]) & 0xff; 139 GLOBAL(keys[1]) = GLOBAL(keys[ variable 142 GLOBAL(keys[2]) = CRC32(GLOBAL(keys[2]), keyshift); variable 156 GLOBAL(keys[0]) = 305419896L; variable 157 GLOBAL(keys[1]) = 591751049L; variable 158 GLOBAL(keys[2]) = 878082192L; variable [all...] |
H A D | cryptf.c | 102 local ulg keys[3]; /* keys defining the pseudo-random sequence */ variable 129 temp = ((unsigned)GLOBAL(keys[2]) & 0xffff) | 2; 134 * Update the encryption keys with the next byte of plain text 140 GLOBAL(keys[0]) = CRC32(GLOBAL(keys[0]), c); variable 141 GLOBAL(keys[1]) += GLOBAL(keys[0]) & 0xff; 142 GLOBAL(keys[1]) = GLOBAL(keys[ variable 145 GLOBAL(keys[2]) = CRC32(GLOBAL(keys[2]), keyshift); variable 159 GLOBAL(keys[0]) = 305419896L; variable 160 GLOBAL(keys[1]) = 591751049L; variable 161 GLOBAL(keys[2]) = 878082192L; variable [all...] |
/haiku-fatelf/src/bin/zip/ |
H A D | crypt.c | 100 local ulg keys[3]; /* keys defining the pseudo-random sequence */ variable 127 temp = ((unsigned)GLOBAL(keys[2]) & 0xffff) | 2; 132 * Update the encryption keys with the next byte of plain text 138 GLOBAL(keys[0]) = CRC32(GLOBAL(keys[0]), c); variable 139 GLOBAL(keys[1]) += GLOBAL(keys[0]) & 0xff; 140 GLOBAL(keys[1]) = GLOBAL(keys[ variable 143 GLOBAL(keys[2]) = CRC32(GLOBAL(keys[2]), keyshift); variable 157 GLOBAL(keys[0]) = 305419896L; variable 158 GLOBAL(keys[1]) = 591751049L; variable 159 GLOBAL(keys[2]) = 878082192L; variable [all...] |
/haiku-fatelf/src/libs/print/libgutenprint/src/foomatic/ |
H A D | foomatic-generator.in | 135 for (sort keys %printer_long_name) { 147 for $a (keys(%stpdata)) { 148 for $otmp (keys %{$stpdata{$a}}) { 149 for $vtmp (keys (%{$stpdata{$a}{$otmp}})) { 172 for $a (keys(%{$printoutmode})) { 173 for $vtmp (keys %{$printoutmode->{$a}}) { 191 for $a (keys(%stp_float_values)) { 192 for $otmp (keys %{$stp_float_values{$a}}) { 193 for $vtmp (keys %{$stp_float_values{$a}{$otmp}}) { 213 for $a (keys( [all...] |
/haiku-fatelf/src/libs/print/libgutenprint/src/testpattern/ |
H A D | run-testpattern-2.in | 418 my ($keys, $printer) = @_; 419 my (@keys) = split (/,/, $keys); 420 my ($key) = $keys[0]; 423 if ($#keys > 0) { 424 $rest = join ",", @keys[1..$#keys]; 445 @tmp = keys %{$stpdata{$printer}{$key}}; 464 my ($keys, $printer) = @_; 465 my (@keys) [all...] |
/haiku-fatelf/src/bin/sharutils/src/ |
H A D | remsync | 379 foreach (sort keys %signature) 539 foreach (sort keys %scan) 601 foreach (sort keys %ignore) 708 foreach (sort keys %scan) 712 foreach (sort keys %ignore) 724 foreach $file (sort keys %signature) 919 foreach $file (sort keys %signature) 1133 foreach $remote (sort keys %remote) 1152 foreach $remote (sort keys %remote_received) 1167 foreach $scan (sort keys [all...] |
H A D | remsync.in | 379 foreach (sort keys %signature) 539 foreach (sort keys %scan) 601 foreach (sort keys %ignore) 708 foreach (sort keys %scan) 712 foreach (sort keys %ignore) 724 foreach $file (sort keys %signature) 919 foreach $file (sort keys %signature) 1133 foreach $remote (sort keys %remote) 1152 foreach $remote (sort keys %remote_received) 1167 foreach $scan (sort keys [all...] |
/haiku-fatelf/src/preferences/appearance/ |
H A D | MenuView.cpp | 313 key_map *keys; local 316 get_key_map(&keys, &chars); 318 bool altAsShortcut = (keys->left_command_key == 0x5d) 319 && (keys->left_control_key == 0x5c); 322 free(keys);
|
/haiku-fatelf/src/bin/bfs_tools/lib/ |
H A D | BPlusTree.cpp | 655 uint8 *keys = node->Keys(); local 677 // move keys and copy new key into them 680 memmove(keys + newKeyLengths[index],keys + newKeyLengths[index] - keyLength,size); 682 memcpy(keys + keyStart,key,keyLength); 690 // /* handle dup keys */ 737 // how many keys will fit in one (half) page? 763 // we have found the number of keys in the new node! 768 // if the new key was not inserted, set the length of the keys 776 //printf("put %ld keys i 786 int32 keys = out > keyIndex ? keyIndex : out; local [all...] |
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | http-ntlm.c | 201 * takes a 21 byte array and treats it as 3 56-bit DES keys. The 206 calc_resp(unsigned char *keys, unsigned char *plaintext, unsigned char *results) 210 setup_des_key(keys, DESKEY(ks)); 214 setup_des_key(keys+7, DESKEY(ks)); 218 setup_des_key(keys+14, DESKEY(ks)); 204 calc_resp(unsigned char *keys, unsigned char *plaintext, unsigned char *results) argument
|
/haiku-fatelf/src/kits/shared/ |
H A D | Keymap.cpp | 117 key_map* keys = NULL; local 118 get_key_map(&keys, &fChars); 119 if (!keys) 122 memcpy(&fKeys, keys, sizeof(fKeys)); 123 free(keys); 267 out via isEnabled (isEnabled is not touched for non-dead keys).
|