Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 245) sorted by relevance

12345678910

/linux-2.4.37.9/arch/m68k/hp300/
Dhp300map.map157 string F1 = "\033[[A"
158 string F2 = "\033[[B"
159 string F3 = "\033[[C"
160 string F4 = "\033[[D"
161 string F5 = "\033[[E"
162 string F6 = "\033[17~"
163 string F7 = "\033[18~"
164 string F8 = "\033[19~"
165 string F9 = "\033[20~"
166 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/drivers/s390/char/
Dtubttyaid.c105 if ((sp = tubp->tty_aid[i].string) == NULL) in tty3270_aid_fini()
107 if (sp == aidtab[i].string) in tty3270_aid_fini()
128 *aidstring = ap->string; in tty3270_aid_get()
180 if (ap->string != NULL && in tty3270_aid_set()
181 ap->string != aidtab[aidx].string) in tty3270_aid_set()
182 kfree(ap->string); in tty3270_aid_set()
183 ap->string = aidtab[aidx].string; in tty3270_aid_set()
189 if (ap->string != NULL && in tty3270_aid_set()
190 ap->string != aidtab[aidx].string) in tty3270_aid_set()
191 kfree(ap->string); in tty3270_aid_set()
[all …]
/linux-2.4.37.9/drivers/acpi/executer/
Dexstorob.c156 buffer = (u8 *) source_desc->string.pointer; in acpi_ex_store_string_to_string()
157 length = source_desc->string.length; in acpi_ex_store_string_to_string()
163 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string()
169 ACPI_MEMSET (target_desc->string.pointer, 0, (acpi_size) target_desc->string.length + 1); in acpi_ex_store_string_to_string()
170 ACPI_MEMCPY (target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
177 if (target_desc->string.pointer && in acpi_ex_store_string_to_string()
182 ACPI_MEM_FREE (target_desc->string.pointer); in acpi_ex_store_string_to_string()
185 target_desc->string.pointer = ACPI_MEM_CALLOCATE ((acpi_size) length + 1); in acpi_ex_store_string_to_string()
186 if (!target_desc->string.pointer) { in acpi_ex_store_string_to_string()
191 ACPI_MEMCPY (target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
[all …]
Dexconvrt.c92 pointer = (u8 *) obj_desc->string.pointer; in acpi_ex_convert_to_integer()
93 count = obj_desc->string.length; in acpi_ex_convert_to_integer()
253 ret_desc = acpi_ut_create_buffer_object ((acpi_size) obj_desc->string.length); in acpi_ex_convert_to_buffer()
261 ACPI_STRNCPY ((char *) new_buf, (char *) obj_desc->string.pointer, in acpi_ex_convert_to_buffer()
262 obj_desc->string.length); in acpi_ex_convert_to_buffer()
309 u8 *string, in acpi_ex_convert_to_ascii() argument
353 string[k] = (u8) (ACPI_ASCII_ZERO + remainder); in acpi_ex_convert_to_ascii()
372 string[k] = (u8) hex_digit; in acpi_ex_convert_to_ascii()
390 string [0] = ACPI_ASCII_ZERO; in acpi_ex_convert_to_ascii()
394 string [k] = 0; in acpi_ex_convert_to_ascii()
[all …]
Dexconfig.c166 status = acpi_tb_match_signature (operand[0]->string.pointer, NULL); in acpi_ex_load_table_op()
176 status = acpi_tb_find_table (operand[0]->string.pointer, in acpi_ex_load_table_op()
177 operand[1]->string.pointer, in acpi_ex_load_table_op()
178 operand[2]->string.pointer, &table); in acpi_ex_load_table_op()
204 if (operand[3]->string.length > 0) { in acpi_ex_load_table_op()
209 status = acpi_ns_get_node_by_path (operand[3]->string.pointer, start_node, in acpi_ex_load_table_op()
218 if (operand[4]->string.length > 0) { in acpi_ex_load_table_op()
219 if ((operand[4]->string.pointer[0] != '\\') && in acpi_ex_load_table_op()
220 (operand[4]->string.pointer[0] != '^')) { in acpi_ex_load_table_op()
231 status = acpi_ns_get_node_by_path (operand[4]->string.pointer, start_node, in acpi_ex_load_table_op()
Dexoparg3.c194 if ((index < operand[0]->string.length) && in acpi_ex_opcode_3A_1T_1R()
199 operand[0]->string.length) { in acpi_ex_opcode_3A_1T_1R()
200 length = (acpi_size) operand[0]->string.length - index; in acpi_ex_opcode_3A_1T_1R()
213 ACPI_MEMCPY (buffer, operand[0]->string.pointer + index, in acpi_ex_opcode_3A_1T_1R()
218 return_desc->string.pointer = buffer; in acpi_ex_opcode_3A_1T_1R()
219 return_desc->string.length = (u32) length; in acpi_ex_opcode_3A_1T_1R()
Dexmisc.c302 new_buf = ACPI_MEM_CALLOCATE ((acpi_size) obj_desc1->string.length + in acpi_ex_do_concatenate()
303 (acpi_size) obj_desc2->string.length + 1); in acpi_ex_do_concatenate()
313 ACPI_STRCPY (new_buf, obj_desc1->string.pointer); in acpi_ex_do_concatenate()
314 ACPI_STRCPY (new_buf + obj_desc1->string.length, in acpi_ex_do_concatenate()
315 obj_desc2->string.pointer); in acpi_ex_do_concatenate()
319 return_desc->string.pointer = new_buf; in acpi_ex_do_concatenate()
320 return_desc->string.length = obj_desc1->string.length + in acpi_ex_do_concatenate()
321 obj_desc2->string.length; in acpi_ex_do_concatenate()
/linux-2.4.37.9/drivers/acpi/utilities/
Dutmisc.c68 char *string, in acpi_ut_print_string() argument
74 if (!string) { in acpi_ut_print_string()
80 for (i = 0; string[i] && (i < max_length); i++) { in acpi_ut_print_string()
83 switch (string[i]) { in acpi_ut_print_string()
115 acpi_os_printf ("\\%c", (int) string[i]); in acpi_ut_print_string()
122 if (ACPI_IS_PRINT (string[i])) in acpi_ut_print_string()
126 acpi_os_printf ("%c", (int) string[i]); in acpi_ut_print_string()
132 acpi_os_printf ("\\x%2.2X", (s32) string[i]); in acpi_ut_print_string()
139 if (i == max_length && string[i]) { in acpi_ut_print_string()
372 char *string, in acpi_ut_strtoul64() argument
[all …]
Dutcopy.c108 external_object->string.pointer = (char *) data_space; in acpi_ut_copy_isimple_to_esimple()
109 external_object->string.length = internal_object->string.length; in acpi_ut_copy_isimple_to_esimple()
110 …*buffer_space_used = ACPI_ROUND_UP_TO_NATIVE_WORD ((acpi_size) internal_object->string.length + 1); in acpi_ut_copy_isimple_to_esimple()
112 ACPI_MEMCPY ((void *) data_space, (void *) internal_object->string.pointer, in acpi_ut_copy_isimple_to_esimple()
113 (acpi_size) internal_object->string.length + 1); in acpi_ut_copy_isimple_to_esimple()
121 *buffer_space_used = ACPI_ROUND_UP_TO_NATIVE_WORD (internal_object->string.length); in acpi_ut_copy_isimple_to_esimple()
440 internal_object->string.pointer = in acpi_ut_copy_esimple_to_isimple()
441 ACPI_MEM_CALLOCATE ((acpi_size) external_object->string.length + 1); in acpi_ut_copy_esimple_to_isimple()
442 if (!internal_object->string.pointer) { in acpi_ut_copy_esimple_to_isimple()
446 ACPI_MEMCPY (internal_object->string.pointer, in acpi_ut_copy_esimple_to_isimple()
[all …]
/linux-2.4.37.9/drivers/char/
Dqtronixmap.map192 string F1 = "\033[[A"
193 string F2 = "\033[[B"
194 string F3 = "\033[[C"
195 string F4 = "\033[[D"
196 string F5 = "\033[[E"
197 string F6 = "\033[17~"
198 string F7 = "\033[18~"
199 string F8 = "\033[19~"
200 string F9 = "\033[20~"
201 string F10 = "\033[21~"
[all …]
Ddefkeymap.map262 string F1 = "\033[[A"
263 string F2 = "\033[[B"
264 string F3 = "\033[[C"
265 string F4 = "\033[[D"
266 string F5 = "\033[[E"
267 string F6 = "\033[17~"
268 string F7 = "\033[18~"
269 string F8 = "\033[19~"
270 string F9 = "\033[20~"
271 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dlasimap.map227 string F1 = "\033[[A"
228 string F2 = "\033[[B"
229 string F3 = "\033[[C"
230 string F4 = "\033[[D"
231 string F5 = "\033[[E"
232 string F6 = "\033[17~"
233 string F7 = "\033[18~"
234 string F8 = "\033[19~"
235 string F9 = "\033[20~"
236 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/drivers/acorn/char/
Ddefkeymap-acorn.map261 string F1 = "\033[[A"
262 string F2 = "\033[[B"
263 string F3 = "\033[[C"
264 string F4 = "\033[[D"
265 string F5 = "\033[[E"
266 string F6 = "\033[17~"
267 string F7 = "\033[18~"
268 string F8 = "\033[19~"
269 string F9 = "\033[20~"
270 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/drivers/macintosh/
Dmackeymap.map249 string F1 = "\033[[A"
250 string F2 = "\033[[B"
251 string F3 = "\033[[C"
252 string F4 = "\033[[D"
253 string F5 = "\033[[E"
254 string F6 = "\033[17~"
255 string F7 = "\033[18~"
256 string F8 = "\033[19~"
257 string F9 = "\033[20~"
258 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/drivers/tc/
Dlk201-map.map261 string F1 = "\033[[A"
262 string F2 = "\033[[B"
263 string F3 = "\033[[C"
264 string F4 = "\033[[D"
265 string F5 = "\033[[E"
266 string F6 = "\033[17~"
267 string F7 = "\033[18~"
268 string F8 = "\033[19~"
269 string F9 = "\033[20~"
270 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/drivers/sbus/char/
Dsunkeymap.map280 string F1 = "\033[[A"
281 string F2 = "\033[[B"
282 string F3 = "\033[[C"
283 string F4 = "\033[[D"
284 string F5 = "\033[[E"
285 string F6 = "\033[17~"
286 string F7 = "\033[18~"
287 string F8 = "\033[19~"
288 string F9 = "\033[20~"
289 string F10 = "\033[21~"
[all …]
/linux-2.4.37.9/drivers/media/video/
Dzoran_procfs.c108 char *string, *sp; in zoran_write_proc() local
117 string = sp = vmalloc(count + 1); in zoran_write_proc()
118 if (!string) { in zoran_write_proc()
122 if(copy_from_user(string, buffer, count)) in zoran_write_proc()
124 vfree(string); in zoran_write_proc()
127 string[count] = 0; in zoran_write_proc()
144 vfree(string); in zoran_write_proc()
/linux-2.4.37.9/drivers/acpi/
Dasus_acpi.c990 printk(KERN_NOTICE " %s model detected, ", model->string.pointer); in asus_hotk_get_info()
994 if (strncmp(model->string.pointer, "L3D", 3) == 0) in asus_hotk_get_info()
996 else if (strncmp(model->string.pointer, "L3H", 3) == 0 || in asus_hotk_get_info()
997 strncmp(model->string.pointer, "L2E", 3) == 0) in asus_hotk_get_info()
999 else if (strncmp(model->string.pointer, "L3", 2) == 0 || in asus_hotk_get_info()
1000 strncmp(model->string.pointer, "L2B", 3) == 0) in asus_hotk_get_info()
1002 else if (strncmp(model->string.pointer, "L8L", 3) == 0) in asus_hotk_get_info()
1004 else if (strncmp(model->string.pointer, "M2N", 3) == 0 || in asus_hotk_get_info()
1005 strncmp(model->string.pointer, "M3N", 3) == 0 || in asus_hotk_get_info()
1006 strncmp(model->string.pointer, "M6N", 3) == 0 || in asus_hotk_get_info()
[all …]
Dutils.c127 size_required += sizeof(char*) + (element->string.length * sizeof(char)) + sizeof(char); in acpi_extract_package()
206 memcpy(tail, element->string.pointer, element->string.length); in acpi_extract_package()
208 tail += element->string.length * sizeof(char); in acpi_extract_package()
300 || !element->string.length) {
305 *data = kmalloc(element->string.length + 1, GFP_KERNEL);
310 memset(*data, 0, element->string.length + 1);
312 memcpy(*data, element->string.pointer, element->string.length);
/linux-2.4.37.9/drivers/mtd/maps/
Dfortunet.c145 char string[MAX_NAME_SIZE]; in MTD_New_Region() local
147 get_options (get_string_option(string,sizeof(string),line),6,params); in MTD_New_Region()
168 strcpy(map_regions[params[1]].map_info.name,string); in MTD_New_Region()
190 char string[MAX_NAME_SIZE]; in MTD_New_Partion() local
192 get_options (get_string_option(string,sizeof(string),line),4,params); in MTD_New_Partion()
212 strcpy(map_regions[params[1]].parts[map_regions_parts[params[1]]].name,string); in MTD_New_Partion()
/linux-2.4.37.9/drivers/usb/storage/
Dsddr55.c158 char string[64]; in sddr55_bulk_transport() local
162 strcpy(string, "wr: "); in sddr55_bulk_transport()
164 sprintf(string+strlen(string), "%02X ", in sddr55_bulk_transport()
167 US_DEBUGP("%s\n", string); in sddr55_bulk_transport()
168 strcpy(string, "wr: "); in sddr55_bulk_transport()
172 US_DEBUGP("%s\n", string); in sddr55_bulk_transport()
187 char string[64]; in sddr55_bulk_transport() local
191 strcpy(string, "rd: "); in sddr55_bulk_transport()
193 sprintf(string+strlen(string), "%02X ", in sddr55_bulk_transport()
196 US_DEBUGP("%s\n", string); in sddr55_bulk_transport()
[all …]
/linux-2.4.37.9/drivers/acpi/dispatcher/
Ddsfield.c128 status = acpi_ns_lookup (walk_state->scope_info, arg->common.value.string, in acpi_ds_create_buffer_field()
132 ACPI_REPORT_NSERROR (arg->common.value.string, status); in acpi_ds_create_buffer_field()
507 status = acpi_ns_lookup (walk_state->scope_info, arg->common.value.string, in acpi_ds_create_bank_field()
511 ACPI_REPORT_NSERROR (arg->common.value.string, status); in acpi_ds_create_bank_field()
567 status = acpi_ns_lookup (walk_state->scope_info, arg->common.value.string, in acpi_ds_create_index_field()
571 ACPI_REPORT_NSERROR (arg->common.value.string, status); in acpi_ds_create_index_field()
578 status = acpi_ns_lookup (walk_state->scope_info, arg->common.value.string, in acpi_ds_create_index_field()
582 ACPI_REPORT_NSERROR (arg->common.value.string, status); in acpi_ds_create_index_field()
/linux-2.4.37.9/arch/mips/lasat/
Dsetup.c108 unsigned char *string = ptr; in lasat_panic_display() local
109 if (string == NULL) in lasat_panic_display()
110 string = "Kernel Panic"; in lasat_panic_display()
111 pvc_dump_string(string); in lasat_panic_display()
/linux-2.4.37.9/arch/mips/tools/
Doffset.c22 #define offset(string, ptr, member) \ argument
23 __asm__("\n@@@" string "%0" : : "i" (_offset(ptr, member)))
24 #define constant(string, member) \ argument
25 __asm__("\n@@@" string "%x0" : : "ri" (member))
26 #define size(string, size) \ argument
27 __asm__("\n@@@" string "%0" : : "i" (sizeof(size)))
/linux-2.4.37.9/net/sunrpc/
Dxdr.c66 xdr_encode_string(u32 *p, const char *string) in xdr_encode_string() argument
68 return xdr_encode_array(p, string, strlen(string)); in xdr_encode_string()
75 char *string; in xdr_decode_string() local
82 string = (char *) p; in xdr_decode_string()
84 string = (char *) (p - 1); in xdr_decode_string()
85 memmove(string, p, len); in xdr_decode_string()
87 string[len] = '\0'; in xdr_decode_string()
88 *sp = string; in xdr_decode_string()

12345678910