Home
last modified time | relevance | path

Searched refs:strdup (Results 1 – 25 of 59) sorted by relevance

123

/device/generic/goldfish-opengl/tests/gles_android_wrapper/
DServerConnection.cpp99 hostname = strdup(defaultServer); in create()
101 hostname = strdup(s); in create()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dstrdup.c6 strdup(const char *str) in strdup() function
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp473 p_calls->number = strdup(iter->second.number.c_str()); in request_get_current_calls()
475 p_calls->name = strdup(iter->second.name.c_str()); in request_get_current_calls()
1067 responseStr[4] = strdup("1"); // BSID in request_registration_state()
1068 responseStr[5] = strdup("123"); // Latitude in request_registration_state()
1069 responseStr[6] = strdup("222"); // Longitude in request_registration_state()
1070 responseStr[7] = strdup("0"); // CSS Indicator in request_registration_state()
1071 responseStr[8] = strdup(kCdmaSID); // SID in request_registration_state()
1072 responseStr[9] = strdup(kCdmaNID); // NID in request_registration_state()
1073 responseStr[10] = strdup("0"); // Roaming indicator in request_registration_state()
1074 responseStr[11] = strdup("1"); // System is in PRL in request_registration_state()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dmain.c80 static char *strdup(const char *str) in strdup() function
324 ext->arg = strdup(optarg); in main()
329 key->fn = strdup(optarg); in main()
334 cert->fn = strdup(optarg); in main()
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/
Dwin_posix.h140 inline char *strdup(const char *s) in strdup() function
/device/linaro/bootloader/edk2/StdLib/LibC/String/
DCopying.c138 strdup(const char *str) in strdup() function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dreadline.c351 rl_completer_word_break_characters = strdup(break_chars); in set_completer_delims()
820 result = strdup(s); in on_completion()
863 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline()
897 strdup(" \t\n`~!@#$%^&*()-=+[{]}\\|;:'\",<>/?"); in setup_readline()
1041 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline()
/device/google/bonito/json-c/
Djson_object.c34 # define strdup _strdup macro
36 # error You do not have strdup on your system.
409 lh_table_insert(jso->o.c_object, strdup(key), val); in json_object_object_add()
649 char *new_ds = strdup(ds); in json_object_new_double_s()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
Djson_tokener.c42 # define strdup _strdup macro
44 # error You do not have strdup on your system.
241 if (tmplocale) oldlocale = strdup(tmplocale); in json_tokener_parse_ex()
785 obj_field_name = strdup(tok->pb->buf); in json_tokener_parse_ex()
/device/google/crosshatch/json-c/
Djson_object.c34 # define strdup _strdup macro
36 # error You do not have strdup on your system.
409 lh_table_insert(jso->o.c_object, strdup(key), val); in json_object_object_add()
649 char *new_ds = strdup(ds); in json_object_new_double_s()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
Djson_tokener.c42 # define strdup _strdup macro
44 # error You do not have strdup on your system.
241 if (tmplocale) oldlocale = strdup(tmplocale); in json_tokener_parse_ex()
785 obj_field_name = strdup(tok->pb->buf); in json_tokener_parse_ex()
/device/google/coral/json-c/
Djson_object.c34 # define strdup _strdup macro
36 # error You do not have strdup on your system.
409 lh_table_insert(jso->o.c_object, strdup(key), val); in json_object_object_add()
649 char *new_ds = strdup(ds); in json_object_new_double_s()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
Djson_tokener.c42 # define strdup _strdup macro
44 # error You do not have strdup on your system.
241 if (tmplocale) oldlocale = strdup(tmplocale); in json_tokener_parse_ex()
785 obj_field_name = strdup(tok->pb->buf); in json_tokener_parse_ex()
/device/google/redbull/json-c/
Djson_object.c34 # define strdup _strdup macro
36 # error You do not have strdup on your system.
409 lh_table_insert(jso->o.c_object, strdup(key), val); in json_object_object_add()
649 char *new_ds = strdup(ds); in json_object_new_double_s()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
Djson_tokener.c42 # define strdup _strdup macro
44 # error You do not have strdup on your system.
241 if (tmplocale) oldlocale = strdup(tmplocale); in json_tokener_parse_ex()
785 obj_field_name = strdup(tok->pb->buf); in json_tokener_parse_ex()
/device/google/sunfish/json-c/
Djson_object.c34 # define strdup _strdup macro
36 # error You do not have strdup on your system.
409 lh_table_insert(jso->o.c_object, strdup(key), val); in json_object_object_add()
649 char *new_ds = strdup(ds); in json_object_new_double_s()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
Djson_tokener.c42 # define strdup _strdup macro
44 # error You do not have strdup on your system.
241 if (tmplocale) oldlocale = strdup(tmplocale); in json_tokener_parse_ex()
785 obj_field_name = strdup(tok->pb->buf); in json_tokener_parse_ex()
/device/linaro/bootloader/edk2/StdLib/Include/
Dstring.h460 char *strdup (const char *);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dgrammar.c46 d->d_name = strdup(name); in adddfa()
108 lb->lb_str = strdup(str); in addlabel()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dgrammar.c46 d->d_name = strdup(name); in adddfa()
108 lb->lb_str = strdup(str); in addlabel()
/device/generic/goldfish/radio/ril/
Datchannel.c128 p_new->line = strdup(line); in addIntermediate()
223 sp_response->finalResponse = strdup(line); in handleFinalResponse()
449 line1 = strdup(line); in readerLoop()
/device/linaro/poplar/audio/
Daudio_hw.c224 return strdup(""); in out_get_parameters()
385 return strdup(""); in in_get_parameters()
512 return strdup(""); in adev_get_parameters()
/device/linaro/dragonboard/audio/
Daudio_hw.c225 return strdup(""); in out_get_parameters()
386 return strdup(""); in in_get_parameters()
513 return strdup(""); in adev_get_parameters()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_debug.c921 if ((sizestr = strdup(precsize_ntoa(sizeval))) == NULL) in loc_ntoa()
923 if ((hpstr = strdup(precsize_ntoa(hpval))) == NULL) in loc_ntoa()
925 if ((vpstr = strdup(precsize_ntoa(vpval))) == NULL) in loc_ntoa()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp109 hashmapPut(hash, strdup(region_name), region); in lock_region_for_handle()

123