Diff for /rpl/src/instructions_t2.c between versions 1.49 and 1.50

version 1.49, 2013/02/27 17:11:44 version 1.50, 2013/03/21 11:30:30
Line 44  instruction_trn(struct_processus *s_etat Line 44  instruction_trn(struct_processus *s_etat
     logical1                            argument_nom;      logical1                            argument_nom;
     logical1                            variable_partagee;      logical1                            variable_partagee;
   
     unsigned long                       i;      integer8                            i;
     unsigned long                       j;      integer8                            j;
   
     (*s_etat_processus).erreur_execution = d_ex;      (*s_etat_processus).erreur_execution = d_ex;
   
Line 178  instruction_trn(struct_processus *s_etat Line 178  instruction_trn(struct_processus *s_etat
                 .nombre_lignes;                  .nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc((*((struct_matrice *) (*s_objet_resultat).objet))                  malloc(((size_t) (*((struct_matrice *) (*s_objet_resultat)
                 .nombre_lignes * sizeof(integer8 *))) == NULL)                  .objet)).nombre_lignes) * sizeof(integer8 *))) == NULL)
         {          {
             if (variable_partagee == d_vrai)              if (variable_partagee == d_vrai)
             {              {
Line 199  instruction_trn(struct_processus *s_etat Line 199  instruction_trn(struct_processus *s_etat
                 .nombre_lignes; i++)                  .nombre_lignes; i++)
         {          {
             if ((((integer8 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((integer8 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] =                      .objet)).tableau)[i] = malloc(((size_t)
                     malloc((*((struct_matrice *) (*s_objet_resultat).objet))                      (*((struct_matrice *) (*s_objet_resultat).objet))
                     .nombre_colonnes * sizeof(integer8))) == NULL)                      .nombre_colonnes) * sizeof(integer8))) == NULL)
             {              {
                 if (variable_partagee == d_vrai)                  if (variable_partagee == d_vrai)
                 {                  {
Line 260  instruction_trn(struct_processus *s_etat Line 260  instruction_trn(struct_processus *s_etat
                 .nombre_lignes;                  .nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc((*((struct_matrice *) (*s_objet_resultat).objet))                  malloc(((size_t) (*((struct_matrice *) (*s_objet_resultat)
                 .nombre_lignes * sizeof(real8 *))) == NULL)                  .objet)).nombre_lignes) * sizeof(real8 *))) == NULL)
         {          {
             if (variable_partagee == d_vrai)              if (variable_partagee == d_vrai)
             {              {
Line 281  instruction_trn(struct_processus *s_etat Line 281  instruction_trn(struct_processus *s_etat
                 .nombre_lignes; i++)                  .nombre_lignes; i++)
         {          {
             if ((((real8 **) (*((struct_matrice *) (*s_objet_resultat)              if ((((real8 **) (*((struct_matrice *) (*s_objet_resultat)
                     .objet)).tableau)[i] =                      .objet)).tableau)[i] = malloc(((size_t)
                     malloc((*((struct_matrice *) (*s_objet_resultat).objet))                      (*((struct_matrice *) (*s_objet_resultat).objet))
                     .nombre_colonnes * sizeof(real8))) == NULL)                      .nombre_colonnes) * sizeof(real8))) == NULL)
             {              {
                 if (variable_partagee == d_vrai)                  if (variable_partagee == d_vrai)
                 {                  {
Line 342  instruction_trn(struct_processus *s_etat Line 342  instruction_trn(struct_processus *s_etat
                 .nombre_lignes;                  .nombre_lignes;
   
         if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =          if (((*((struct_matrice *) (*s_objet_resultat).objet)).tableau =
                 malloc((*((struct_matrice *) (*s_objet_resultat).objet))                  malloc(((size_t) (*((struct_matrice *) (*s_objet_resultat)
                 .nombre_lignes * sizeof(struct_complexe16 *))) == NULL)                  .objet)).nombre_lignes) * sizeof(struct_complexe16 *))) == NULL)
         {          {
             if (variable_partagee == d_vrai)              if (variable_partagee == d_vrai)
             {              {
Line 364  instruction_trn(struct_processus *s_etat Line 364  instruction_trn(struct_processus *s_etat
         {          {
             if ((((struct_complexe16 **) (*((struct_matrice *)              if ((((struct_complexe16 **) (*((struct_matrice *)
                     (*s_objet_resultat).objet)).tableau)[i] =                      (*s_objet_resultat).objet)).tableau)[i] =
                     malloc((*((struct_matrice *)                      malloc(((size_t) (*((struct_matrice *)
                     (*s_objet_resultat).objet)).nombre_colonnes *                      (*s_objet_resultat).objet)).nombre_colonnes) *
                     sizeof(struct_complexe16))) == NULL)                      sizeof(struct_complexe16))) == NULL)
             {              {
                 if (variable_partagee == d_vrai)                  if (variable_partagee == d_vrai)
Line 482  instruction_tot(struct_processus *s_etat Line 482  instruction_tot(struct_processus *s_etat
     struct_objet                        *s_objet_resultat;      struct_objet                        *s_objet_resultat;
     struct_objet                        *s_objet_temporaire;      struct_objet                        *s_objet_temporaire;
   
     unsigned long                       nombre_colonnes;      integer8                            nombre_colonnes;
   
     (*s_etat_processus).erreur_execution = d_ex;      (*s_etat_processus).erreur_execution = d_ex;
   
Line 850  instruction_time(struct_processus *s_eta Line 850  instruction_time(struct_processus *s_eta
     }      }
   
     (*((real8 *) (*(*l_element_courant).donnee).objet)) =      (*((real8 *) (*(*l_element_courant).donnee).objet)) =
             s_usage_processus_pere.ru_utime.tv_sec +              ((real8) s_usage_processus_pere.ru_utime.tv_sec) +
             (((real8) s_usage_processus_pere.ru_utime.tv_usec) /              (((real8) s_usage_processus_pere.ru_utime.tv_usec) /
             ((real8) 1E6));              ((real8) 1E6));
   
Line 875  instruction_time(struct_processus *s_eta Line 875  instruction_time(struct_processus *s_eta
     }      }
   
     (*((real8 *) (*(*l_element_courant).donnee).objet)) =      (*((real8 *) (*(*l_element_courant).donnee).objet)) =
             s_usage_processus_pere.ru_stime.tv_sec +              ((real8) s_usage_processus_pere.ru_stime.tv_sec) +
             (((real8) s_usage_processus_pere.ru_stime.tv_usec) /              (((real8) s_usage_processus_pere.ru_stime.tv_usec) /
             ((real8) 1E6));              ((real8) 1E6));
   
Line 900  instruction_time(struct_processus *s_eta Line 900  instruction_time(struct_processus *s_eta
     }      }
   
     (*((real8 *) (*(*l_element_courant).donnee).objet)) =      (*((real8 *) (*(*l_element_courant).donnee).objet)) =
             s_usage_processus_fils.ru_utime.tv_sec +              ((real8) s_usage_processus_fils.ru_utime.tv_sec) +
             (((real8) s_usage_processus_fils.ru_utime.tv_usec) /              (((real8) s_usage_processus_fils.ru_utime.tv_usec) /
             ((real8) 1E6));              ((real8) 1E6));
   
Line 925  instruction_time(struct_processus *s_eta Line 925  instruction_time(struct_processus *s_eta
     }      }
   
     (*((real8 *) (*(*l_element_courant).donnee).objet)) =      (*((real8 *) (*(*l_element_courant).donnee).objet)) =
             s_usage_processus_fils.ru_stime.tv_sec +              ((real8) s_usage_processus_fils.ru_stime.tv_sec) +
             (((real8) s_usage_processus_fils.ru_stime.tv_usec) /              (((real8) s_usage_processus_fils.ru_stime.tv_usec) /
             ((real8) 1E6));              ((real8) 1E6));
   

Removed from v.1.49  
changed lines
  Added in v.1.50


CVSweb interface <joel.bertrand@systella.fr>