From: alegrand Date: Mon, 29 May 2006 14:43:48 +0000 (+0000) Subject: retrive -> retrieve X-Git-Tag: v3.3~3041 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a3427ca7c9f8f2563bb982044e1082cc8f3cdd1e?hp=ae373ac39eaf110513492e4e401504cb8cdafccd retrive -> retrieve git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2317 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/gras/datadesc.h b/include/gras/datadesc.h index 7d9e037cd8..dac62222a1 100644 --- a/include/gras/datadesc.h +++ b/include/gras/datadesc.h @@ -46,7 +46,7 @@ SG_BEGIN_DECL() * - char (both signed and unsigned) * - int (short, regular, long and long long, both signed and unsigned) * - float and double - * - string (which is indeed a reference to a dynamically sized array of char, strlen being used to retrive the size) + * - string (which is indeed a reference to a dynamically sized array of char, strlen being used to retrieve the size) * * Example:\verbatim gras_datadesc_type_t i = gras_datadesc_by_name("int"); gras_datadesc_type_t uc = gras_datadesc_by_name("unsigned char"); @@ -141,7 +141,7 @@ void register_messages() { * you have to understand how it is implemented: the multiplication is performed using the sizes stack. In previous example, * a \ref gras_datadesc_cb_push_int callback is added to the \a rows field and a \ref gras_datadesc_cb_push_int_mult one is * added to \a cols. So, when the structure is sent, the \a rows field push its value onto the stack, then the \a cols field - * retrieve this value from the stack, compute (and push) the multiplication value. The \a matrix field can then retrive this + * retrieve this value from the stack, compute (and push) the multiplication value. The \a matrix field can then retrieve this * value by poping the array. There is several ways for this to go wrong: * - if the matrix field is placed before the sizes, the right value won't get pushed into the stack soon enough. * Reorder your structure fields if needed. diff --git a/include/gras/process.h b/include/gras/process.h index 3175ac2201..c19ee65599 100644 --- a/include/gras/process.h +++ b/include/gras/process.h @@ -45,7 +45,7 @@ void gras_process_exit(void); * * Use the \ref gras_userdata_new macro to create a new user data (or malloc it * and use \ref gras_userdata_set yourself), and \ref gras_userdata_get to - * retrive a reference to it. + * retrieve a reference to it. */ /* @{ */ diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index d3b131c189..9ced1eef4d 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -105,7 +105,7 @@ SG_BEGIN_DECL() /** @defgroup XBT_dynar_ctn Direct manipulation to the dynars content * @ingroup XBT_dynar * - * Those functions do not retrive the content, but only their address. + * Those functions do not retrieve the content, but only their address. * * @{ */ @@ -119,7 +119,7 @@ SG_BEGIN_DECL() /** @defgroup XBT_dynar_speed Speed optimized access to dynars of scalars * @ingroup XBT_dynar * - * While the other functions use a memcpy to retrive the content into the + * While the other functions use a memcpy to retrieve the content into the * user provided area, those ones use a regular affectation. It only works * for scalar values, but should be a little faster. * diff --git a/src/gras/Msg/msg.c b/src/gras/Msg/msg.c index 037717b241..d862f0e00b 100644 --- a/src/gras/Msg/msg.c +++ b/src/gras/Msg/msg.c @@ -214,12 +214,12 @@ gras_msgtype_declare_v(const char *name, e_gras_msg_kind_oneway, payload, NULL); } -/** @brief retrive an existing message type from its name. */ +/** @brief retrieve an existing message type from its name. */ gras_msgtype_t gras_msgtype_by_name (const char *name) { return gras_msgtype_by_namev(name,0); } -/** @brief retrive an existing message type from its name and version. */ +/** @brief retrieve an existing message type from its name and version. */ gras_msgtype_t gras_msgtype_by_namev(const char *name, short int version) { gras_msgtype_t res = NULL; @@ -237,7 +237,7 @@ gras_msgtype_t gras_msgtype_by_namev(const char *name, return res; } -/** @brief retrive an existing message type from its name and version. */ +/** @brief retrieve an existing message type from its name and version. */ gras_msgtype_t gras_msgtype_by_id(int id) { return (gras_msgtype_t)xbt_set_get_by_id(_gras_msgtype_set, id); } diff --git a/src/gras/Virtu/process.c b/src/gras/Virtu/process.c index 1e69da5396..b434afe02c 100644 --- a/src/gras/Virtu/process.c +++ b/src/gras/Virtu/process.c @@ -79,7 +79,7 @@ void *gras_libdata_by_name(const char *name) { TRY { res = xbt_set_get_by_name(pd->libdata, name); } CATCH(e) { - RETHROW1("Cannot retrive the libdata associated to %s: %s",name); + RETHROW1("Cannot retrieve the libdata associated to %s: %s",name); } return res; } diff --git a/src/xbt/cunit.c b/src/xbt/cunit.c index 6c148ad99e..61bb023a5f 100644 --- a/src/xbt/cunit.c +++ b/src/xbt/cunit.c @@ -148,7 +148,7 @@ xbt_test_suite_t xbt_test_suite_new(const char *name, const char *fmt, ...) { return suite; } -/** @brief retrive a testsuite from name, or create a new one */ +/** @brief retrieve a testsuite from name, or create a new one */ xbt_test_suite_t xbt_test_suite_by_name(const char *name,const char *fmt, ...) { xbt_test_suite_t suite; int it_suite; diff --git a/src/xbt/dict.c b/src/xbt/dict.c index a673500b3b..b1bb6ea5aa 100644 --- a/src/xbt/dict.c +++ b/src/xbt/dict.c @@ -301,7 +301,7 @@ xbt_dict_t head=NULL; char *data; -XBT_TEST_UNIT("basic",test_dict_basic,"Basic usage: change, retrive, traverse"){ +XBT_TEST_UNIT("basic",test_dict_basic,"Basic usage: change, retrieve, traverse"){ xbt_test_add0("Traversal the empty dictionnary"); traverse(head); @@ -333,7 +333,7 @@ XBT_TEST_UNIT("basic",test_dict_basic,"Basic usage: change, retrive, traverse"){ xbt_test_add0("Traverse the resulting dictionnary"); traverse(head); - /* RETRIVE */ + /* RETRIEVE */ xbt_test_add0("Search 123"); data = xbt_dict_get(head,"123"); xbt_test_assert(data); diff --git a/src/xbt/dynar.c b/src/xbt/dynar.c index 50be1b56dd..b964885adb 100644 --- a/src/xbt/dynar.c +++ b/src/xbt/dynar.c @@ -218,7 +218,7 @@ xbt_dynar_length(const xbt_dynar_t dynar) { /** @brief Retrieve a copy of the Nth element of a dynar. * * \param dynar information dealer - * \param idx index of the slot we want to retrive + * \param idx index of the slot we want to retrieve * \param[out] dst where to put the result to. */ void